- 06 Jul, 2012 1 commit
-
-
David 'Digit' Turner authored
-
- 05 Jul, 2012 3 commits
-
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
- 04 Jul, 2012 2 commits
-
-
David 'Digit' Turner authored
Our implementation of LOCAL_SHORT_COMMANDS relied on 'echo -n' to append data to an existing file, but this option is not supported by Darwin's echo program. Modify our build scripts to use "printf %s" instead to do the same thing on Posix systems. On Windows, which doesn't have printf, keep using the toolbox echo program that supports the flag. Change-Id: I35e14279a60e2dd54a0078cdcc5e177984e155d8
-
Andrew Hsieh authored
Use cygpath to translate path for cygwin Change-Id: Iae2e802af4fd195ce22f7ea820ab50b18f785562
-
- 03 Jul, 2012 4 commits
-
-
Andrew Hsieh authored
Fix to use "cp -RL" instead of "cp -rL" for MacOSX Change-Id: Id2eba27f4b8fa60d1a0dca89415bb042352de6a6
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
Andrew Hsieh authored
All target prebuilt will be built with GCC 4.6. GNU libstdc++ is GCC dependent. GCC 4.6 seems to take header/libraries built by GCC 4.4.3, but the reverse isnʼt true. With this CL GCC will now use its own version of libstdc++. make-standalone-toolchain by default install GCC 4.6. Use --toolchain to select GCC 4.4.3. Change-Id: I2f4042501989fbfce94a521e6c24e1102d95a3aa
-
- 02 Jul, 2012 2 commits
-
-
Andrew Hsieh authored
related CL: https://android-review.googlesource.com/#/c/32072 Change-Id: I81b45d4708569740f8112b3833a802c04970c30e
-
Andrew Hsieh authored
ndk-gdb should also pull /system/bin/link, so gdb on host can set a breakpoint in __dl_rtld_db_dlactivity and be aware of linker activity (eg. rescan solib symbols when dlopen() is called) Change-Id: Ie98d026a92177a076650665d7c26ac88781621a2
-
- 30 Jun, 2012 3 commits
-
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
- 29 Jun, 2012 4 commits
-
-
Andrew Hsieh authored
eg. ndk-gdb -s "Novo7 Basic" Change-Id: Id1c57b2c7d6af45c755fc32e320585d0abdfa58c
-
Andrew Hsieh authored
Upgrade TOOLCHAIN_GIT_DATE to 2012-06-30 to include fix https://android-review.googlesource.com/#/c/38591/ Remove redundant file: tests/build/multi-module-path/run.sh Change-Id: I5bf11f2db9b2a3adab5113e052e80f714d8e3d13
-
Andrew Hsieh authored
Set _STLP_LITTLE_ENDIAN to 1 when compiling for MIPS little-endian Related CL: https://android-review.googlesource.com/#/c/32072/ Change-Id: I9de3605dff4235bbceb22d11fc5914c4264b9631
-
Andrew Hsieh authored
-
- 28 Jun, 2012 6 commits
-
-
Andrew Hsieh authored
Better fix than https://android-review.googlesource.com/#/c/38631 on issue http://code.google.com/p/android/issues/detail?id=32300 "make" does set ERRORLEVEL but in cmd.exe it seems that ERRORLEVEL is evaluated before the whole compound statement instead of just before it is use. Change-Id: Ia56d3dc89e4b13caabd29aeaf57c277906202fdd
-
Andrew Hsieh authored
-
Andrew Hsieh authored
It appears that "make" doesnʼt set ERRORLEVEL running ndk-build.cmd in cmd.exe shell, which causes ERRORLEVEL to remain zero even when make fails. Fixed it to return non-zero value when fails. Related issue: http://code.google.com/p/android/issues/detail?id=32300 Change-Id: Iedd6c4897035e35910ca12ef6f70730800881aba
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
Andrew Hsieh authored
*LDSCRIPT_X[SC] are no longer needed since MIPS patches of linker scripts are merged into toolchain repo. Change-Id: I2007476a8e37334b28a37d1666a16b343cb41d4b
-
- 27 Jun, 2012 3 commits
-
-
Andrew Hsieh authored
Enable gold for x86-4.6 and arm-linux-androideabi-4.6 (with binutils-2.21) on Linux and MacOSX. ld.bfd remains the default linker. User can enable gold by LOCAL_CFLAGS += -fuse-ld=gold Reasons for not enabling gold on other binutils/host/target 1) gold in binutils-2.19 (compiled with NDK GCC 4.4.3) isn't considered stable. 2) gold can't currently compile in Windows where fcntl() isn't supported. 3) gold doesn't support MIPS. Change-Id: I0aaef601fa5e521d597cf5d691b461d534d781b6
-
Andrew Hsieh authored
-
Andrew Hsieh authored
Brand Android executable with .note.ABI-tag for debugging tools to act accordingly. See crtbrand.c for structure detail. Note that it also contains API level. Also correct typo. Change-Id: Ibbd460f5af62a19aa9948f974af1345b73622059
-
- 25 Jun, 2012 1 commit
-
-
Andrew Hsieh authored
-
- 23 Jun, 2012 1 commit
-
-
Andrew Hsieh authored
-
- 22 Jun, 2012 3 commits
-
-
Ray Donnelly authored
-
Andrew Hsieh authored
This is port of the following CLs in gdb-6.6 Change-Id: I928388273c550c509f3f9305efc004b89a02da8e https://android-review.googlesource.com/#/c/14300 https://android-review.googlesource.com/#/c/14455 https://android-review.googlesource.com/#/c/14524
-
Andrew Hsieh authored
-
- 21 Jun, 2012 2 commits
-
-
Andrew Hsieh authored
-
Andrew Hsieh authored
When LOCAL_SHORT_COMMANDS is set to true, compiler options are emitted to a response file and read off using the '@file' syntax. This is to support very long commmand line w/o running over the limit of shell command buffer. Obviously target depends on the response file which shall be regenerated every time to account for potential changes in command line options. Unfortunately this triggers rebuilding of target as well even when the content of response file is identical to the last one. This CL fixes it by emitting options to a temp file, and only update the response file when contents differ Change-Id: Ia2be6df7bbc0d0816b60d552f3fde004f42ca748
-
- 20 Jun, 2012 4 commits
-
-
Andrew Hsieh authored
During toolchain construction "--with-sysroot" contains minimal set of headers and libraries not needed afterward (*1). Because GCC by default will search the path and actually find it by accident (*2), it's better to point that to local directory such as /tmp. (*1) NDK specifies --sysroot, and Android build explicitly lists all dependencies. (*2) The path may exist but contain stale headers/libs, reside at remote server and slow down GCC, or inaccessible which crash GCC! Change-Id: Ieedee2061d99b7209978130b8a95a9f450602d55
-
Andrew Hsieh authored
-
Andrew Hsieh authored
-
Andrew Hsieh authored
Add 4.6 to supported list (4.4.3 is still the default) Change to compile gdbserver only once per arch (use default toolchain) Change gdbserver package name Change-Id: Ic34640d616ffd8ceaec220ee192c589a28c654fa
-
- 13 Jun, 2012 1 commit
-
-
Andrew Hsieh authored
-