public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Building/installing gcc-4.4.1, pb with headers/libraries
@ 2009-08-04 18:43 Etienne Lorrain
  0 siblings, 0 replies; only message in thread
From: Etienne Lorrain @ 2009-08-04 18:43 UTC (permalink / raw)
  To: gcc


 Hello,

 I am trying to rebuild gcc, for my target (ia32/amd64 bootloader) I will
not use any library whatsoever, target is ia32.

 If I do:
rm -f -r ../toolchain
mkdir ../toolchain ../toolchain/source ../toolchain/build
tar --directory ../toolchain -xjf ../binutils-2.19.1.tar.bz2
mv ../toolchain/binutils-2.19.1 ../toolchain/source/binutils
tar --directory ../toolchain -xjf ../gmp-4.3.1.tar.bz2
mv ../toolchain/gmp-4.3.1 ../toolchain/source/gmp
tar --directory ../toolchain -xzf ../mpfr-2.4.1.tar.gz
mv ../toolchain/mpfr-2.4.1 ../toolchain/source/mpfr
tar --directory ../toolchain -xjf ../ppl-0.10.2.tar.bz2
mv ../toolchain/ppl-0.10.2 ../toolchain/source/ppl
tar --directory ../toolchain -xzf ../cloog-ppl-0.15.3.tar.gz
#mv ../toolchain/cloog-ppl-0.15.3 ../toolchain/source/cloog-ppl
mv ../toolchain/cloog-ppl ../toolchain/source/cloog-ppl
tar --directory ../toolchain -xjf ../gcc-4.4.1.tar.bz2
mv -f ../toolchain/gcc-4.4.1/* ../toolchain/source
rmdir ../toolchain/gcc-4.4.1
( cd ../toolchain/build ; \
	../source/configure --prefix=/home/etienne/projet/toolchain --without-headers --without-libs --enable-languages=c --disable-multilib --disable-threads --disable-nls --disable-shared --enable-tls ; \
	make bootstrap ; make install )

the install ends up with:

make[6]: Entering directory `/home/etienne/projet/toolchain/build/binutils/libiberty/testsuite'
make[6]: Nothing to be done for `install'.
make[6]: Leaving directory `/home/etienne/projet/toolchain/build/binutils/libiberty/testsuite'
make[5]: Leaving directory `/home/etienne/projet/toolchain/build/binutils/libiberty'
make[4]: Nothing to be done for `install-target'.
make[4]: Leaving directory `/home/etienne/projet/toolchain/build/binutils'
make[3]: Leaving directory `/home/etienne/projet/toolchain/build/binutils'
/bin/sh: line 3: cd: ./fixincludes: No such file or directory
make[2]: *** [install-fixincludes] Error 1
make[2]: Leaving directory `/home/etienne/projet/toolchain/build'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/etienne/projet/toolchain/build'
make: *** [newtoolchain] Error 2

 I tried simpler configure commands like:
../source/configure --prefix=$(P_PWD)/toolchain --enable-languages=c --disable-multilib --disable-threads --enable-tls
 but got exactly the same error message.

 Is there something obviously wrong here, or something to disable
fixinclude treatments? This is on a simple Debian v5 ia32 PC.
 If I try to compile/install binutils, then gmp, then mfpr, then
gcc I get a working compiler, but it seems that it is not the
"right way" to do it.

 Thanks for any pointers,
 Etienne.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-04 16:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-04 18:43 Building/installing gcc-4.4.1, pb with headers/libraries Etienne Lorrain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).