Hi Andrew,
I saw that but I can't find where/how to change it. Everything under
root_fs/64bit and temp_build is ran as the current user as well as created
by the current user :(
I even build "off the source" directory as suggested ?
I am going to try a temp_build/source and temp_build/build option now.
Thanks,
Pieter
----- Original Message -----
From: "Andrew Haley" <aph@xxxxxxxxxx>
To: "Pieter De Wit" <pieter@xxxxxxxxxxxxx>
Cc: <gcc-help@xxxxxxxxxxx>
Sent: Monday, September 14, 2009 01:07
Subject: Re: Compiling GCC 4.4.1 for a new "linux distro"
Pieter De Wit wrote:
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.
The "exec: permission denied" error is a clue.
Andrew.