Hi List:
I'm trying to build the latest gambit lib for iOS (device and sim) from github. It's worked fine for me in the past, but looks like something has broken recently. The last line of the build seems to show it building a java version? It also can't seem to find gsc-boot? With the change from Gambit-C to Gambit and the support for various backends, I'm guessing iOS build script has broken somehow. Thanks for any help.
Adam
xcrun -sdk iphonesimulator gcc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -arch i386 -miphoneos-version-min=6.0 -Wno-trigraphs -Wreturn-type -Wunused-variable -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "os_dyn.o" -I. -DHAVE_CONFIG_H -D___GAMBITDIR=""/Users/aking/src/gambit/misc/gambit-iOS/current"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin14.5.0"" -D___CONFIGURE_COMMAND=""./configure '--prefix=/Users/aking/src/gambit/misc/gambit-iOS/current' 'CC=xcrun -sdk iphonesimulator gcc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -arch i386 -miphoneos-version-min=6.0' 'CFLAGS=-Wno-trigraphs -Wreturn-type -Wunused-variable' 'LDFLAGS=' 'CXX=xcrun -sdk iphonesimulator g++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -arch i386 -miphoneos-version-min=6.0' 'CXXFLAGS=-Wno-trigraphs -Wreturn-type -Wunused-variable'"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL os_dyn.c -D___LIBRARY xcrun -sdk iphonesimulator gcc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -arch i386 -miphoneos-version-min=6.0 -Wno-trigraphs -Wreturn-type -Wunused-variable -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "_gambit.o" -I. -DHAVE_CONFIG_H -D___GAMBITDIR=""/Users/aking/src/gambit/misc/gambit-iOS/current"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin14.5.0"" -D___CONFIGURE_COMMAND=""./configure '--prefix=/Users/aking/src/gambit/misc/gambit-iOS/current' 'CC=xcrun -sdk iphonesimulator gcc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -arch i386 -miphoneos-version-min=6.0' 'CFLAGS=-Wno-trigraphs -Wreturn-type -Wunused-variable' 'LDFLAGS=' 'CXX=xcrun -sdk iphonesimulator g++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -arch i386 -miphoneos-version-min=6.0' 'CXXFLAGS=-Wno-trigraphs -Wreturn-type -Wunused-variable'"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL _gambit.c -D___LIBRARY ../gsc-boot -:~~bin=../bin,~~lib=../lib,~~include=../include -f -target java -o _gambit.java ../lib/_kernel.scm /bin/sh: ../gsc-boot: No such file or directory make: *** [_gambit.java] Error 127 make: *** Waiting for unfinished jobs....
gem:misc aking$ uname -a Darwin gem.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64 gem:misc aking$
Afficher les réponses par date
Hi,
I have the same issue. Any success? Francois
On Oct 10, 2015, at 2:14 PM, Adam King akingcoder@gmail.com wrote:
Hi List:
I'm trying to build the latest gambit lib for iOS (device and sim) from github. It's worked fine for me in the past, but looks like something has broken recently. The last line of the build seems to show it building a java version? It also can't seem to find gsc-boot? With the change from Gambit-C to Gambit and the support for various backends, I'm guessing iOS build script has broken somehow. Thanks for any help.
Adam
xcrun -sdk iphonesimulator gcc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -arch i386 -miphoneos-version-min=6.0 -Wno-trigraphs -Wreturn-type -Wunused-variable -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "os_dyn.o" -I. -DHAVE_CONFIG_H -D___GAMBITDIR=""/Users/aking/src/gambit/misc/gambit-iOS/current"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin14.5.0"" -D___CONFIGURE_COMMAND=""./configure '--prefix=/Users/aking/src/gambit/misc/gambit-iOS/current' 'CC=xcrun -sdk iphonesimulator gcc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -arch i386 -miphoneos-version-min=6.0' 'CFLAGS=-Wno-trigraphs -Wreturn-type -Wunused-variable' 'LDFLAGS=' 'CXX=xcrun -sdk iphonesimulator g++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -arch i386 -miphoneos-version-min=6.0' 'CXXFLAGS=-Wno-trigraphs -Wreturn-type -Wunused-variable'"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL os_dyn.c -D___LIBRARY xcrun -sdk iphonesimulator gcc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -arch i386 -miphoneos-version-min=6.0 -Wno-trigraphs -Wreturn-type -Wunused-variable -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "_gambit.o" -I. -DHAVE_CONFIG_H -D___GAMBITDIR=""/Users/aking/src/gambit/misc/gambit-iOS/current"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin14.5.0"" -D___CONFIGURE_COMMAND=""./configure '--prefix=/Users/aking/src/gambit/misc/gambit-iOS/current' 'CC=xcrun -sdk iphonesimulator gcc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -arch i386 -miphoneos-version-min=6.0' 'CFLAGS=-Wno-trigraphs -Wreturn-type -Wunused-variable' 'LDFLAGS=' 'CXX=xcrun -sdk iphonesimulator g++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -arch i386 -miphoneos-version-min=6.0' 'CXXFLAGS=-Wno-trigraphs -Wreturn-type -Wunused-variable'"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL _gambit.c -D___LIBRARY ../gsc-boot -:~~bin=../bin,~~lib=../lib,~~include=../include -f -target java -o _gambit.java ../lib/_kernel.scm /bin/sh: ../gsc-boot: No such file or directory make: *** [_gambit.java] Error 127 make: *** Waiting for unfinished jobs....
gem:misc aking$ uname -a Darwin gem.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64 gem:misc aking$ _______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
Just tried with the latest 4.8.1 release and iOS compilation works great now, thanks!
gem:misc aking$ gsc -v v4.8.1 20151017174904 x86_64-apple-darwin14.5.0 "./configure '--enable-single-host'" gem:misc aking$ lipo -info ./gambit-iOS/current/lib/libgambit.a Architectures in the fat file: ./gambit-iOS/current/lib/libgambit.a are: i386 armv7 armv7s x86_64 arm64 gem:misc aking$
On Fri, Oct 16, 2015 at 1:26 PM, Francois Magnan fmagnan@me.com wrote:
Hi,
I have the same issue. Any success? Francois
On Oct 10, 2015, at 2:14 PM, Adam King akingcoder@gmail.com wrote:
Hi List:
I'm trying to build the latest gambit lib for iOS (device and sim) from github. It's worked fine for me in the past, but looks like something has broken recently. The last line of the build seems to show it building a java version? It also can't seem to find gsc-boot? With the change from Gambit-C to Gambit and the support for various backends, I'm guessing iOS build script has broken somehow. Thanks for any help.
Adam
xcrun -sdk iphonesimulator gcc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -arch i386 -miphoneos-version-min=6.0 -Wno-trigraphs -Wreturn-type -Wunused-variable -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "os_dyn.o" -I. -DHAVE_CONFIG_H -D___GAMBITDIR=""/Users/aking/src/gambit/misc/gambit-iOS/current"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin14.5.0"" -D___CONFIGURE_COMMAND=""./configure '--prefix=/Users/aking/src/gambit/misc/gambit-iOS/current' 'CC=xcrun -sdk iphonesimulator gcc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -arch i386 -miphoneos-version-min=6.0' 'CFLAGS=-Wno-trigraphs -Wreturn-type -Wunused-variable' 'LDFLAGS=' 'CXX=xcrun -sdk iphonesimulator g++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -arch i386 -miphoneos-version-min=6.0' 'CXXFLAGS=-Wno-trigraphs -Wreturn-type -Wunused-variable'"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL os_dyn.c -D___LIBRARY xcrun -sdk iphonesimulator gcc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -arch i386 -miphoneos-version-min=6.0 -Wno-trigraphs -Wreturn-type -Wunused-variable -Wno-unused -Wno-write-strings -O1 -fno-math-errno -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -I"../include" -c -o "_gambit.o" -I. -DHAVE_CONFIG_H -D___GAMBITDIR=""/Users/aking/src/gambit/misc/gambit-iOS/current"" -D___SYS_TYPE_CPU=""x86_64"" -D___SYS_TYPE_VENDOR=""apple"" -D___SYS_TYPE_OS=""darwin14.5.0"" -D___CONFIGURE_COMMAND=""./configure '--prefix=/Users/aking/src/gambit/misc/gambit-iOS/current' 'CC=xcrun -sdk iphonesimulator gcc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -arch i386 -miphoneos-version-min=6.0' 'CFLAGS=-Wno-trigraphs -Wreturn-type -Wunused-variable' 'LDFLAGS=' 'CXX=xcrun -sdk iphonesimulator g++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -arch i386 -miphoneos-version-min=6.0' 'CXXFLAGS=-Wno-trigraphs -Wreturn-type -Wunused-variable'"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL _gambit.c -D___LIBRARY ../gsc-boot -:~~bin=../bin,~~lib=../lib,~~include=../include -f -target java -o _gambit.java ../lib/_kernel.scm /bin/sh: ../gsc-boot: No such file or directory make: *** [_gambit.java] Error 127 make: *** Waiting for unfinished jobs....
gem:misc aking$ uname -a Darwin gem.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64 gem:misc aking$ _______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list