ld needing libgcc

Philip Blundell Philip.Blundell@pobox.com
Sun Aug 22 05:47:00 GMT 1999


>When I compile and link I need to append -lgcc to the command,
>as well as adding the folling link:
>> cd ${prefix}/arm-elf/arm-elf/lib; ln -s ../../lib/gcc-lib/arm-elf/2.95/libgc
>c.a  .
>
>in order for the program to link, else it can't find _gccmain().
>Is this correct, or have I missed some step in the build/install?

What is the exact command you use for linking?

p.



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list