Last active
May 8, 2016 18:35
-
-
Save marcelog/25ecbcddf0842edb0b33fdaa8f959e38 to your computer and use it in GitHub Desktop.
This file contains 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
tar jxf gcc-4.5.2.tar.bz2 | |
cd gcc-4.5.2 | |
mkdir objdir | |
cd objdir | |
../configure --without-headers --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --disable-nls --enable-libssp --enable-gold --enable-ld --target=x86_64-pc-freebsd7 --prefix=/usr/cross-freebsd --with-gmp=/usr/cross-freebsd --with-mpc=/usr/cross-freebsd --with-mpfr=/usr/cross-freebsd --disable-libgomp | |
LD_LIBRARY_PATH=/usr/cross-freebsd/lib gmake | |
gmake install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment