Re: [Anjuta-list] Adding an assembler project template



Thank you Sébastien.

I have followed your second suggestion and used the Anjuta build menu
option. I have successfully created a nasm assembler project makefile
template that works fine. 


Sébastien Granjoux wrote:
> 
> Hi,
> 
> dell_boy a écrit :
>> I have successfully set up a NASM project template to load  a basic
>> 'hello.world' nasm source file, however, I can't get the source code to
>> compile. Anjuta tells me there is no compile rule defined for this file
>> type. This is probably due to incorrect parameters in the makefile.am.tpl
>> file.
> 
> In order to do the compilation, Anjuta needs the name of the objects 
> file, or more exactly its extension. This is hardcoded inside Anjuta. 
> it's not working with assembler file. It's quite easy to add but you 
> will need to use the version from svn.
> 
> Else, you can use the build menu item. This will run only make in the 
> source directory. Anjuta doesn't need to make any guess here so if you 
> have a valid makefile it will work.
> 
>> Q1. Is it possible/feasible to set up Anjuta to run NASM projects?
> 
> Yes,
> 
>> Q2. If the answer to Q1 is yes.......how is this achieved? 
> 
> I think that autotools provide no support for NASM. so you could use 
> simple Makefile. It should be a bit easier to set up.
> 
> You have to write a file name Makefile in your source directory and 
> write in it all necessary rules to use nasm. Anjuta support for custom 
> makefile project is very limited, so you will have to modify it with the 
> text editor.
> 
> Regards,
> 
> Sébastien
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Anjuta-list mailing list
> Anjuta-list lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/anjuta-list
> 
> 

-- 
View this message in context: http://www.nabble.com/Adding-an-assembler-project-template-tp20637721p20666451.html
Sent from the Anjuta - Users mailing list archive at Nabble.com.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]