Compiling GCC 4.4.1 for a new "linux distro"

Pieter De Wit pieter@insync.za.net
Sun Sep 13 07:13:00 GMT 2009


Hi Guys,

I am trying to create my own "little" linux distro. I am going to use this 
in a project that I am working on. I am however hitting a bit of a brick 
wall compiling GCC. My idea is to build a chroot and then from there build 
the rest of the apps inside that. I am using Ubuntu 9.04 as my build host. I 
have built binutils,gmp,mpfr and made them install their bin's into my 
chroot directory. I am using the lfs book as a guide. Here is my configure 
flags:

configure --bindir=/bin --sbindir=/sbin --libexecdir=/usr/libexec --datadir=/usr/share 
 --sysconfdir=/etc --localstatedir=/var --libdir=/lib --includedir=/usr/include 
 --infodir=/usr/share/info --mandir=/usr/share/man --target=x86_64-pg-linux-gnu 
 --prefix=/home/pieter/projectgate/root_fs/64bit --disable-nls --disable-shared 
 --disable-multilib --disable-decimal-float --disable-threads --disable-libmudflap 
 --disable-libssp --disable-libgomp --enable-languages=c --with-gmp-include=/home/pieter/projectgate/root_fs/64bit/usr/include 
 --with-gmp-lib=/home/pieter/projectgate/root_fs/64bit/lib --with-mpfr-include=/home/pieter/projectgate/root_fs/64bit/usr/include 
 --with-mpfr-lib=/home/pieter/projectgate/root_fs/64bit/lib --enable-bootstrap

Attached is the config.log of libgcc which fails the compile.

Any help would be nice and even pointers for doing what I would like to do.

Thanks,

Pieter 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 12063 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20090913/0c9f1794/attachment.obj>


More information about the Gcc-help mailing list