GCC Does Not Look At libc.a for PowerPC-EABI
Matthew Majka
mmajka@cs5.dasd.honeywell.com
Fri Aug 13 06:46:00 GMT 1999
Roger Racine wrote:
>
>
> The linker gives me the following message:
>
> ---
> $/usr/local/cygnus/ecosSWtools-990319/H-i686-pc-linux-gnu/bin/powerpc-eabi-g
> cc test_ppc.c
> /usr/local/cygnus/ecosSWtools-990319/H-i686-pc-linux-gnu/lib/gcc-lib/powerpc
> -eabi/2.9-ecosSWtools-990319/../../../../powerpc-eabi/bin/ld: warning:
> cannot find entry symbol _start; defaulting to 01800074
> /tmp/cca166161.o: In function `main':
> /tmp/cca166161.o(.text+0x28): undefined reference to `strlen'
> collect2: ld returned 1 exit status
> ---
>
> Is there an easy way to fix this, or do I need to create a completely new
> configuration (modifying "configure" and creating a new ".h" file in
> config/rs6000) for this type of system? Thanks.
Why not simply include '-lc' in your link?
--
__________________________________________
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