GCC Does Not Look At libc.a for PowerPC-EABI
Matthew Majka
mmajka@cs5.dasd.honeywell.com
Fri Aug 13 07:34:00 GMT 1999
Roger Racine wrote:
>
> 1) Because I am using a tool that automatically calls gcc. I have not yet
> figured out how (if it is possible) to pass the '-lc' to the linker at the
> right place using this tool (it seems to pass linker parameters at the
> front of the command, not at the end. '-lc' needs to be at the end.
> 2) Because it should work without it. That is what the configuration files
> are for.
> 3) Because others will be using the cross development system, and I do not
> want to make them have to add '-lc' to all their links.
Since you put it that way, look in
/usr/local/cygnus/ecosSWtools-990319/H-i686-pc-linux-gnu/lib/gcc-lib/powerpc-eabi/2.9-ecosSWtools-990319/specs
(<prefix>/lib/gcc-lib/<target>/<version>/specs) and add '-lc' to the end of the
'*link:' line.
--
__________________________________________
Matthew Majka - Systems/Software Engineer
Honeywell, Inc. (Defense Avionics Systems)
Albuquerque, New Mexico, USA
------
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