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
pancake
b86bf19c85
Fix #3051 - Honor CFLAGS everywhere and fix some windows/android warnings
2015-09-14 20:43:11 +02:00
pancake
fe4eede143
More work for AppVeyour and fix build
2015-07-13 02:45:45 +02:00
Anton Kochkov
2ba692a373
Improve MSYS2 support: MinGW-W64 detection
2015-07-11 02:19:20 +03:00
XVilka
68252124ff
Initial MSYS2 support
2015-07-08 17:14:48 +03:00
pancake
9eb4ef5197
Unescape backslash chars in ?e and add osx-qt-mingw32 toolchain support
2015-06-28 10:35:43 +02:00
pancake
a683c1dbd7
Fix coverity issues with ROP search and more pic flags for lollipop
...
Update capstone to fix all ARM tests
2014-11-27 10:01:30 +01:00
pancake
02b800b4d0
Add more fpic flags for android
2014-11-19 10:58:55 +01:00
pancake
ed78c8e83b
Fix android-mips build
2014-11-11 02:24:09 +01:00
pancake
83695edb04
Fix android-mips64 build
2014-11-11 02:14:19 +01:00
pancake
e8321a7e71
More fixes for android-mips64el target
2014-11-11 01:30:54 +01:00
pancake
0dd75de2cb
Initial support for android-mips64 target
2014-11-11 01:26:05 +01:00
pancake
68cbdcfe06
Fix #1664 - Cross reference not found by capstone analysis
2014-11-11 01:12:38 +01:00
pancake
31e9406cd2
Fix android-x86 build
2014-11-10 19:46:19 +01:00
pancake
97b8064f42
Fix non-aarch64 android builds? and build fail for --with-sysmagic
2014-11-10 02:26:03 +01:00
pancake
850309a7e9
Initial support for android-aarch64
2014-11-10 01:54:05 +01:00
pancake
1256b77747
Use -pie -fPIC for Android builds (required for Android L)
2014-11-07 01:02:57 +01:00
Edward O'Callaghan
7cb08a2901
mk/clang.mk: Provide Clang support
...
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
2014-09-14 23:24:22 +02:00
pancake
567663f7d7
Add support for MXE mingw32 toolchain
2014-07-18 08:57:43 +02:00
Anton Kochkov
445dde9ba8
More improvements for cygwin and mingw32 building
2014-07-10 02:21:41 +04:00
Anton Kochkov
5921a415dc
Disable -fPIC for cygwin builds
2014-06-25 17:42:19 +04:00
pancake
ea0c2caa59
Add sys/ios-sdk build scripts
2014-05-17 04:41:33 +02:00
pancake
170e2051ff
Fix w32 build
2014-04-18 17:18:48 +02:00
David Martínez Moreno
06ed8553c6
Properly propagate LDFLAGS in libraries.
...
Debian fills up LDFLAGS with hardening flgs but for some libraries this
parameter is not additive to the value from the environment but hardcoded.
2013-12-31 23:56:59 -08:00
pancake
7855f4952f
Initial work supporting emscripten compilation
2013-09-07 00:39:08 +02:00
pancake
fb80381eb7
Fix mingw32 build
2013-08-27 02:00:21 +02:00
pancake
1dc50d359b
Fix shlr/sdb build for sys/android
2013-08-27 00:52:04 +02:00
pancake
d8d5bab78d
Use static libgcc for mingw32 builds
2013-07-05 00:41:02 +02:00
pancake
356640967b
Fix double warning for -zz and add support for openSUSE in mingw32.sh
...
- Fix mingw32 build
- Fix double warn for -zz
- Some code indentation in c55plus code
- mingw32.sh now supports openSUSE
2013-05-17 01:42:24 +02:00
pancake
d39af2028d
Update sdb and fix configure
2013-04-01 05:52:21 +02:00
pancake
1f6174c6ae
Better webui, 'pi' counts opcodes and remove /new and htmlgraph
...
pi honors number of instructions, not bytes
Remove htmlgraph and lungo webui
More work on the enyo webui
2013-01-25 03:22:09 +01:00
pancake
1c93e8a727
Better webui, fix segfault in ag, add agj for json graphs
...
More work on the webui
New 'agj' command to get function graphs in json
Fix segfault in 'ag' command
'agv' now launches the internal http server
Initial refactoring for RAnalHint integration into RCore
Add basic mime-type support in the http server
Enhace the graph view style
2013-01-24 03:48:24 +01:00
pancake
46e29afb98
Initial working web ui: r2 -c =H /bin/ls
...
Autodetect osx, win, linux and android browsers
Default port is 9090
Add support for local networking in RSocket
Add r_str_unescape() helper function
Fix htmlgraph.sh script.
Added wwwroot in shlr/www
Swap eval/cmd load order in r2
Add r_core_cmd_str_pipe()
Use RCons in 'fs'
2012-09-06 03:12:54 +02:00
pancake
e2af4c93d4
Added htmlgraph.sh as a cmd.graph html5 graph backend
...
Many fixes for agv, rcons->html
2012-09-05 03:25:03 +02:00
pancake
3b65f42167
Update sdb to 0.5, sdb is now public api
...
Update pkgconfig files
sdb now supports json and cas operations
sync pair.c to use the new cas api
2012-09-04 01:46:12 +02:00
pancake
09642b4eec
Gitify 'make dist' and implement 'locdiff'
2012-08-13 18:06:24 +02:00
pancake
28428438f6
Lot of build fixes for --as-needed and mingw32
...
Fix z80 assembler
Add r_sys_truncate() for portability
Fail build if tests compilation is wrong
2012-08-10 11:35:38 +02:00
pancake
a2ebdcb650
Fix memleaks, nullref and undef (clang-analyzer)
...
Fix multiple inclusions of mk files
2012-08-08 17:19:48 +02:00
pancake
bc572ce3df
* QNX/arm port (this is bb10 and playbook devices)
...
- no debugger support yet
2012-06-01 14:50:24 +02:00
pancake
e70ef0a622
* Force absolute path for libraries in OSX
...
- thanks Anton Bolotinksy for the patch
2012-02-06 13:20:57 +01:00
pancake
66e2b1e359
* Initial support for the z80 CPU
...
- assembler, disassembler and basic code analysis
- code analysis is very primitive atm
2012-02-04 03:51:22 +01:00
pancake
2201ddd641
* Fix mingw32 build on debian
2011-10-03 13:03:45 +02:00
pancake
6213779213
* Avoid use of extended arm instructions for ut64
...
- add documentation for installing NDK in archlinux64
- fixes build for android-arm
* Import android targets for the build farm
2011-09-25 21:07:34 +02:00
pancake
9884ce9db0
* Initial support for Android NDK build (fix build)
...
- Not yet runnable, but compiles against bionic
2011-09-25 06:57:13 +02:00
pancake
e8af14966b
* Import the r_regex api in libr/util/regex from OpenBSD source
...
- Added a r2-like API on top of it
- Make RSearch and RMagic use this new api, so
* Only load default magicpath files when no file is passed to RMagic
* Initial work on r_listrange optimization in RAnal
- #define USE_NEW_FCN_STORE
- Still work-in-progress
* Implemented a RPoolFactory singleton api to accelerate
allocations of little objects in the future
* Fix sys/mingw32.sh for osx
* Added sys/maemo.sh
2011-09-14 02:07:06 +02:00
pancake
df72d33e4e
* Added sys/ scripts to compile for mingw64
...
- Use -j 4 everywhere
- Check return values on chained commands
2011-09-10 02:32:48 +02:00
pancake
0cc68a9792
* Add basic code analysis module for sparc
...
* Fix disassembler fprintf function issue in asm.sparc
- Now sparc is a first class citizen (statically built)
* Add forgotten mad-harmattan.mk file
2011-09-03 01:17:37 +02:00
pancake
6d5bef5976
* Use hg manifest in make dist
...
* Honor r_bin_use_arch arch and bits information for r_bin_create
* Implemented sC command to seek by comment matching
* Fix one byte Color_RESET in r_print
* Minor refactor in rasm newlisp example
2011-08-27 03:31:55 +02:00
pancake
194a51b468
* Enhace build on OSX (use -arch)
...
- Fixes support for dlopen() on newLisp
* Added rasm.lsp example. Using the RAsm api from newLisp
2011-08-23 23:16:08 +02:00
pancake
79b581f597
* Avoid ^C in gitpush
2011-07-20 21:43:45 +02:00
pancake
0d4faf652e
* Set library version number for plugins
...
- Registers for which version of core was compiled
* Use tar --format=posix when GNU tar
- Fixes the dependency on BSD systems
* Fix in doc/fortunes
* Fix this class pointer in asm_java
* Re-Fix uglily the bin_elf strtab issue (needs more work)
* Fix Vala regression in r_asm.vapi
2011-07-19 00:12:36 +02:00
pancake
39ed2a8210
* Fix some typos in gitpush script
2011-07-15 12:57:30 +02:00
pancake
3452c5845a
* Added gitpush utility for github mirroring
2011-07-15 12:48:46 +02:00
pancake
7bcd23df0f
* Fix static build (--without-pic --with-nonpic)
2011-07-13 10:14:30 +02:00
pancake
1e3739f902
* Fix build for ming-w64
2011-07-12 19:42:20 +02:00
pancake/n900
f7ca7d23ff
* Fix build with TCC (tiny C compiler)
2011-06-15 23:53:56 +02:00
pancake
adcefe78fe
* Added 'mad' compiler support to crosscompile to maemo6 with QtCreator
...
- ./configure --with-compiler=mad --with-ostype=gnulinux
* Fix various warnings reported by maemo toolchain
2011-06-14 01:44:28 +02:00
pancake
7df412ae25
* Fix build on W32
...
* Added --without-magic flag
2011-03-10 11:36:16 +01:00
pancake
a6629c610c
* Fix static compilation on Linux systems
...
- Not really portable, needs some work to fix w32 build
2010-11-10 03:55:27 +01:00
pancake
9dc6a049b1
* Fix make -j for paralel builds
...
- use hacky 'waitfordeps.sh' helper script
- speed up the build process
* Do not build libr2.so by default
- Do not generate library archives (.a)
- Fix build dependencies in vm/p/plugins.h
* Added --with-nonpic
- Enable the .a generation
2010-10-29 03:10:10 +02:00
pancake
fca584126c
* Initial work on the versioned libraries support
2010-10-27 10:56:18 +02:00
pancake
e101e5023d
* Fix build on mingw32
2010-06-27 22:14:06 +02:00
Nibble
414f5a38bc
* More fixes on build system
...
- 'make mrproper' now works like 'hg purge --all'
- More fixes on 'make clean'
- Remove some missing -Wl,-R
2010-06-15 14:10:42 +02:00
pancake
087ce48d42
* Implement r_big_{new,free,mod,set64,set_str}
...
- r_big api is now argument safe, you can do a.add(a,b);
2010-05-24 02:27:05 +02:00
pancake
4137587cb3
* Fix compilation under mingw32
...
- Linking fixed for r_sign and
* Fix some reads out-of-bounds in r_bin_elf
- Use __strnlen instead of ELF_STRING_LENGTH
- Some simplifications using macros
* Open plugins in radare2 found in '.' by default
- Make w32 happy
- Fix RLib for w32 and local plugin files
* Implement r_sys_cmd_str() for w32
- Also r_sys_setenv()
* Fix printfs in lib/t example
* win7 syscall list is now default windows one
* Added 'r_sys_perror' to make it portable on *nix and w32
* Rename RLibrary into RLib
2010-04-12 02:22:52 +02:00
pancake
75d58c0176
* Added script to generate graphs from loc statistics
...
- http://radare.org/get/r2cdg.jpg
- http://radare.org/get/r2clg.jpg
2010-04-09 17:51:03 +02:00
pancake
c2bc7e0377
* Initial split of r_search_keyword
...
* Fix -soname of osx linker (-install_name)
* Added OSX build instructions in doc/osx
2010-04-05 22:49:22 +02:00
pancake
728bd1f817
* Fix w32 build
2010-03-25 10:18:59 +01:00
pancake
31e3aa76c0
* Some fixes to build in windows
...
- Still not working..but just a PoC
2010-03-24 19:20:46 +01:00
pancake
d6125712b5
* Add some missing methods in some vapis for valaswig
...
* Merge r_macro inside r_cmd
- Rename RCommand to RCmd
* Propagate LIL_ENDIAN in userconf.h.acr
* Simplify configure script in swig/
- valaswig is now mandatory
* Add 'st.fastcall' examples.
--HG--
rename : libr/macro/macro.c => libr/cmd/macro.c
2010-03-18 22:22:21 +01:00
pancake
020686b86f
* Implement r_str_argv()
...
- Use it from p/debug
- Now is possible to debug programs with arguments
- Added test program in util/t/argv
* Fix pd/pD
* Clean and fix the native debugger plugin
* More random code syntax cleanup
* Rename io plugin names without the deprecated 'io_' prefix
* Fix mk/stat-make.pl (missing ;)
2010-02-23 00:26:13 +01:00
pancake/imac
931fa4055f
* Fix ostype autodetect in darwin (aka osx)
2010-02-21 20:49:39 +01:00
pancake/imac
9890c6e8b0
* Fix build in OSX
...
- env.sh now also uses DYLD_LIBRARY_PATH
- Fixes in ollyasm/dis to link with no global variables
- Remove double definition of global _state
- Same for asm_java
- Split -shared and -Wl,-R into LDFLAGS_{LIB|LINKPATH}
- Fixes linkage in osx
- anal_x86_bea plugin now links correctly against BeaEgine.o
- dietline is now #include'd from line.c
- no debugger support yet
- Do not externalize any variable. Some linkage does not support it
* Remove bininfo dependency .. aims to be merged into bin soon
* Added r_str_case() method to change to lower/upper case a string
2010-02-21 20:21:36 +01:00
pancake
8fbe0be140
* Add --without-pic configure flag to build radare2
...
without PIC code (only static libraries, and link binaries)
- Fix linking order dependencies
* Fix some missing EXT_EXE
* Add some definitions to make debug_ptrace register work
on Solaris and *BSD (no windows yet)
- Some fixes for mips, x86, x86-64, arm and powerpc
* Initial import of rsc2
- Added intel2att rsc2 sample script
2010-01-21 21:22:30 +01:00
pancake
eb99dd1203
* Many more fixes for the mingw32 port
2010-01-15 13:02:54 +01:00
pancake
8ba7b6b043
* Many build fixes for mingw32
...
- See doc/windows
* Rename config.mk to global.mk
- Avoid name collision (cascade includes in rules.mk)
* Added ${EXT_EXE} in some test program directories
* Split rules.mk into config.mk
- Some scripts just need to get the environ (config.mk)
- They dont need the rules
--HG--
rename : config.mk => global.mk
2010-01-15 01:32:28 +01:00
pancake
ba848ec5dd
* Enhace the output of 'make sloc'
...
* Added test program for r_hash from python
2010-01-14 23:31:39 +01:00
pancake
3d738ba673
* Oops. add missing mk/sloc.mk (thanks graz ;)
2010-01-14 12:30:56 +01:00
pancake
b37ec4f0b1
* Added 'mk/stat' tools
...
- Perform statistics about XXX and TODOs
* Change signature of r_debug_mmu_
* Added io->cached_reads
* RAPIfy the r_lang
* Reviewing of the r_lib API
- Write the vapi file
- Check for null mallocs
* Fix build of r_reg
2009-09-17 11:48:36 +02:00