mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2025-12-15 15:21:03 -08:00
INSTALL: update iOS build instructions
Apparently the bdwgc workaround is no longer needed
This commit is contained in:
parent
2cac9642d4
commit
74e366c2e3
1 changed files with 1 additions and 15 deletions
16
INSTALL
16
INSTALL
|
|
@ -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.
|
|||
#+END_SRC
|
||||
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):
|
||||
#+BEGIN_SRC C
|
||||
const int size = 256;
|
||||
char* ecl_argv[size];
|
||||
GC_allow_register_threads();
|
||||
GC_register_my_thread((const struct GC_stack_base*)ecl_argv);
|
||||
GC_stackbottom = (char*)(ecl_argv + size - 1);
|
||||
#+END_SRC
|
||||
Loading…
Add table
Add a link
Reference in a new issue