mips-elf with newlib
Mon Oct 30 22:55:00 GMT 2006
Michael N. Moran said the following on 10/30/2006 02:10 PM:
> Kai Ruottu wrote:
>> Michael N. Moran kirjoitti:
>>> Other than some issues with makeinfo, I had no problem building and
>>> installing binutils-18.104.22.168.7:
>>> # mips-elf-ld -V GNU ld version 22.214.171.124.7 20060317 Supported
>>> emulations: elf32ebmip
>>> However, building GCC 4.1.1 gave me the same error:
>>> mips-elf-ranlib ./libgcc.a mips-elf-ranlib: ./libgcc.a: Malformed
>> Really odd... My build GCC for the binutils, GCC etc. Linux/x86
>> stuff has been for a while a self-built (cross) gcc-3.2.3 for the Red
>> Hat 7.3 target, although running it now on a Pentium-III with SuSE
>> 10.1/i586 distro. So the "compiling GCC" should be quite near yours
>> But tools like 'bison', 'flex' etc. on the $build system could have
>> their influence.... I have attached the big-endian-hard-float
>> 'libgcc.a' I just got so you could compare yours with it, for
>> instance see what your 'ranlib' could say about it....
> # /tools/gnu/gcc/4.1.1/mips-elf/bin/mips-elf-ranlib libgcc.a
> /tools/gnu/gcc/4.1.1/mips-elf/bin/mips-elf-ranlib: libgcc.a: Malformed
> That makes it look suspiciously like my binutils build may have
> a problem.
> Indeed, I just tried your libgcc.a using the mips-elf-ranlib
> produced on my Fedora Core 2 machine with an identical configure
> script and binutils version (126.96.36.199.7), and the ranlib worked
> find (no Malformed archive).
> GCC 4.1.1 is still building on that (rather slow) machine. I'll
> post the results tomorrow, but I'm guessing the results will
> be different. Hmmm.
>> Your build system sounds being something like the 'Red Hat Linux 9'
>> and if so, it expected to be stable and working.
> It *is* RH9, modulo some manual package "upgrades" over the
> past 5 years.
have you looked at my previous post in this thread.
MontaVista Software Inc.
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc