Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update gcc installer for version 4.8.0

  • Loading branch information...
commit 723aaea5eb2b79ad1cd3ddc8255434e21b8c3d62 1 parent db57d0e
@feeley authored
Showing with 6 additions and 6 deletions.
  1. +2 −2 include/stamp.h
  2. +4 −4 misc/install-gnu-gcc-osx
View
4 include/stamp.h
@@ -2,5 +2,5 @@
* Time stamp of last source code repository commit.
*/
-#define ___STAMP_YMD 20130312
-#define ___STAMP_HMS 183630
+#define ___STAMP_YMD 20130403
+#define ___STAMP_HMS 192626
View
8 misc/install-gnu-gcc-osx
@@ -11,13 +11,13 @@
#
# you should add this line to your ~/.profile and ~/.bashrc files:
#
-# export PATH=/usr/gcc-4.7.1/bin:$PATH
+# export PATH=/usr/gcc-4.8.0/bin:$PATH
# The shell script assumes that the homebrew system (see
# http://http://mxcl.github.com/homebrew) and Xcode have been
# installed.
-VERSION=4.7.1
+VERSION=4.8.0
PREFIX=/usr/gcc-$VERSION
LANGUAGES=c,c++
MAKE="make -j 4"
@@ -32,12 +32,11 @@ brew install libmpc
# Download & install the latest GCC
-mkdir -p $PREFIX
mkdir temp-gcc
cd temp-gcc
wget ftp://ftp.gnu.org/gnu/gcc/gcc-$VERSION/gcc-$VERSION.tar.gz
tar xfz gcc-$VERSION.tar.gz
-rm gcc-$VERSION.tar.gz
+#rm gcc-$VERSION.tar.gz
cd gcc-$VERSION
mkdir build
@@ -57,6 +56,7 @@ cd build
$MAKE bootstrap
+sudo mkdir -p $PREFIX
sudo make install
cd ../../..
Please sign in to comment.
Something went wrong with that request. Please try again.