Mercurial > pub > dyncall > dyncall
view doc/README-Cross.txt @ 398:a29af998e457
- dynload w/ PE files:
* some better header check
* check if export table exists (thanks Ashok!)
* make some dynsyms function behaviour consistent with ELF and mach-o (thanks Ashok!)
author | Tassilo Philipp |
---|---|
date | Tue, 06 Apr 2021 21:23:39 +0200 |
parents | 3e629dc19168 |
children |
line wrap: on
line source
Cross-compilation of dyncall with gcc ===================================== Make sure cross-compile tools are installed and in your path, and set the CC, AR and LD envvars, explicitly (where $PREFIX is arm-eabi, etc., depending on the toolchain to be used): $ export CC=$PREFIX-gcc $ export AR=$PREFIX-ar $ export LD=$PREFIX-ld Also set CXX if you want to build the tests: $ export CXX=$PREFIX-g++ Then, build dyncall - one way would be to simply use Makefile.embedded: $ make -f Makefile.embedded sun $ (cd test; make -f Makefile.embedded)