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] |
You should compile the newlib. 3. <build newlib> cd newlib-1.9.0 configure --target=YOUR_TARGET --prefix=$prefix make all install ----- Original Message ----- From: Tian Ling To: crossgcc@sourceware.cygnus.com Sent: Saturday, February 24, 2001 11:17 AM Subject: crossgcc: ld error msg Hi, I was trying to build crossgcc on my linux host. Things look fine but in the end I got this error msg: # MY_TARGET-gcc foo.c /usr/local/MY_TARGET/bin/ld: cannot open crt0.o: No such file or directory collect2: ld return 1 exit status I followed following steps to build crossgcc: 0. prefix=/usr/local 1. <build binutils> cd binutils-2.9.1 configure --target=MY_TARGET --prefix=$prefix make all install 2. <build gcc> cd gcc-2.95.1 ln -s <path-to-newlib>/newlib-1.8.1/newlib newlib configure --target=MY_TARGET --with-newlib --with-headers=<path_to_newlib>/newlib/libc/include make cross LANGUAGES="c c++" install Based on the error message, what could be wrong? I did a find and found there are two crt0.o in my system, under /usr/lib/bcc/i386/ and /usr/lib/bcc/i86/ Thanks a lot for your time and help. Tian Ling ------ 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] |