Commit Graph

149 Commits

Author SHA1 Message Date
pancake
49d609c86b Update to the latest tinycc in the CI ##build 2023-01-11 00:18:13 +01:00
pancake
c3a1fe170d Initial implementation of lang.s assembly scripting ##lang 2023-01-11 00:18:13 +01:00
pancake
b8e6b52aac Also replace __UNIX__ with R2__UNIX__ 2022-12-10 20:32:10 +01:00
pancake
97a6439055 Do the same for __WINDOWS__ -> R2__WINDOWS__ 2022-12-10 20:32:10 +01:00
pancake
ccb7351b5e
Merge RParse into RAsm ##api 2022-12-03 02:26:41 +01:00
pancake
aa536ce554 Speedup tcc builds by not using -g ##build 2022-11-23 11:22:43 +01:00
pancake
23dfc35b96
Remove all the references to the old r2pm.sh ##r2pm 2022-11-22 12:19:49 +01:00
pancake
ab49dae2a2 Add support for aarch64-elf-gcc.mk 2022-11-03 21:13:52 +01:00
pancake
66d6bbfe06 Add -s -i -f r2 commands ##shell 2022-11-03 18:48:40 +01:00
pancake
165cb48f91 aarch64.mk fixes 2022-11-03 18:39:32 +01:00
pancake
2e22d2aa9c Add arm64 compiler profile 2022-11-03 17:59:48 +01:00
pancake
e3294e83fd Remove unused lc-printscan-long-double wasi flag ##build 2022-11-02 22:03:45 +01:00
pancake
0798cd6adf Upgrade to the latest wasi16 sdk ##wasm 2022-11-02 22:03:45 +01:00
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