1. 08 Jan, 2011 1 commit
  2. 06 Jan, 2011 1 commit
  3. 05 Jan, 2011 1 commit
    • David 'Digit' Turner's avatar
      Generate 8.04-compatible Linux toolchain binaries whenever possible. · e9db711d
      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
      e9db711d
  4. 04 Jan, 2011 2 commits
    • David 'Digit' Turner's avatar
      Speedup cygwin to host path translation. · 1022d8d9
      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
      1022d8d9
    • David 'Digit' Turner's avatar
      Fix cygwin-specific awk script to deal with very short paths. · ac567c39
      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
      ac567c39
  5. 14 Dec, 2010 4 commits
  6. 13 Dec, 2010 2 commits
    • David 'Digit' Turner's avatar
      Fix gnustl float/double iostream crashes. · 61e547de
      David 'Digit' Turner authored
      Also remove wchar_t-related compiler warnings when building the STLport sources.
      
      Change-Id: I5e377f8f1e05719bb3033e42d701e2a30f1121d6
      61e547de
    • David 'Digit' Turner's avatar
      Fix Windows rebuild bug after compilation error. · 28246be1
      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
      28246be1
  7. 10 Dec, 2010 2 commits
    • David 'Digit' Turner's avatar
      Fix toolchain rebuild script for 32-bit toolchains. · 6f01017c
      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
      6f01017c
    • David 'Digit' Turner's avatar
      Fix NDK_MODULE_PATH handling when there are several directories · a468e522
      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
      a468e522
  8. 09 Dec, 2010 4 commits
    • David 'Digit' Turner's avatar
      cpufeatures: fix ARM-specific bug · 73aed82e
      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
      73aed82e
    • David 'Digit' Turner's avatar
      prebuilt-common.sh: Better 64-bit compiler detection. · 818c32e1
      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
      818c32e1
    • David 'Digit' Turner's avatar
      docs/CPLUSPLUS-SUPPORT.html: Add missing gnustl_static documentation. · c94a2633
      David 'Digit' Turner authored
      Change-Id: I7068a1be737a78502a7dae88a2b8011b11b71ad6
      c94a2633
    • David 'Digit' Turner's avatar
      ndk-build: Fix cygwin GNU Make check. · 99dcb2c5
      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
      99dcb2c5
  9. 05 Dec, 2010 1 commit
  10. 03 Dec, 2010 1 commit
    • David 'Digit' Turner's avatar
      make-standalone-toolchain.sh: fix symlink copy bug. · b00a82db
      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
      b00a82db
  11. 02 Dec, 2010 4 commits
    • David 'Digit' Turner's avatar
      Support remote Darwin builds on Linux. · 99fe4b8a
      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
      99fe4b8a
    • David 'Digit' Turner's avatar
      Add new GNU libstdc++ device test. · 81dd1b42
      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
      81dd1b42
    • David 'Digit' Turner's avatar
      Minor documentation udpate. · e144b4a3
      David 'Digit' Turner authored
      Change-Id: Ibdf0339a6adb93b632410ef4f2a7020ebfe66d93
      e144b4a3
    • David 'Digit' Turner's avatar
      Move stlport under sources/cxx-stl/ · 2ca50e00
      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
      2ca50e00
  12. 01 Dec, 2010 3 commits
  13. 30 Nov, 2010 14 commits