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] |
Zhang Shengqi wrote: > I tried to build a mips-linux toolchain on Fedora Core 3 Linux as the following: > > 1. Build binuitls-2.15: > > ../binutils-2.15/configure --target=mips-linux --prefix=/home/szhang/mips-linux-tools/ > ./make > ./make install > > 2. Build glibc-2.3.4 > ../glibc-2.3.4/configure --host=mips-linux --build=i686-linux --with-tls --enable-add-ons --prefix=/home/szhang/mips-linux-tools > ./make > ./make install > > 3. Build gcc-3.4.2 > ../gcc-3.4.2/configure --target=mips-linux --host=i686-linux --prefix=/home/szhang/mips-linux-tools --enable-languages=c --with-headers=/home/szhang/mips-linux-tools/include --disable-shared > > I try to use the toolchain to build a project after it is built and installed. But I met the following error: > > "mips-linux-ld: target elf32-bigmips not found" Did you try a google search for that error message? It was reported once before in another context: http://www.spinics.net/lists/mips/msg12958.html which makes me believe that at some point around 2002, binutils renamed the target elf-32bigmips to tradbigmips. So have a look at your project's build log, see what options the linker was invoked with, and see if you can find where the elf32-bigmips came from. You might also downgrade your binutils or update the source for the project in question. Here's an example of how the linux kernel made the switch: http://www.funet.lkams.kernel.org/pub/linux/kernel/v2.4/patch-html/patch-2.4.22/linux-2.4.22_arch_mips_baget_ld.script.balo.html Also, how did you build glibc-2.3.4 without a crosscompiler? Something seems funny there. You must have had one there already... - Dan -- Trying to get a job as a c++ developer? See http://kegel.com/academy/getting-hired.html ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |