Created
June 21, 2012 08:24
-
-
Save mattintosh4/2964570 to your computer and use it in GitHub Desktop.
Mac OS X 10.6.8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# binutils 2.22 fat binary | |
# status: failed | |
../configure \ | |
CC="gcc -arch i386 -arch x86_64" \ | |
CXX="g++ -arch i386 -arch x86_64" \ | |
CFLAGS="-g -O2 -mtune=core2 -march=core2" \ | |
CXXFLAGS="-g -O2 -mtune=core2 -march=core2" \ | |
CPP="gcc -E" \ | |
CXXCPP="g++ -E" \ | |
--prefix=/usr/local/gnu/binutils/2.22 \ | |
--disable-nls \ | |
--without-cloog \ | |
--without-mpc \ | |
--without-mpfr \ | |
--without-gmp \ | |
--without-ppl && make -j4 && make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir build-32 && cd build-32 && ABI=32 \ | |
../configure \ | |
--prefix=/usr/local/tools/gmp/5.0.5/i386 \ | |
--enable-cxx && make -j4 && make check && make install && cd ../ && mkdir build-64 && cd build-64 && ABI=64 \ | |
../configure \ | |
--prefix=/usr/local/tools/gmp/5.0.5/x86_64 \ | |
--enable-cxx && make -j4 && make check && make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
../configure \ | |
CC="gcc -arch i386 -arch x86_64" \ | |
CXX="g++ -arch i386 -arch x86_64" \ | |
CPP="gcc -E" \ | |
CXXCPP="g++ -E" \ | |
CFLAGS="-g -O2 -mtune=core2 -march=core2" \ | |
CXXFLAGS="-g -O2 -mtune=core2 -march=core2" \ | |
CPPFLAGS="" \ | |
CXXCPPFLAGS="" \ | |
LDFLAGS="" \ | |
--prefix=/usr/local/tools/mpc/0.9 \ | |
--with-gmp=/usr/local/tools/gmp/5.0.5 \ | |
--with-mpfr=/usr/local/tools/mpfr/3.1.0 && make -j4 && make check && make install | |
# Libraries have been installed in: | |
# /usr/local/tools/mpc/0.9/lib | |
# | |
# If you ever happen to want to link against installed libraries | |
# in a given directory, LIBDIR, you must either use libtool, and | |
# specify the full pathname of the library, or use the `-LLIBDIR' | |
# flag during linking and do at least one of the following: | |
# - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable | |
# during execution | |
# | |
# See any operating system documentation about shared libraries for | |
# more information, such as the ld(1) and ld.so(8) manual pages. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
../configure \ | |
CC="gcc -arch i386 -arch x86_64" \ | |
CXX="g++ -arch i386 -arch x86_64" \ | |
CPP="gcc -E" \ | |
CXXCPP="g++ -E" \ | |
CFLAGS="-g -O2 -mtune=core2 -march=core2" \ | |
CXXFLAGS="-g -O2 -mtune=core2 -march=core2" \ | |
CPPFLAGS="" \ | |
CXXCPPFLAGS="" \ | |
LDFLAGS="" \ | |
--prefix=/usr/local/tools/mpfr/3.1.0 \ | |
--with-gmp=/usr/local/tools/gmp/5.0.5 && make -j4 && make check && make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
../configure \ | |
CC="gcc -arch i386 -arch x86_64" \ | |
CXX="g++ -arch i386 -arch x86_64" \ | |
CPP="gcc -E" \ | |
CXXCPP="g++ -E" \ | |
CFLAGS="-g -O2 -mtune=core2 -march=core2" \ | |
CXXFLAGS="-g -O2 -mtune=core2 -march=core2" \ | |
CPPFLAGS="" \ | |
CXXCPPFLAGS="" \ | |
LDFLAGS="" \ | |
--prefix=/usr/local/tools/ppl/0.12.1 \ | |
--with-gmp=/usr/local/tools/gmp/5.0.5 && make -j4 && make check && make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment