Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv13706
Modified Files: gcc48.info Log Message: Initial support for 10.9. Requires missing lipo for libgcc build and mach_debug headers for boehm-gc build. Tested with lipo from Xcode 4.6.2 and java build disabled. Index: gcc48.info =================================================================== RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages/gcc48.info,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- gcc48.info 31 May 2013 14:14:55 -0000 1.4 +++ gcc48.info 21 Jun 2013 02:06:31 -0000 1.5 @@ -42,7 +42,16 @@ mv ../ecj-4.5.jar ecj.jar mkdir ../darwin_objdir cd ../darwin_objdir - ../gcc-%v/configure %c + darwinvers=`sw_vers -productVersion | cut -d. -f1-2` + if [[ $darwinvers > 10.8 ]]; then + if [ -d /Library/Developer/CommandLineTools ]; then + ../gcc-%v/configure %c CPPFLAGS="-O2 -g -isysroot `xcode-select --print-path`/SDKs/MacOSX$darwinvers.sdk" --with-native-system-header-dir=`xcode-select --print-path`/SDKs/MacOSX$darwinvers.sdk/usr/include CXXFLAGS="-O2 -g -iframework `xcode-select --print-path`/SDKs/MacOSX$darwinvers.sdk/System/Library/Frameworks" + else + ../gcc-%v/configure %c CPPFLAGS="-O2 -g -isysroot `xcode-select --print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$darwinvers.sdk" --with-native-system-header-dir=`xcode-select --print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$darwinvers.sdk/usr/include CXXFLAGS="-O2 -g -iframework `xcode-select --print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$darwinvers.sdk/System/Library/Frameworks" + fi + else + ../gcc-%v/configure %c + fi # use bootstrap-lean to reduce disk usage make bootstrap-lean ## make check requires autogen, dejagnu and expect, and should be run, in darwin_objdir, after install. ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs