PrintLogo

Base: gcc-3.4.5




Source code is available here.

Run these commands:

cd /sources/ &&
rm -rf /sources/gcc-3.4.5 && 
rm -rf /sources/gcc-build &&
tar -xjf gcc-3.4.5.tar.bz2 &&
cd gcc-3.4.5 && 
mkdir ../gcc-build && 
cd ../gcc-build && 
CC="gcc -B/usr/bin/" ../gcc-3.4.5/configure --prefix=/usr \
  --with-local-prefix=/usr --disable-nls --enable-shared \
  --enable-languages=c,c++ && 
make &&
make install &&
rm -rf /sources/gcc-3.4.5 && 
rm -rf /sources/gcc-build 

The output should look something like this:

creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
*** This configuration is not supported in the following subdirectories:
     target-libf2c target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar target-libobjc
    (Any other directories should still work fine.)
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... /usr/bin/ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
checking for i686-pc-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for i686-pc-linux-gnu-objdump... no
checking for objdump... objdump
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
checking whether to enable maintainer-specific portions of Makefiles... no
updating cache ./config.cache
creating ./config.status
creating Makefile
Configuring in intl
creating cache ./config.cache
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking how to run the C preprocessor... gcc -B/usr/bin/ -E
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for shared library run path origin... done
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /bin/install -c
checking whether NLS is requested... no
checking for gcc... gcc -B/usr/bin/
checking whether the C compiler (gcc -B/usr/bin/ -g -O2 ) works... yes
checking whether the C compiler (gcc -B/usr/bin/ -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc -B/usr/bin/ accepts -g... yes
checking host system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for strerror in -lcposix... no
checking for ANSI C header files... yes
checking for working const... yes
checking for inline... inline
.
.
.
	flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
	if (cd ../${dir}/${lib}; make "AR=ar" "AR_FLAGS=rc" "CC=/sources/gcc-build/gcc/xgcc -B/sources/gcc-build/
gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/
i686-pc-linux-gnu/sys-include" "CFLAGS=-O2 -g -O2" "DESTDIR=" "LIBCFLAGS=-O2 -g -O2" "EXTRA_OFILES="
 "HDEFINES=" "INSTALL=/bin/install -c" "INSTALL_DATA=/bin/install -c -m 644" "INSTALL_PROGRAM=/bin/install -c"
 "LDFLAGS=" "LOADLIBES=" "RANLIB=ranlib" "SHELL=/bin/sh" "prefix=/usr" "exec_prefix=/usr" "libdir=/usr/lib"
 "libsubdir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.5" "tooldir=/usr/i686-pc-linux-gnu" \

			CFLAGS="-O2 -g -O2 ${flags}" \
			prefix="/usr" \
			exec_prefix="/usr" \
			GCJFLAGS=" ${flags}" \
			CXXFLAGS="-g -O2 -D_GNU_SOURCE ${flags}" \
			LIBCFLAGS="-O2 -g -O2 ${flags}" \
			LIBCXXFLAGS="-g -O2 -D_GNU_SOURCE -fno-implicit-templates ${flags}" \
			LDFLAGS=" ${flags}" \
			MULTIFLAGS="${flags}" \
			DESTDIR="" \
			INSTALL="/bin/install -c" \
			INSTALL_DATA="/bin/install -c -m 644" \
			INSTALL_PROGRAM="/bin/install -c" \
			INSTALL_SCRIPT="/bin/install -c" \
			install); then \
	  true; \
	else \
	  exit 1; \
	fi; \
      else true; \
      fi; \
    fi; \
  done; \
fi
make[2]: Leaving directory `/sources/gcc-build/i686-pc-linux-gnu/libiberty'
make[2]: Entering directory `/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/sources/gcc-build/i686-pc-linux-gnu/libiberty/testsuite'
make[1]: Leaving directory `/sources/gcc-build/i686-pc-linux-gnu/libiberty'







This article comes from NoNIC:
http://nonic.org/

The URL for this story is:
http://nonic.org/art2.html



Copyright 2006-2008 NoNIC.org. Read our Terms of Use.