Commit Graph

8 Commits

Author SHA1 Message Date
tnias
90c0ba195b Improve the (cross-)build experience especially with LLVM (#353)
* Suppress clang warnings caused by boost headers

* Make binutils selectable via environment variables

Some build environments specify what tools to use via environment variables.

e.g. NM could be 'x86_64-unknown-linux-gnu-nm' when cross-compiling

* Use llvm-nm friendly non-short format value

LLVM's nm implementaion (llvm-nm) wants the entire string to match.
It doesn't allow just 'p' it wants 'posix'.

- https://github.com/llvm/llvm-project/blob/llvmorg-21.1.3/llvm/tools/llvm-nm/llvm-nm.cpp#L2435-L2448

The nm implementations from GNU binutils and FreeBSD parse the format
argument value only by looking at the first character.
They are accept both 'p' and 'posix'.

- https://github.com/bminor/binutils-gdb/blob/binutils-2_45/binutils/nm.c#L410-L438
- https://github.com/freebsd/freebsd-src/blob/release/14.3.0/contrib/elftoolchain/nm/nm.c#L506-L529
2025-10-12 18:37:47 +03:00
Gregory Economou
d96206a12f united the static fat runtime dispatcher with the BSD support. 2024-04-15 14:59:08 +03:00
Zhu,Wenjun
d96f1ab505 MCSHENG64: extend to 64-state based on mcsheng 2021-01-25 14:13:13 +02:00
Wang, Xiang W
f0bde3721e build: avoid file path impact on fat runtime build
Fixes github issue #137
2019-03-26 10:16:13 -04:00
Matthew Barr
8337d99574 build: use more portable flag for mktemp
Fixes github issue #60
2017-07-26 15:51:23 +10:00
Matthew Barr
0626a30a6a Make the build wrapper less fragile
This script was failing for certain paths (dots, whitespace), and using
sed to replace parts of the command line was overkill. Do less mangling,
and quote command line args.

Fixes 01org/hyperscan#51
2017-05-30 13:57:32 +10:00
Matthew Barr
b4ad7359d6 build: More robust temp file handling 2017-04-26 15:17:18 +10:00
Matthew Barr
c3a73446ee Fat runtime 2016-12-14 15:34:54 +11:00