[I386-uclibc-devel] building toolchain for i386-uclibc - binutils

Daniel Ruoso daniel at ruoso.com
Thu Oct 6 10:03:21 UTC 2005


Hi James,

I don't know if you heard, but I'm starting a new architecture,
i386-uclibc with gnu type i386-pc-linux-uclibc. As uclibc-toolchain is
buggy and incomplete, I'm starting to build my own toolchain. But...

When trying to configure binutils with --target=i386-pc-linux-uclibc I'm
having some problems... Exactly because I'm starting a new arch.

First i got:
*** BFD does not support target i386-pc-linux-uclibc.
*** Look in bfd/config.bfd for supported targets.

patching config.bfd (below) solves this problem...
<PATCH>
--- binutils-2.15/bfd/config.bfd~       2004-05-17 19:35:56.000000000
+0000
+++ binutils-2.15/bfd/config.bfd        2005-10-06 09:07:29.221439464
+0000
@@ -517,7 +517,7 @@
     targ_defvec=i386lynx_coff_vec
     targ_selvecs=i386lynx_aout_vec
     ;;
-  i[3-7]86-*-gnu*)
+  i[3-7]86-*-gnu* | i[3-7]86-*-uclibc*)
     targ_defvec=bfd_elf32_i386_vec
     ;;
   i[3-7]86-*-mach* | i[3-7]86-*-osf1mk*)
</PATCH>

and then I got:
GAS does not know what format to use for target i386-pc-linux-
uclibc

But now I don't have a clue of where to fix it... 

Can you help me?

daniel




More information about the I386-uclibc-devel mailing list