mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
revisions
This commit is contained in:
parent
257750c718
commit
5f6d5b2c0f
3 changed files with 14 additions and 10 deletions
|
|
@ -15,7 +15,14 @@ immediately in your current terminal session.)
|
||||||
Build cross-compiled ECL for iOS
|
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
|
* extract a fresh copy of the ECL sources in e.g. `~/ecl`, and rename
|
||||||
`ecl-21.2.1` to `ios`
|
`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
|
./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)
|
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
|
pthread_attr_setstacksize(&pthreadattr, 2 * 236 * 4096); // double default size
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,9 @@ case of nested page structures.
|
||||||
License
|
License
|
||||||
-------
|
-------
|
||||||
|
|
||||||
ECL and Qt5/Qt6 are LGPL.
|
Both ECL and Qt5/Qt6 are **LGPL** (being Qt6 a special case to consider).
|
||||||
LQML can be considered public domain.
|
|
||||||
|
LQML is **GWL** (Good Will License -- use it for anything good, for free).
|
||||||
|
|
||||||
|
|
||||||
Tested
|
Tested
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
#include <QQuickView>
|
#include <QQuickView>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
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);
|
extern "C" void ini_LQML(cl_object);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue