comparison README @ 632:ed19b429a152

- added explicit arm64 target, and clang tool options to Windows' configure.bat - configure.{bat,rc} now writing Makefile.config, for consistency/compatibility (e.g. configure.bat can now be used to set up env flags for a non-nmake toolchain) - simplified/decluttered Windows and Plan9 configure scripts (removal of unused/stale options, ...) - removed stale test/makepkg.sh helper
author Tassilo Philipp
date Sat, 19 Nov 2022 15:45:41 +0100
parents 85c80b0c021c
children
comparison
equal deleted inserted replaced
631:e5ad8cf0aa72 632:ed19b429a152
18 18
19 A typical application for the use of dyncall is the back-end of a FFI 19 A typical application for the use of dyncall is the back-end of a FFI
20 (foreign function interface) for scripting languages to connect with 20 (foreign function interface) for scripting languages to connect with
21 the C/C++ world. 21 the C/C++ world.
22 22
23 The binary footprint of the package is approx. 10-20 kb, depending on 23 The binary footprint of the package libraries before linking is approx. 10-60
24 the platform. 24 kb, depending on the platform.
25 Besides the test suite already mentioned, comprehensive documentation is 25 Comprehensive documentation is available.
26 available.
27 26
28 27
29 Building the libraries 28 Building the libraries
30 ---------------------- 29 ----------------------
31 30
32 Prequisites: 31 Prequisites:
33 - C compiler such as gcc, clang, sunpro or msvc. 32 - C compiler such as gcc, clang, sunpro or msvc.
34 - Assembler such as gas (gnu/apple), fbe or masm. 33 - Assembler such as gas (gnu/apple), llvm as, fbe, nasm or masm.
35 - Build system such as 'shell/make', cmake, nmake (windows) or mk (plan9). 34 - Build system such as 'shell/make', cmake, nmake (windows) or mk (plan9).
36 35
37 36
38 Supported Architectures and ABIs: 37 Supported Architectures and ABIs:
39 --------------------------------- 38 ---------------------------------
76 75
77 $ make tests 76 $ make tests
78 $ make run-tests 77 $ make run-tests
79 78
80 79
81 Build 'out-of-source' 80 Build 'out-of-source' (not for nmake or mk based builds)
82 --------------------- 81 --------------------------------------------------------
83 82
84 $ cd <build_dir> 83 $ cd <build_dir>
85 $ <src_dir>/configure --prefix=<install_dir> 84 $ <src_dir>/configure --prefix=<install_dir>
86 $ make 85 $ make
87 $ sudo make install 86 $ sudo make install