On 2010-11-04, at 3:42 PM, Francois Magnan wrote:Hi,Thank you for your fast reply.I executed the script and 3 versions of Gambit get compiled on my Desktop.When I try to use gsc I still get the following error:/Users/magnan/Desktop/gambit-iPhoneSimulator/current/bin/gsc -link init.scm*** ERROR IN c#targ-start-dump -- Unknown error(#<procedure #2>"/Users/magnan/CDSCode/Experiments/gambit-iphone-example/lib/init.c")What is wrong with my installation?
The gsc that you are trying to execute is the one compiled for the iPhone simulator (i.e. that gsc would have to be executed in the iPhone simulator... I'm not sure that's possible... does the iPhone simulator have a file system?). You want to use the Mac OS X version to compile/link init.scm (generating init.c and init_.c) then you use Xcode to create an iPhone project, you include the init.c and init_.c files, and link with the **iPhone** libgambc.a . Then you have an application that can run on the iPhone.
In other words, in the iPhone builds of Gambit, ignore gsi and gsc. You only want the libraries (libgambc.a, etc).
Marc