This is the mail archive of the crossgcc@sourceware.org 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] |
dear all: I attach my error at the end of letter. I did see libc.a in sysroot/usr/lib, but my ld complains he cannot find it. I also check the options I set in ld.pdf but it seems all fine. did I miss something while build the toolchain? appreciate your help, miloody mipsel-unknown-linux-uclibc-ld -T ./link.xn -o TestCode.elf -Map TestCode.map --oformat elf32-tradlittlemips reset.o cpufunc.o host.o Interrupt.o main.o memtst.o ntsys.o diskio.o FileSystem.o tff.o misc.o DMA.o GPIO.o SDMMC.o Storage.o ntuart.o uart.o -static -lc mipsel-unknown-linux-uclibc-ld: cannot find -lc make: *** [TestCode.elf] Error 1 # mipsel-unknown-linux-uclibc-gcc -v Using built-in specs. Target: mipsel-unknown-linux-uclibc Configured with: /root/toolchain/targets/src/gcc-4.1.2/configure --build=i486-build_pc-linux-gnu --host=i486-build_pc-linux-gnu --target=mipsel-unknown-linux-uclibc --prefix=/root/x-tools/mipsel-unknown-linux-uclibc --with-sysroot=/root/x-tools/mipsel-unknown-linux-uclibc/mipsel-unknown-linux-uclibc//sys-root --enable-languages=c --disable-multilib --with-float=soft --enable-__cxa_atexit --with-local-prefix=/root/x-tools/mipsel-unknown-linux-uclibc/mipsel-unknown-linux-uclibc//sys-root --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99 --enable-long-long --enable-target-optspace Thread model: posix gcc version 4.1.2 # ls /root/x-tools/mipsel-unknown-linux-uclibc/mipsel-unknown-linux-uclibc/sys-root/usr/lib/ crt1.o libcurses.so libmenu.a libncurses.so.5 libpthread.a libthread_db_pic.a crti.o libdl.a libmenu_g.a libncurses.so.5.6 libpthread_pic.a libthread_db.so crtn.o libdl_pic.a libmenu.so libnsl.a libpthread.so libutil.a libc.a libdl.so libmenu.so.5 libnsl_pic.a libresolv.a libutil_pic.a libc_pic.a libform.a libmenu.so.5.6 libnsl.so libresolv_pic.a libutil.so libcrypt.a libform_g.a libm_pic.a libpanel.a libresolv.so Scrt1.o libcrypt_pic.a libform.so libm.so libpanel_g.a librt.a terminfo/ libcrypt.so libform.so.5 libncurses.a libpanel.so librt_pic.a uclibc_nonshared.a libc.so libform.so.5.6 libncurses_g.a libpanel.so.5 librt.so libcurses.a libm.a libncurses.so libpanel.so.5.6 libthread_db.a -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |