On Fri, Feb 10, 2006 at 11:01:10AM +0800, Eric Fisher wrote: > Hi, > I will be appreciated for anyone tell me how to create libgcc_eh.a for > mips-elf-gcc. > I used this configuration, but failed > ../gcc-3.4.4/configure --target=mips-elf --enable-languages=c --enable-shared > Yet libgcc_eh.a can be created for local i686 gcc, when use this, > ../gcc-3.4.4/configure --enable-languages=c --enable-shared > Actually, I ask this question, because glibc requires libgcc_eh.a > during compilation.
You may want to take a look at crosstool, which knows a lot about how to build glibc. For one thing, you can't do it with a mips-elf targeted compiler; glibc builds for mips-linux, not for mips-elf. -- Daniel Jacobowitz CodeSourcery