1. 11 Dec, 2013 1 commit
  2. 02 Oct, 2013 1 commit
    • David 'Digit' Turner's avatar
      Improve ndk-build output + fix double-quotes on Windows. · 2f84ee41
      David 'Digit' Turner authored
      This patche slightly improves the ndk-build output for individual
      build steps, i.e.:
      
        BEFORE:
           Compile <abi>  : <some details>
      
        AFTER:
           [abi] Compile  : <some details>
      
      The reason for this is that there are some build steps which didn't
      include the <abi>, which is ambiguous when doing a multi-ABI build with
      lots of parallel jobs.
      
      Note that for ARM, 'Compile arm' or 'Compile thumb' are still being
      used to distinguish between 32-bit ARM and 16 or 16/32 Thumb compilation
      modes. This only affects Compile and Compile++ build steps.
      
      + Fix the extra-quoting issue on Windows described
        by https://code.google.com/p/android/issues/detail?id=60649
      
      Change-Id: Ib0bb7587f7113d488696e1c820d89adabad3070c
      2f84ee41
  3. 25 Jul, 2013 1 commit
    • Andrew Hsieh's avatar
      Change clang to use 4.8 as/ld · eb514a82
      Andrew Hsieh authored
      In general it's better for clang to use more recent as/ld, and the
      ones comes from binutils-2.23 in gcc4.8 are newer than the ones in
      binutils-2.22/gcc4.7
      
      It also help to split NDK package into "primary" which include
      gcc4.8/4.6 and clang3.3/3.2, and an "add-on" which includes the rest.
      
      Change-Id: I7f61c370e248a96476722942b822715c6da11b59
      eb514a82
  4. 09 Jun, 2013 1 commit
  5. 17 Apr, 2013 1 commit
    • Andrew Hsieh's avatar
      Change clang to use 4.7 as/ld · a96c6f66
      Andrew Hsieh authored
      clang in NDK needs "as" and "ld" from gcc directory via
      option -gcc-toolchain, which used to be 4.6.  Change it
      to use 4.7 because recent clang may generate instruction
      such as "vmrs APSR_nzcv,fpscr" not understood by binutils-2.21/as
      in gcc 4.6 directory.
      
      Change-Id: I43d0e13904625c5f8c7cbba545cc3003f0a77d80
      a96c6f66
  6. 19 Mar, 2013 1 commit
  7. 13 Mar, 2013 1 commit
    • Andrew Hsieh's avatar
      Separate SYSROOT into SYSROOT_INC and SYSROOT_LINK · fa8c1b43
      Andrew Hsieh authored
      SYSROOT_INC for headers, and SYSROOT_LINK for libraries.
      They point to the same directory, for now.
      
      Also remove unused TARGET_CRTBEGIN*_O and TARGET_CRTEND*_O
      
      Change-Id: Ifb60fb45cc19b2572d3497bcc1d224531a0817a1
      fa8c1b43
  8. 20 Jan, 2013 1 commit
    • Andrew Hsieh's avatar
      Add LLVM/CLANG-3.2 toolchain · 03a98fc1
      Andrew Hsieh authored
      1. Download/build llvm-3.2 clang/llvm
      2. New NDK_TOOLCHAIN_VERSION=clang3.2, or simply
         NDK_TOOLCHAIN_VERSION=clang to picks up the most recent
         version of clang/llvm (3.2 at this moment)
      3. Add toolchain/*clang-3.2
      
      Change-Id: I37d250addc17f6a2499982819c4952110be18394
      03a98fc1
  9. 06 Dec, 2012 1 commit
    • Andrew Hsieh's avatar
      Fix ndk-build using windows/clang3.1 with -no-canonical-prefixes · e2dcd653
      Andrew Hsieh authored
      With "-no-canonical-prefixes", clang not only doesn't resolve
      argv[0] to real path (which we like in favor of distribute
      build system), but also forget to add .exe for windows (which
      is bad).  Explicit adding .exe to fix it.
      
      Change-Id: I18ff317b80d55eb3a6630391d916b1097b7a3e9b
      e2dcd653
  10. 05 Dec, 2012 1 commit
    • Andrew Hsieh's avatar
      Do not resolve to real/absolute link in GCC 4.6 / 4.7 · 2c74df96
      Andrew Hsieh authored
      Add -no-canonical-prefixes to both compiler and linker in GCC 4.6/4.7
      to not resolve to absolute path (ie. the GCC 4.4.3 default behavior),
      otherwise it may fail in distributed build system because the real
      path may differ from machine to machine.
      
      Change-Id: I1801bbcfc738e5d955b1ee40a5f1cd81da091ad4
      2c74df96
  11. 26 Nov, 2012 1 commit
  12. 22 Nov, 2012 1 commit
  13. 16 Nov, 2012 1 commit
    • Andrew Hsieh's avatar
      Enhance ndk-build to use 64-bit host toolchain if available · 372e41c8
      Andrew Hsieh authored
      This changes allow ndk-build running on 64-bit OS to search
      for $OS-x86_64 in $NDK/prebuilt and $NDK/toolchains/*/prebuilt/
      if available.  Note that 64-bit toolchains still generate
      32-bit binaries for Android.
      
      Setting a new variable NDK_HOST_32BIT=1 can force 32-bit
      toolchain even when 64-bit is found on 64-bit systems
      
      Change-Id: I7a440b88c47f80b65290fb954c627fad41927d73
      372e41c8
  14. 04 Oct, 2012 1 commit
    • Logan Chien's avatar
      Use -gcc-toolchain to specify the GCC toolchain. · 7ef219f1
      Logan Chien authored
      Use -gcc-toolchain to specify the GCC toolchain
      instead of -B option.
      
      Note: -B option is not working well because Clang
      will choose to use /usr/bin/gcc if its version is
      newer than our prebuilt binaries.
      
      Change-Id: I7b53cf07323614a304875729c9a05332fd0648a6
      7ef219f1
  15. 12 Sep, 2012 1 commit
  16. 30 Aug, 2012 1 commit
  17. 27 Aug, 2012 2 commits
  18. 23 Aug, 2012 1 commit
  19. 20 Aug, 2012 1 commit
    • Jason Lin's avatar
      Fix wrong build commands when using multiple ABIs. · 19c0e0ec
      Jason Lin authored
      The build commands must use lazy assignment, because these
      commands may be redefined in setup.mk for different ABI and
      toolchain. Without this change, NDK alway uses the commands
      defined in the last included setup.mk but not the correct ones.
      19c0e0ec
  20. 28 Jun, 2012 1 commit
    • Andrew Hsieh's avatar
      Remove *LDSCRIPT_X and *LDSCRIPT_XSC · 2723aa40
      Andrew Hsieh authored
      *LDSCRIPT_X[SC] are no longer needed since MIPS patches of linker
      scripts are merged into toolchain repo.
      
      Change-Id: I2007476a8e37334b28a37d1666a16b343cb41d4b
      2723aa40
  21. 13 Jun, 2012 1 commit
  22. 17 May, 2012 1 commit
  23. 16 Apr, 2012 1 commit
  24. 06 Apr, 2012 1 commit
  25. 03 Apr, 2012 1 commit
  26. 17 Feb, 2012 1 commit
  27. 21 Sep, 2011 1 commit
    • David 'Digit' Turner's avatar
      Add LOCAL_CPP_FEATURES support to Android.mk · c55bfcf6
      David 'Digit' Turner authored
      This is a new variable that can be used to specify that a
      given module relies on C++ exceptions or RTTI.
      
      This is done for several reasons:
      
      - First, we want to avoid always linking GNU libsupc++
        to every final binary, because we're soon going to
        provide an alternative.
      
      - Second, it is useful to declare prebuilt binaries that
        have been compiled with these features. It allows the
        final link to work correctly.
      
      Note that the change is backwards-compatible. You can still
      use -frtti or -fexceptions in your compiler flags to enable
      the features too.
      
      Change-Id: I24b28935e4446c55b169d35990ec2a379ac08500
      c55bfcf6
  28. 05 Aug, 2011 1 commit
  29. 14 Jul, 2011 1 commit
    • David 'Digit' Turner's avatar
      Fix multi-abi build. · d7ea04d2
      David 'Digit' Turner authored
      This patch fixes multi-ABI builds, i.e. when using something like:
      
        APP_ABI := armeabi x86
      
      In your Application.mk or even the command-line when calling ndk-build.
      
      + Fix missing libgcc in the toolchain setup scripts. This is required to ensure
        that the generated shared library / binary includes all libgcc symbols it
        depends on.
      
      Change-Id: I19bb26c8b59901f46af1bb27a1ec4fba62b1dbcc
      d7ea04d2
  30. 03 Jul, 2011 1 commit
  31. 01 Jul, 2011 1 commit
    • David 'Digit' Turner's avatar
      Fix x86 ABI · ad81f2fa
      David 'Digit' Turner authored
      This patch fixes the x86-4.4.3 compiler flags to enforce the x86 ABI
      properly. Also update CPU-ARCH-ABIS.html to make the ABI definition
      more clear and explicit.
      
      Change-Id: Id6532f0f5f9cc76ae21a66606b0eb0aee5a71409
      ad81f2fa
  32. 08 Jun, 2011 1 commit
  33. 17 May, 2011 1 commit
  34. 28 Apr, 2011 1 commit
  35. 01 Apr, 2011 1 commit
  36. 09 Mar, 2011 1 commit
  37. 22 Feb, 2011 1 commit
  38. 16 Feb, 2011 1 commit
  39. 04 Feb, 2011 1 commit