Mercurial > pub > dyncall > dyncall
comparison doc/README-Cross.txt @ 0:3e629dc19168
initial from svn dyncall-1745
author | Daniel Adler |
---|---|
date | Thu, 19 Mar 2015 22:24:28 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3e629dc19168 |
---|---|
1 Cross-compilation of dyncall with gcc | |
2 ===================================== | |
3 | |
4 Make sure cross-compile tools are installed and in your path, and set the | |
5 CC, AR and LD envvars, explicitly (where $PREFIX is arm-eabi, etc., depending | |
6 on the toolchain to be used): | |
7 | |
8 $ export CC=$PREFIX-gcc | |
9 $ export AR=$PREFIX-ar | |
10 $ export LD=$PREFIX-ld | |
11 | |
12 Also set CXX if you want to build the tests: | |
13 | |
14 $ export CXX=$PREFIX-g++ | |
15 | |
16 | |
17 Then, build dyncall - one way would be to simply use Makefile.embedded: | |
18 | |
19 $ make -f Makefile.embedded sun | |
20 $ (cd test; make -f Makefile.embedded) | |
21 |