This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: linking problem - cannot find libraries even though searchpath se ems OK!


"Larsen, Morten ActeNO" wrote:
> 
> I recently downloaded the GNU ARM-ELF toolsuite from http://www.ocdemon.com
> for Win32 platforms (w. Cygwin). Making the demo program was no problem,
> and all tools seem to function properly (Insight debugger too!)
> 
> But, trying to use libraries doesn't work!
> Here's the link step command line:
> ----------------------------------------------------------------------------------------------------
> /usr/local/bin/arm-elf-ld -L/usr/local/arm-elf/lib -Ttext 0x2018000 -e 0x2018000 -g -v  -o ANGEL_OBJ
> /pio_test.bin  ANGEL_OBJ/in_main.o ANGEL_OBJ/asm_path.o32 ANGEL_OBJ/in_eb40.o32 ANGEL_OBJ/in_reset.o
> 32  ANGEL_OBJ/pio_test.o  -llib32 -langel -llibc -llibgcc
> GNU ld version 2.10 (with BFD 2.10)
> /usr/local/bin/arm-elf-ld: cannot find -llib32
> make[1]: *** [pio_test] Error 1
> make[1]: Leaving directory `/usr/local/arm-elf/Examples/pio_test'
> make: *** [all] Error 2
> ----------------------------------------------------------------------------------------------------

 I remember downloading the same toolchain and it totally missing all the C-libraries...
 
> Obviously, the linker doesn't find the .lib/.a files necessary,
> but I have even tried to put these in the same directory at no avail.
> And, from running GCC with the "--print-search-dirs" option,
> it looks as if the path to the library  (="/usr/local/bin/arm-elf-ld")
> indeed IS included in the default searchpath!

 But are there any libs?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]