- 08 Jan, 2011 1 commit
-
-
David 'Digit' Turner authored
Used to prevent a performance degradation compared to arm-eabi when using the standalone toolchain. NDK toolchain not affected. Change-Id: I4c603974fdc16dd6eb7be68dd0b72c4a98f25484
-
- 06 Jan, 2011 1 commit
-
-
Glenn Kasten authored
Add clarification about future API levels. Add trademark symbols at first reference. Change-Id: Iac4437b6c78bfe36f0d2f9857d938afbb98f4894
-
- 05 Jan, 2011 1 commit
-
-
David 'Digit' Turner authored
This patch forces our toolchain build script to look for our i686-linux-glibc2.7-4.4.3 prebuilt toolchain, and use it, if found, in order to generate Linux binaries that run on Ubuntu 8.04 and higher. + document the 'asm' to '__asm__' change in development/ndk Change-Id: I1f119439784fd8b5708e80f75f7c53b09ad8e1fa
-
- 04 Jan, 2011 2 commits
-
-
David 'Digit' Turner authored
This change speeds up Cygwin builds by preventing the build system from calling 'cygpath -m' from GNU Make for every source and object file (which turns out to be very slow). This is done by generating at init time a Make function named cygwin-to-host-path that will perform simple substitutions (e.g. "/cygdrive/c/foo" to "c:/foo"). The function itself is built dynamically by probing the Cygwin environment then calling an awk script to generate a Makefile fragment that is run through 'eval' in init.mk. In case of problem, define NDK_USE_CYGPATH=1 in your environment to use 'cygpath -m' as before. + If 'cygpath' is not in your path, simply ignore it. android-ndk users report that this is enough to use the NDK under MSys succesfully. Change-Id: I291190d3f30a1e17ee27dd65b63f65701fba6b33
-
David 'Digit' Turner authored
This patch fixes convert-deps-to-cygwin.awk to work properly whe very short paths are used on Windows to install the NDK or the project path. This leads gcc to generate dependency files that contain several file names per line, which the old script could not handle. + Add support for unit tests for Awk scripts in tests/run-tests.sh + Add missing license disclaimer in tests/run-standalone-tests.sh Change-Id: I60d67e13f039aa071233c33ec8c72b36f2fe2c9a
-
- 14 Dec, 2010 4 commits
-
-
David 'Digit' Turner authored
Change-Id: Ibcc1fd50f414ac811c87e094ad1860a2917b7c80
-
David 'Digit' Turner authored
Change-Id: I38d3df244ca80033ba99eaf15b46af3600c4b9cf
-
David 'Digit' Turner authored
NOTE: The corresponding change is in development.git/ndk/ + Add corresponding unit test. Change-Id: If4a1716ae02a50fa47d9f12f6f8a7a60823da2d9
-
David 'Digit' Turner authored
This change modifies the reference git date used when downloading the toolchain sources in order to get the following fix which was submitted on 2010-12-13: https://review.source.android.com/#change,19474 + Add a unit-test to check for the bad code generation + Slight reformating of docs/CHANGES.html Change-Id: Iea9e6dc717e7a256743c276f00be6767151c2776
-
- 13 Dec, 2010 2 commits
-
-
David 'Digit' Turner authored
Also remove wchar_t-related compiler warnings when building the STLport sources. Change-Id: I5e377f8f1e05719bb3033e42d701e2a30f1121d6
-
David 'Digit' Turner authored
This fixes a bug where an inconsistent dependency file was generated when a source file failed to compiler properly on Windows. After fixing the source, trying to rebuild by launching "ndk-build" would fail because the build system was including the broken dependency file automatically. Change-Id: I4d47e0647ad53f43759a0788fa76088767163ab0
-
- 10 Dec, 2010 2 commits
-
-
David 'Digit' Turner authored
This allows build-gcc.sh or rebuild-all-prebuilts.sh to work properly when the host toolchain is 32-bits. Change-Id: Ic11e52d197c6aea3772ff3485e980df346cfb2d5
-
David 'Digit' Turner authored
A typo prevented NDK_MODULE_PATH to work as advertised when it contained several directories separated with ":" so fix this. Also add a unit test to check that it works correctly now. Change-Id: I6e376026a5319c3165e825c4f71d4829cd395cf7 NOTE: Now, if a build test contains a "build.sh" script, the latter will be called to perform the build, instead of calling ndk-build directly from run-tests.sh
-
- 09 Dec, 2010 4 commits
-
-
David 'Digit' Turner authored
The __ARM_ARCH__ macro is not defined by default anymore by the toolchain so use __arm__ instead to include <machine/cpu-features.h> for this platform. Note: The toolchain does define __ARM_ARCH_5TE__ or __ARM_ARCH_7A__ depending on compiler flags though... Change-Id: I3da100ece98fe59b1401ea63c17807cb0d5c1f44
-
David 'Digit' Turner authored
This improves the detection of compilers that generate 64-bit machine code by default, in order to enfore 32-bit generation, as required by the NDK toolchain binaries. This should allow the toolchain to build properly on Snow Leopard. Change-Id: I79ba8e844cd6ed3794dc7eb2f656e9be47241378
-
David 'Digit' Turner authored
Change-Id: I7068a1be737a78502a7dae88a2b8011b11b71ad6
-
David 'Digit' Turner authored
This fixes the Cygwin installation check within ndk-build to handle install paths containing spaces. Note that the script itself doesn't check for spaces in the path, but this is done later in the GNU Makefile itself. Change-Id: Icfe2aaab2fac1a5621d4e649dad62436c768c579
-
- 05 Dec, 2010 1 commit
-
-
Glenn Kasten authored
Change-Id: Iee351afc75880577ec81c86c0bdbe6df4898b083
-
- 03 Dec, 2010 1 commit
-
-
David 'Digit' Turner authored
This fixes a bug where installing a standalone toolchain for a platform other than android-3 would result in dangling symlinks being copied. The fix itself copies the symlinked files to the install. Also add a basic test to check that a standalone toolchain installation works properly. Will add more in the future. You can call tests/run-standalone-tests.sh to launch it for now. Change-Id: Ic73e70fd2004a8d138ebb61fcbbcbfac207467b2
-
- 02 Dec, 2010 4 commits
-
-
David 'Digit' Turner authored
This patch adds a --darwin-ssh=<hostname> option to both rebuild-all-prebuilt.sh and make-release.sh. This allows one to launch a build of Darwin binaries through ssh from a Linux machine. The idea is to fully automate the rebuild of all toolchain binary tarballs. When the "mingw32" package is installed, the "make-release.sh" script should be able to generate binaries for all three supported systems now (provided --darwin-ssh is used). Change-Id: I8a62b47d4431c231de38cb9a425833bf9e648c84 + fix minor bugs in script options parsing. + fix minor bug in run-tests.sh
-
David 'Digit' Turner authored
This patch adds tests/test-gnustl-1 which performs a basic runtime test of C++ exceptions support with the GNU STL. + Rename tests/test-gnustl to tests/test-gnustl-full (the test is still broken right now) + Add missing "gnustl_static" registration to definitions.mk (doh) + Add missing headers to tests. APP_STL=gnustl_static didn't work Change-Id: Id1352c342eec9d06f460e57acb2a1e52fc635fdb
-
David 'Digit' Turner authored
Change-Id: Ibdf0339a6adb93b632410ef4f2a7020ebfe66d93
-
David 'Digit' Turner authored
Move the STLport directory from sources/android/stlport/ to sources/cxx-stl/stlport/ since we don't document it as an import module anymore (use APP_STL in your Application.mk to use it instead). + Update the documentation under docs/CPLUSPLUS-SUPPORT.html and sources/cxx-stl/stlport/README + Remove obsolete docs/STL-SUPPORT.html (replaced by CPLUSPLUS-SUPPORT.html) Change-Id: Ie49e2fbeaceb02b0b765336d4a641e8149446711
-
- 01 Dec, 2010 3 commits
-
-
David 'Digit' Turner authored
-
David 'Digit' Turner authored
This patch will copy the libstdc++ binaries to the standalone toolchain installation created with make-standalone-toolchain.sh This provides the toolchain with a working C++ STL implementation. Change-Id: Iea77c1de13319e1c9c53e098f4e391808da77f33
-
David 'Digit' Turner authored
A small bug in the script placed the target headers, libraries and symbol files under platforms/android-<n>/arch-<abi>/arch-<abi>/ instead of platforms/android-<n>/arch-<abi>/ Change-Id: Ieaa45d91939e2ba81720ff1908e79354b5f77015
-
- 30 Nov, 2010 14 commits
-
-
David 'Digit' Turner authored
The ARM gold linker has too many issues at the moment: - Does not build on Mingw cross-builds - Crashes with SIGBUS on darwin-x86 - On linux-x86, generates weird binaries that 'strip' complains about Change-Id: I328ed19d137b75a268e247a014ba0ac27df409f3
-
David 'Digit' Turner authored
Sources taken from the STLport unit tests. Change-Id: I2c47dad24546166255415071d1d4fb0f9f53c681
-
David 'Digit' Turner authored
This is needed because not all our tests are complete yet, but we want to keep them in the tree nonetheless. This is achieved by testing for empty files in the test directory BROKEN_BUILD means the test cannot be built yet. BROKEN_RUN means the test cannot run sucesfully yet. Change-Id: Iaa14260ac4522730aacbd44d5c87b698b5c92314
-
David 'Digit' Turner authored
Since the mingw build cannot generate valid libsupc++ binaries we need to package them during the Linux build and reuse the new tarballs when packaging new releases. Change-Id: I6a84d2ba7737cdc3e59cce2ff65f4b477abae19a
-
David 'Digit' Turner authored
These are placed under sources/cxx-stl/gnu-libstdc++ Another patch will add APP_STL support for them. Change-Id: I63bb6d2bd25eefb474d21b18979e9b72024ee613
-
David 'Digit' Turner authored
+ fix STLport rebuild issue when the toolchain binaries are not in the current NDK directory. Change-Id: I35c7a5cc22564142c5a305d2b1273a350f22a8f1
-
David 'Digit' Turner authored
Also fixes documentation (it's --sysroot=<path> instead of -sysroot <path>) Change-Id: I0552f2d7b07737ca0cf1daf2725ee00d737222c3
-
David 'Digit' Turner authored
Change-Id: I9a88c49a12d0f127b029a3058e23a65802d059d7
-
David 'Digit' Turner authored
Change-Id: Idf3d7a7512294027ba92c1f1cdd062eb7f952482
-
David 'Digit' Turner authored
Change-Id: Ida1cbefe307f780189635fee0bf8c1a3e0804eb7
-
David 'Digit' Turner authored
This speeds up the script considerably, and also simplifies its implementation. Change-Id: Iaf0facadd3536e7df7e0b4366154f76e43dd30f7
-
David 'Digit' Turner authored
Simplify the script and add a --git-base option used to specify a new root for all toolchain repositories. This is useful to work with custom repo installation of the toolchain sources. Also simplify the script. Change-Id: Ia51613b1f3cf34c9dbeaf19f24c563c54694a350
-
David 'Digit' Turner authored
Add many utility functions to ndk-common.sh, to be used to simply all other scripts that rely on it. Change-Id: I7aadf9870c3f82e92cca9ddd9cc04106438cdf21
-
David 'Digit' Turner authored
This modifies donwload-toolchain-sources.sh to use, for the default release name, the date given by TOOLCHAIN_GIT_DATE instead of the current one. Change-Id: I6b60ef5b5f23033b2a25f034a5ad861d59e450bb
-