News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Using GNU ARM

Started by colinmac, January 04, 2007, 06:10:32 PM

Previous topic - Next topic

colinmac

A quick question:  I'm using SVN 3369, Dec 12, and my project uses the GNU ARM GCC compiler.  Everything works fine, which is the good news, but I'd like to specify -mcpu=arm7 as a compiler option.  I'm doing this under 'Other options', but I think it would be nicer to tick the -mcpu=NAME option and specify NAME as arm7.  Is this implemented yet?  If so, how do I get something other than the literal '-mcpu=NAME' in the compiler command line?

Thanks,
Colin MacDonald

mandrav

Use as option "-mcpu=$(CPU_NAME)" and add a custom variable named "CPU_NAME" with value "arm7" (or whatever).
Be patient!
This bug will be fixed soon...

colinmac

Unless I'm missing something that's under 'Other options', which is what I'm already using.  But if there's an option I can tick marked '-mcpu=NAME' then I'd expect that the NAME part is configurable somehow; at the moment I just get -mcpu=NAME in the GCC command line.