Commit Graph

136 Commits

Author SHA1 Message Date
pancake
5ee2c92830
Fix #13196 - Honor SHARED in configure-plugins ##build 2022-05-18 09:06:30 +02:00
pancake
245babbf9e
Lots of cleanups to reduce the regressions in TCC ##refactor
* Cleanup crypto.aes and anal.arm_cs to make the latest tcc happy
* Dont pick latest tcc. as its broken (-30 commits for now)
* Dont pass multi-dimensional arrays as argument
* Don't assume TCC supports threads, because it doesnt
* Many intrinsics are missing still for tcc on darwin-arm64
* lz4 code crashes when compiled with latest tcc and needs a full rewrit
* Add more null checks here and there
* Remove unused code in the tcc parser
2022-03-17 18:40:58 +01:00
pancake
edca7a15e0 Move meson rules from Makefile to mk/meson.mk 2022-02-01 20:03:01 +01:00
pancake
681323267d
Refactor, improve and move chip8 support out of libr/asm ##asm 2021-12-17 11:21:52 +01:00
pancake
3aef52cae0 Fix issues in r2pm -i acr and the new compiler checks 2021-12-17 10:26:41 +01:00
pancake
d24bf5b654 More build fixes, googlefuzz integration, add r_asm_cpus() api via the wip 'al' command 2021-12-17 00:15:38 +01:00
pancake
4327d8322f
Bring back the mingw32 builds ##windows
* Massage conflicting function signatures spotted by mingw
* Fix the spp visibility issue
* Enable 32 and 64bit mingw builds in the CI
2021-11-28 22:10:51 +01:00
pancake
3159cccc6a Updated WIP support for mingw32 2021-08-27 03:03:34 +02:00
pancake
7c14bac05b
Add initial support for building r2 on WASI ##build 2021-06-20 17:14:43 +02:00
pancake
e92d170a3b
Add support for acr/musl-gcc static builds ##build 2021-05-14 21:34:21 +02:00
pancake
74de15a4bb Add missing PARTIALLD in termux.mk 2021-03-02 01:21:53 +01:00
Khairul Azhar Kasmiran
7e744440a6
Fix build on XCode12 in Github CI (#17879) ##build
* Blindfix the macos build based on the Xcode Wikipedia page
2020-11-01 01:40:26 +01:00
pancake
aa7de006e6 Fix TinyCC build ##build 2020-09-27 13:33:26 +08:00
pancake
8efd721dba
Fix Cydia/iOS packaging and compilation issues ##build (#17342) 2020-08-14 13:17:32 +08:00
Sergei Trofimovich
ca91720aed mk: allow AR override
To ease cross-development Gentoo alows installing only fully
qualified toolchains tools:
    x86_64-pc-linux-gnu-ar
and similar.

The change allow overriding RANLIB variable similar
to existing CC, HOST_CC, LD and friends.

Reported-by: Agostino Sarubbo
Bug: https://bugs.gentoo.org/720700
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2020-05-25 12:51:43 +08:00
Sergei Trofimovich
56faae7627 mk: allow OBJCOPY override
To ease cross-development Gentoo alows installing only fully
qualified toolchains tools:
    x86_64-pc-linux-gnu-objcopy
and similar.

The change allow overriding RANLIB variable similar
to existing CC, HOST_CC, LD and friends.

Reported-by: Agostino Sarubbo
Bug: https://bugs.gentoo.org/720700
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2020-05-25 12:51:43 +08:00
Sergei Trofimovich
843cc238f3 mk: allow RANLIB override
To ease cross-development Gentoo alows installing only fully
qualified toolchains tools:
    x86_64-pc-linux-gnu-ranlib
and similar.

The change allow overriding RANLIB variable similar
to existing CC, HOST_CC, LD and friends.

Reported-by: Agostino Sarubbo
Bug: https://bugs.gentoo.org/720700
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2020-05-25 12:51:43 +08:00
Remco Verhoef
80511aac77 Fix macOS build with latest XCode ##build (#15202) 2019-10-08 10:55:31 +02:00
radare
c93c094c40
Fix android-static ##build 2019-08-01 04:39:40 +02:00
pancake
718698d450 Fixes for the android compilations ##build 2019-07-18 11:46:06 +02:00
pancake
158f8fdb8f Fix the iOS simulator build 2019-02-11 15:49:26 +01:00
iamahuman
9ed24b16a3 Fix Emscripten support 2018-12-15 18:32:24 +01:00
pancake
712fca842c Improve the support for emscripten asm.js/wasm 2018-11-15 22:49:52 +01:00
David CARLIER
01e3775e19 clang build fix, propagate initial CC setting (#10316) 2018-06-11 11:38:19 +02:00
pancake
afe3792d0f Force embed-bitcode on iOS builds
- Fix typo and improve ios-sdk build
- Don't let capstone set the -arch flags
2018-06-10 03:38:28 +02:00
pancake
4a3057f9fc s/\r\n/\n/g 2018-05-21 22:13:07 +02:00
radare
9e08da0fa6
Improve build of libr.a and libr.dylib, fix and improve sys/ios-sdk.sh (#10046)
- Update spp and force hidden visibility
- Use R_API wisely
- RSys.prefix returns const things
- Use -install_name on Apple
- Fix merged lib visibility linking on Linux
- Use OSTYPE instead of BUILD_OS
- Honor crosscompiler-objcopy and support android like linux
- Add extra missing archives
- Fix for android
- Upgrade spp and sdb
- Skip libr. from symstall
- Add --enable-merged configure option
- Use --enable-merged on ios-sdk
- Upgrade sdb again for js0n
- Kill sys/ios-shell.sh
- Msvc dynamic build fix
2018-05-09 23:31:52 +02:00
Johannes
5151ebb783 Makefile: use ${LD} or ${CROSS}ld instead of ld (#9720) 2018-03-19 11:39:02 +08:00
whitequark
dcd1ef1c6b Rework makefiles to make ${PARTIALLD} available. 2018-01-11 23:09:22 +01:00
whitequark
f552b65ddf Rework makefiles so that ${CROSS} contains cross tool prefix.
Useful for e.g. invoking ${CROSS}ld -r.
While we're at it, make sure ${AR} always points to the cross tool.
2018-01-11 23:09:22 +01:00
xarkes
0d95b7f469 Adding node testsuite to appveyor (#8313)
* Adding node testsuite to appveyor
* Removed -g on mingw
* Set correct mingw32 compiler
* Disabled Mingw32 build
2017-12-02 23:42:47 +08:00
Jose Diaz
527ff71d41 Convert char to windows unicode 2017-11-03 10:27:18 +08:00
pancake
502aee4662 Properly define ranlib for mingw32 2017-07-16 10:16:59 +02:00
xarkes
926f024909 Improved MSVC support (WIP) 2017-05-09 14:25:57 +02:00
pancake
6805a12210 Fix for the mipsel mk 2017-03-14 00:47:51 +01:00
pancake
0a34aff612 Add mipsel compiler target 2017-03-13 21:07:37 +01:00
Roman Valls Guimerà
405e773474 Dockcross and android-arm (#6612)
* Changes needed to compile android-arm, see: https://github.com/radare/radare2/pull/6319#issuecomment-276046516

* Android dockcross building fixes...

* Correct full path inside dockcross, thanks @trufae

* Retab the file

* Quotes and tabs

* Cleanup/clarification on dockcross compiling for android-arm. Thanks @trufae
2017-03-09 12:09:26 +01:00
Roman Valls Guimerà
90feff3957 Introducing WebAssembly (#6613) 2017-01-30 22:40:57 +01:00
pancake
2e758020d3 Two more fixes for emscripten 2017-01-19 23:55:16 +01:00
pancake
e9b7a07eb3 More fixes for emscripten 2017-01-19 23:34:52 +01:00
Roman Valls Guimerà
fce0769648 Add mxe+dockcross support for docker-windows builds: https://github.com/mxe/mxe (#6342) 2016-12-19 04:55:21 +01:00
Roman Valls Guimerà
473d39655b ARMv5: Fixes debug/libr_debug.so: undefined reference to linux_generate_corefile. (#6335) 2016-12-16 21:12:45 +01:00
pancake
c041decf9b Fix libr.a for android 2016-12-10 01:48:46 +01:00
pancake
6cbae900c5 Include some patches frmo termux 2016-09-19 12:21:54 +02:00
pancake
1447dc7522 Update termux 2016-08-06 12:22:52 +02:00
pancake
02418c066c Add termux-host compiler.mk 2016-08-06 12:10:24 +02:00
pancake
744fad6418 Port to Termux (Android-Debian environment) 2016-08-06 05:12:58 +01:00
Roman Valls Guimerà
7c7d75b3fa Build target armel (not armhf), for legacy armv5-like devices (#5060) 2016-06-01 22:13:28 +02:00
pancake
bfc8e5318e More fixes from osx-ppc 2016-04-27 11:27:22 +02:00
XVilka
381c9fbd6a Unify -fPIC handling, improve windows building 2015-10-09 18:58:03 +03:00