Skip to main content
ezanen9
Associate III
Aug 26, 2005 3:19 AM UTC
Question

GNU compiler

Posted on August 26, 2005 at 05:19

GNU compiler

This topic has been closed for replies.

22 replies

ezanen9
ezanen9Author
Associate III
Aug 26, 2005 2:56 AM UTC
Posted on August 26, 2005 at 04:56

It is finally working!!!!!!!! It was a compiler option I changed. The default option was: -c -gdwarf-2 -MD -mapcs-frame -O0 -mcpu=arm7tdmi -w -mthumb-interwork

I changed it into: -mcpu=arm7tdmi -c -gdwarf-2 -MD -Wall -O -mthumb-interwork -mapcs-frame(still don't know what it means)

This option I got from a project that was deliverd with Hitop5. I one by one changed all the linker and compiler options between the working and not working project.

Thanks again for all the help I become.

Without it I was still thinking that the error was in the compiler instead of wrong option in the IDE.

Regards,

Jim

ben2
Associate III
Aug 26, 2005 3:19 AM UTC
Posted on August 26, 2005 at 05:19

Glad to hear you have it working.

for an explanation on -mapcs-frame you could try reading this.

http://www.heyrick.co.uk/assembler/apcsintro.html