Commit 74e366c2 authored by Marius Gerbershagen's avatar Marius Gerbershagen
Browse files

INSTALL: update iOS build instructions

Apparently the bdwgc workaround is no longer needed
parent 2cac9642
......@@ -70,7 +70,7 @@ MacPort command:
Hint provided by Pascal J. Bourguignon.
* Cross-compile for the iOS platform
* Cross-compile for the iOS platform (needs Xcode 11 or higher)
1. Build the host ECL
#+BEGIN_SRC shell-script
./configure --prefix=`pwd`/ecl-iOS-host --disable-c99complex
......@@ -110,17 +110,3 @@ Hint provided by Pascal J. Bourguignon.
4. Library and assets in the ecl-iOS directory are ready to run on
the iOS system.
** Using ECL on iOS
The Boehm-Demers-Weiser garbage collector cannot find the stack base
automatically on iOS. Therefore, this has to be specified manually. In
the main function, before calling cl_boot, add e.g. (see the garbage
collector documentation for more details):
const int size = 256;
char* ecl_argv[size];
GC_register_my_thread((const struct GC_stack_base*)ecl_argv);
GC_stackbottom = (char*)(ecl_argv + size - 1);
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment