Intro  Base  More  Read  Use  Last 30  60  90  All Articles  RSS


Intro

Base

More

Read

Use

Last:
30


60

90

All
Days

Base: gcc-3.4.5   Print


Base Nav: first previous next last All Tab 2 spacerspacer
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
.
.
.
  /bin/sh ../../../gcc-3.4.5/libiberty/../mkinstalldirs
${thd}; \
  for h in
../../../gcc-3.4.5/libiberty/../include/ansidecl.h
../../../gcc-3.4.5/libiberty/../include/demangle.h
../../../gcc-3.4.5/libiberty/../include/dyn-string.h
../../../gcc-3.4.5/libiberty/../include/fibheap.h
../../../gcc-3.4.5/libiberty/../include/floatformat.h
../../../gcc-3.4.5/libiberty/../include/hashtab.h
../../../gcc-3.4.5/libiberty/../include/libiberty.h
../../../gcc-3.4.5/libiberty/../include/objalloc.h
../../../gcc-3.4.5/libiberty/../include/partition.h
../../../gcc-3.4.5/libiberty/../include/safe-ctype.h
../../../gcc-3.4.5/libiberty/../include/sort.h
../../../gcc-3.4.5/libiberty/../include/splay-tree.h
../../../gcc-3.4.5/libiberty/../include/ternary.h; do \
    /bin/install -c -m 644 $h ${thd}; \
  done; \
fi
make[2]: Entering directory
`/sources/gcc-build/i686-pc-linux-gnu/libiberty'
if [ -z """" ]; then \
  true; \
else \
  rootpre=`${PWDCMD-pwd}`/; export rootpre; \
  srcrootpre=`cd ../../../gcc-3.4.5/libiberty;
${PWDCMD-pwd}`/; export srcrootpre; \
  lib=`echo ${rootpre} | sed -e
's,^.*/\([^/][^/]*\)/$,\1,'`; \
  compiler=""/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""; \
  for i in `${compiler} --print-multi-lib 2>/dev/null`; do
\
    dir=`echo $i | sed -e 's/;.*$//'`; \
    if [ ""${dir}"" = ""."" ]; then \
      true; \
    else \
      if [ -d ../${dir}/${lib} ]; then \
	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'


~~~
Please read our Terms of Use and our Privacy Policy
A tip o' the hat to the folks at Linux From Scratch, who provided a lot of the know-how and framing for the NoNIC OS.

Copyright 2006-2009 NoNIC.org

Created by:
MCJ
MCJ CMS