Permalink
Browse files

MoSync-gcc 3.4.6: initial commit.

git-svn-id: svn://localhost/public/gcc/trunk@12 6ad7a17e-d552-4a1e-ace4-f958fe14b117
  • Loading branch information...
1 parent f8b2092 commit 3c8eaff6d65f486574723866055602c5dd54309d fredrik committed Sep 29, 2009
Showing 4,020 changed files with 2,678,054 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
@@ -0,0 +1,33 @@
+1. Create a directory inside gcc3
+2. Move into that directory.
+3. type:
+
+../configure --prefix=/usr/mapip --target=mapip --with-system-zlib
+
+4. Build the compilers with:
+make -k
+
+5. Once finished the compilers will be in ggc3/<YourBuildDir>/gcc/
+
+Notes
+-----
+
+To remake the compiler from scratch type:
+
+make clean
+make
+
+When modifying the compiler, remember to delete, all mapip*.o objects,
+then just use make agian, its worth noting that gcc can be built inside
+gcc3/<YourBuildDir>/gcc/ or in gcc3/<YourBuildDir>.
+
+Reconfiguring
+-------------
+
+If you need to reconfigure the compiler you must always:
+
+make distclean
+
+before invoking the new configure.
+
+
View
@@ -0,0 +1,4 @@
+configure.sh
+
+make all-gcc | tee make-gcc.log 2>&1
+make -k install-gcc | tee install-gcc.log 2>&1
View
@@ -0,0 +1,54 @@
+#!/bin/sh
+
+#---------------------------------------------------------------------------------
+# Source and Install directories
+#---------------------------------------------------------------------------------
+
+SRCDIR=$PWD/gcc-3.4.6 # the sourcecode dir for gcc
+ # This must be specified in the format shown here
+ # as one of the tools built during the process will fail
+ # if absolute paths are specified
+ # the example here assumes that the gcc source directory
+ # is at the same level as the script
+
+prefix=/usr/mosync # installation directory
+ # This must be specified in the format shown here
+ # or gcc won't be able to find it's libraries and includes
+ # if you move the installation
+
+builddir=./build/gcc
+
+#---------------------------------------------------------------------------------
+# set the path for the installed binutils
+#---------------------------------------------------------------------------------
+
+#export PATH=${PATH}:/c/cross-gcc/mosync/bin
+
+#---------------------------------------------------------------------------------
+# set the target and compiler flags
+#---------------------------------------------------------------------------------
+
+target=mapip
+progpref=mapip-
+
+export CFLAGS='-O2 -pipe'
+export CXXFLAGS='-O2 -pipe'
+export LDFLAGS='-s'
+export DEBUG_FLAGS=''
+
+#---------------------------------------------------------------------------------
+# build and install just the c compiler
+#---------------------------------------------------------------------------------
+
+mkdir -p $builddir
+cd $builddir
+
+$SRCDIR/configure \
+ --enable-languages=c,c++ \
+ --with-gcc --with-stabs \
+ --disable-shared --disable-threads --disable-win32-registry --disable-nls \
+ --prefix=$prefix \
+ --target=$target \
+ --without-headers \
+ --program-prefix=$progpref -v \
+ 2>&1 | tee gcc_configure.log
View
@@ -0,0 +1,52 @@
+#---------------------------------------------------------------------------------
+# Source and Install directories
+#---------------------------------------------------------------------------------
+
+SRCDIR=../../gcc-3.4.6 # the sourcecode dir for gcc
+ # This must be specified in the format shown here
+ # as one of the tools built during the process will fail
+ # if absolute paths are specified
+ # the example here assumes that the gcc source directory
+ # is at the same level as the script
+
+prefix=/src/mapip/gcc # installation directory
+ # This must be specified in the format shown here
+ # or gcc won't be able to find it's libraries and includes
+ # if you move the installation
+
+
+#---------------------------------------------------------------------------------
+# set the path for the installed binutils
+#---------------------------------------------------------------------------------
+
+#export PATH=${PATH}:/c/cross-gcc/mosync/bin
+
+#---------------------------------------------------------------------------------
+# set the target and compiler flags
+#---------------------------------------------------------------------------------
+
+target=mapip
+host=mingw32
+progpref=mapip-
+
+export CFLAGS='-O2 -pipe'
+export CXXFLAGS='-O2 -pipe'
+export LDFLAGS='-s'
+export DEBUG_FLAGS=''
+
+#---------------------------------------------------------------------------------
+# build and install just the c compiler
+#---------------------------------------------------------------------------------
+
+mkdir -p $prefix
+cd $prefix
+
+$SRCDIR/configure \
+ --enable-languages=c,c++ \
+ --with-gcc --with-stabs \
+ --disable-shared --disable-threads --disable-win32-registry --disable-nls\
+ --target=$target \
+ --host=$host \
+ --without-headers \
+ --program-prefix=$progpref -v\
+ 2>&1 | tee gcc_configure.log
View
@@ -0,0 +1,32 @@
+*-all
+*-co
+*-dirs
+*-done
+*-install-info
+*-src
+*-stamp-*
+*-tagged
+blockit
+cfg-paper.info
+config.status
+configure.aux
+configure.cp
+configure.cps
+configure.dvi
+configure.fn
+configure.fns
+configure.ky
+configure.kys
+configure.log
+configure.pg
+configure.pgs
+configure.toc
+configure.tp
+configure.tps
+configure.vr
+configure.vrs
+dir.info
+Makefile
+lost+found
+update.out
+LAST_UPDATED
Oops, something went wrong.

0 comments on commit 3c8eaff

Please sign in to comment.