mirror of https://github.com/BOINC/boinc.git
example_app: Fixes to Mac build script
svn path=/trunk/boinc_samples/; revision=14976
This commit is contained in:
parent
181680e1f1
commit
cb3da20d48
|
@ -648,7 +648,7 @@ David 27 Mar 2008
|
|||
multi_thread/
|
||||
multi_thread.C
|
||||
|
||||
Charlie 27 Mar 2008
|
||||
Charlie 28 Mar 2008
|
||||
- example_app: Fixes to Mac build script.
|
||||
|
||||
example_app/
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#
|
||||
# Script to build Macintosh example_app using Makefile
|
||||
#
|
||||
# by Charlie Fenton 3/26/08
|
||||
# by Charlie Fenton 3/28/08
|
||||
#
|
||||
## In Terminal, CD to the example_app/Mac directory.
|
||||
## cd [path]/example_app/Mac/
|
||||
|
@ -59,7 +59,7 @@ export CC=/usr/bin/gcc-3.3;export CXX=/usr/bin/g++-3.3
|
|||
export LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk -arch ppc"
|
||||
## If your make file passes LDFLAGS directly to ld instead of to gcc, use the following instead:
|
||||
## export LDFLAGS="-syslibroot /Developer/SDKs/MacOSX10.3.9.sdk -arch ppc"
|
||||
export VARIANTFLAGS="-arch ppc -D_NONSTD_SOURCE -isystem /Developer/SDKs/MacOSX10.3.9.sd"
|
||||
export VARIANTFLAGS="-arch ppc -D_NONSTD_SOURCE -isystem /Developer/SDKs/MacOSX10.3.9.sdk"
|
||||
|
||||
make -f Makefile_mac clean
|
||||
make -f Makefile_mac all
|
||||
|
@ -83,8 +83,7 @@ export CC=/usr/bin/gcc-4.0;export CXX=/usr/bin/g++-4.0
|
|||
export LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch i386"
|
||||
## If your make file passes LDFLAGS directly to ld instead of to gcc, use the following instead:
|
||||
## export LDFLAGS="-syslibroot /Developer/SDKs/MacOSX10.3.9.sdk -arch i386"
|
||||
export VARIANTFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386"
|
||||
export CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386"
|
||||
export VARIANTFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -fvisibility=hidden -fvisibility-inlines-hidden"
|
||||
|
||||
make -f Makefile_mac clean
|
||||
make -f Makefile_mac all
|
||||
|
@ -112,7 +111,6 @@ if [ -d /Developer/SDKs/MacOSX10.5.sdk/ ]; then
|
|||
## If your make file passes LDFLAGS directly to ld instead of to gcc, use the following instead:
|
||||
## export LDFLAGS="-syslibroot /Developer/SDKs/MacOSX10.3.9.sdk -arch x86_64"
|
||||
export VARIANTFLAGS="-isysroot /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -fvisibility=hidden -fvisibility-inlines-hidden"
|
||||
export CFLAGS="-isysroot /Developer/SDKs/MacOSX10.5.sdk -arch x86_64"
|
||||
|
||||
make -f Makefile_mac clean
|
||||
make -f Makefile_mac all
|
||||
|
|
Loading…
Reference in New Issue