linking error in libgcc.a

Apr 19, 2010 1 Replies

Hi I am using Sourcery G++ Lite 4.4.1 version with Codeblock IDE. In my example program i used sprintf but the compiler is giving error like


arm-none-eabi-ld.exe: DISCARD has both ordered [`.ARM.exidx' in D:\CodeSourcery\Sourcery G++ Lite\lib\gcc\arm-none-eabi\4.4.1\libgcc.a(_divdi3.o)] and unordered [`.ARM.extab' in D:\CodeSourcery\Sourcery G++ Lite\lib\gcc\arm-none-eabi\4.4.1\libgcc.a(_divdi3.o)] sections



GNU ld (Sourcery G++ Lite 2009q3-68) 2.19.51.20090709 arm-none-eabi-ld.exe: final link failed: Bad value



Regards, Shweta


--------------------------------------- Posted through

formatting link


my

Try posting your question here:

RK

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required