Could the build script be updated to do a CD to itself, somehow?

If not, then perhaps best to start with "echo This script must be invoked with its parent directory as current directory".

I mean, that kind of error could take Alot of time to debug.

2014-10-10 19:49 GMT+02:00 Álvaro Castro-Castilla <alvaro.castro.castilla@gmail.com>:

On Fri, Oct 10, 2014 at 7:43 PM, Álvaro Castro-Castilla <alvaro.castro.castilla@gmail.com> wrote:

On Fri, Oct 10, 2014 at 7:38 PM, Bradley Lucier <lucier@math.purdue.edu> wrote:
Marc:

Can you remind me briefly how to build Gambit for iOS?

I naively tried

% misc/build-gambit-iOS

but it ended with

In file included from _num.c:776:
../include/gambit.h:19:10: fatal error: 'config.h' file not found
#include "config.h"
         ^
In file included from _io.c:1365:
../include/gambit.h:19:10: fatal error: 'config.h' file not found
#include "config.h"
         ^
1 error generated.
make: *** [_num.o] Error 1
make: *** Waiting for unfinished jobs....
1 error generated.
make: *** [_io.o] Error 1


You need to run it inside /misc folder;

cd misc; ./build-gambit-iOS


I'd like to add that this actually builds the Gambit library for various architectures, but if you want the app, you need to go to contrib/Gambit-REPL, as Marc just explained.

_______________________________________________
Gambit-list mailing list
Gambit-list@iro.umontreal.ca
https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list