Crosscompiling ECL for Windows

Wolfgang Dautermann wolfgang at dautermann.at
Tue Nov 15 22:36:46 UTC 2016


On 2016-11-14 16:20, Daniel Kochmański wrote:
> Your patch added to the develop branch.
> 
> Best regards,
> Daniel

Thank you. That branch I could not (cross)compile. The native
compiliation works, but when I crosscompile, I get error messages, where
I was not able to find the reason:

First the 'preprocessor' emits some warnings:


dpp:
/home/dauti/Software/ecl-crosscompiling/build/ecl-prefix/src/ecl/src/c/symbol.d
-> c/symbol.c
dpp:
/home/dauti/Software/ecl-crosscompiling/build/ecl-prefix/src/ecl/src/c/package.d
-> c/package.c

Unknown symbol: si::*ignore-package-locks*

Unknown symbol: si::*ignore-package-locks*


And later there are compilation errors because of this unknown symbol:

Compiling c/package.o...
In file included from ./ecl/ecl.h:89:0,
                 from
/home/dauti/Software/ecl-crosscompiling/build/ecl-prefix/src/ecl/src/c/package.d:16:
/home/dauti/Software/ecl-crosscompiling/build/ecl-prefix/src/ecl/src/c/package.d:
In function ‘ecl_rename_package’:
/home/dauti/Software/ecl-crosscompiling/build/ecl-prefix/src/ecl/src/c/package.d:250:22:
error: ‘unknown’ undeclared (first use in this function)
                      @'si::*ignore-package-locks*') == ECL_NIL) {
                      ^
./ecl/stacks.h:59:47: note: in definition of macro ‘ECL_SYM_VAL’
 # define ECL_SYM_VAL(env,s) (ecl_bds_read(env,s))

(further errors follow).                                               ^


But the "build-clean" branch (which you recommended, that I should use)
is okay (with that patch) - no errors occur there.

Best regards, Wolfgang




More information about the ecl-devel mailing list