On Aug 9, 2013, at 14:36, Brian D. McGrew <[email protected]> wrote:

> In case anyone is interested, you the following to build gcc-4.8.1 from
> source using gcc-mp-48:
> 
> CC=/opt/local/bin/gcc-mp-4.8 CXX=/opt/local/bin/g++-mp-4.8 ../configure
> --prefix=/opt/local --build=x86_64-apple-darwin12
> --enable-languages=c,c++,objc,obj-c++,lot,fortran,java
> --libdir=/opt/local/lib/gcc48 --includedir=/opt/local/include/gcc48
> --infodir=/opt/local/share/info --mandir=/opt/local/share/man
> --datarootdir=/opt/local/share/gcc-4.8 --with-local-prefix=/opt/local
> --with-system-zlib --disable-nls --program-suffix=-mp-4.8
> --with-gxx-include-dir=/opt/local/include/gcc48/c++/ --with-gmp=/opt/local
> --with-mpfr=/opt/local --with-mpc=/opt/local --with-ppl=/opt/local
> --with-cloog=/opt/local --enable-cloog-backend=isl
> --disable-cloog-version-check --enable-stage1-checking --enable-lto
> --enable-libstdcxx-time --with-as=/opt/local/bin/as
> --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar
> --with-bugurl=https://trac.macports.org/newticket
> --with-pkgversion='MacPorts gcc48 4.8.1_1+universal'
> --enable-libstdcxx-threads
> 
> A make, make check and make install and you're golden.

Obviously, MacPorts cannot use gcc48 to build gcc48 (circular dependencies are 
not supported). But if that portion of the above is not essential, then what 
would be most helpful is if you would file a bug report for this problem in our 
issue tracker, Cc the port's maintainer, and attach a unified diff that fixes 
the portfile.


_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to