From 5f6d5b2c0f69e84b3a2d857fe6286e5efa4b7fe2 Mon Sep 17 00:00:00 2001 From: "pls.153" Date: Sat, 3 Jun 2023 12:55:59 +0200 Subject: [PATCH] revisions --- readme-prepare-ios.md | 17 ++++++++++------- readme.md | 5 +++-- src/cpp/lqml.cpp | 2 +- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/readme-prepare-ios.md b/readme-prepare-ios.md index 9ef2cf2..0519772 100644 --- a/readme-prepare-ios.md +++ b/readme-prepare-ios.md @@ -15,7 +15,14 @@ immediately in your current terminal session.) Build cross-compiled ECL for iOS -------------------------------- -As of March 2022, please use latest ECL from development branch. +As of May 2023, please use latest ECL from development branch. + +**Important**: pay attention to file `src/c/unixsys.d`, function `si_system()`. +Function `system()` inside of it needs to work when running the script **1**, +and needs not to be there when running script **2**. + +Different ECL versions handle this problem differently, but none of them +worked for me, so you need to find a hack for yourself for achieving the above. * extract a fresh copy of the ECL sources in e.g. `~/ecl`, and rename `ecl-21.2.1` to `ios` @@ -25,13 +32,9 @@ As of March 2022, please use latest ECL from development branch. ``` ./1-make-ecl-host.sh ``` -Edit `src/c/unixsys.d` and search for `HAVE_SYSTEM`; right before the function -definition inside which it occurs, put this line: -``` - #undef HAVE_SYSTEM -``` Edit `src/c/threads/process.d`, search for `pthread_attr_init` (around line 588) -and add the following below that line: +and add the following below that line (iOS has quite limited stack size, but at +least we provide double the stack size for threads): ``` pthread_attr_setstacksize(&pthreadattr, 2 * 236 * 4096); // double default size ``` diff --git a/readme.md b/readme.md index 6ce98ac..c13594b 100644 --- a/readme.md +++ b/readme.md @@ -30,8 +30,9 @@ case of nested page structures. License ------- -ECL and Qt5/Qt6 are LGPL. -LQML can be considered public domain. +Both ECL and Qt5/Qt6 are **LGPL** (being Qt6 a special case to consider). + +LQML is **GWL** (Good Will License -- use it for anything good, for free). Tested diff --git a/src/cpp/lqml.cpp b/src/cpp/lqml.cpp index 347cb27..8c2a3c2 100644 --- a/src/cpp/lqml.cpp +++ b/src/cpp/lqml.cpp @@ -7,7 +7,7 @@ #include #include -const char LQML::version[] = "23.5.1"; // May 2023 +const char LQML::version[] = "23.5.2"; // May 2023 extern "C" void ini_LQML(cl_object);