8 years agoBuild libbfd for host seperately and install in <toolchain root>/lib.
Doug Kwan [Mon, 14 Mar 2011 03:55:27 +0000]
Build libbfd for host seperately and install in <toolchain root>/lib.

Change-Id: I05125f833a9ffc4172594431eff5bce34e2e2d65

8 years agoInstall host libbfd in toolchain.
Doug Kwan [Sat, 12 Mar 2011 22:02:24 +0000]
Install host libbfd in toolchain.

Change-Id: I9c9a4703ebebc44c7df75594c85dc443394a2426

8 years agoAllow canadian-cross builds of the GCC toolchains.
David 'Digit' Turner [Tue, 30 Nov 2010 17:21:39 +0000]
Allow canadian-cross builds of the GCC toolchains.

This patch allows one to use the "mingw32" cross-compiler on Linux
in order to generate Windows compiler binaries that target ARM machine
code.

This corresponds to the local NDK patch at:

http://android.git.kernel.org/?p=platform/ndk.git;a=tree;f=build/tools/toolchain-patches/build;h=df69b5702a33686574b0d83b94c27e6209036a57;hb=refs/heads/master

Which has been rebased to the AOSP top-of-tree.

Change-Id: Id4843f66af190c9db02e8f7939045e92e6241ba8

8 years agoSupport building gold from a separate directory.
Jing Yu [Mon, 31 Jan 2011 06:41:02 +0000]
Support building gold from a separate directory.

Before, we built binutils and gold from binutils-2.19.
Now we configure Android toolchain (not for kernel use)
--with-binutils-version=2.20.1
--with-gold-version=20100303
--enable-gold=both/gold

Gold is still the default linker. Command line option "-fuse-ld=bfd"
will tell gcc driver to choose gnu ld linker.

Change-Id: I856892fafee7e53332c6b64f5d2e64d744529902

8 years agobuild: Fix trivial documentation typo
Jim Huang [Fri, 20 Aug 2010 15:30:37 +0000]
build: Fix trivial documentation typo

Change-Id: Ib80c6d91450a5751867cb904b265e21a9dbbb710

8 years agoAllow Makefile to pick up environmental CFLAGS_FOR_TARGET, and
Jing Yu [Thu, 12 Aug 2010 22:52:15 +0000]
Allow Makefile to pick up environmental CFLAGS_FOR_TARGET, and
CXXFLAGS_FOR_TARGET. So that libstdc++_v3 libraries can be built
without modifying the Makefiles.

Change-Id: I569febd84a1bf60b15b19030064b4d9996c93bb0
Tested:
  export CFLAGS_FOR_TARGET=-fexceptions
  export CXXFLAGS_FOR_TARGET=-frtti
  Add --enable-libstdc__-v3 to the configuration command, build a C++
  supportive toolchain.

8 years agoAdd 'distclean' rule to delete intermediate build files
Jim Huang [Wed, 11 Aug 2010 04:08:30 +0000]
Add 'distclean' rule to delete intermediate build files

This build rule might be useful to developers who wish to switch among
different Android targets.

Change-Id: I412d7e8f69710dd9d421f21fa7d93bed80642834

8 years agoModify clear_header script to recognize arm-linux-androideabi
Jing Yu [Tue, 10 Aug 2010 17:12:29 +0000]
Modify clear_header script to recognize arm-linux-androideabi
target.

Change-Id: Id5a5cf94abffd7a8186fa23eb1b485a670c3fa92

8 years agoPrepare build for upcoming arm-linux-androideabi toolchain.
Jing Yu [Thu, 22 Jul 2010 21:27:24 +0000]
Prepare build for upcoming arm-linux-androideabi toolchain.

Change-Id: I9b1cd5f0d361d092c24557ae1a2e2e2b85b13aaf

8 years agoAdd --disable-nls to building gdb, otherwise gdb-7.0.x fails
Jing Yu [Tue, 8 Jun 2010 21:48:40 +0000]
Add --disable-nls to building gdb, otherwise gdb-7.0.x fails
building on OSX.

Change-Id: I54f923f7656ac2f2a7e4a8dc0a07c43bb4cfb05d

9 years agoUpdate build script to support gold.
Jing Yu [Sun, 25 Apr 2010 03:44:35 +0000]
Update build script to support gold.

Change-Id: Ie2084dfac8d1a267973650aa32e44f2a7c7bd4ab

9 years agoFix two configure bugs on checking gcc version and configuring mpc.
Jing Yu [Wed, 10 Feb 2010 00:19:33 +0000]
Fix two configure bugs on checking gcc version and configuring mpc.
Add flexibility of where to find tarballs.
Ported from CL38191-p2 and CL38139-p2.

9 years agoAdd --with-mpc-version to the build script.
Jing Yu [Mon, 18 Jan 2010 21:58:14 +0000]
Add --with-mpc-version to the build script.

GCC-4.5.0 and up requires mpc library.
File configure is generated from configure.ac by auto config.

9 years agoCheck in patches that fix minor toolchain build problems.
Jing Yu [Thu, 19 Nov 2009 01:59:49 +0000]
Check in patches that fix minor toolchain build problems.

9 years agocheck in build scripts for prebuilt toolchains in Eclair.
Jing Yu [Fri, 6 Nov 2009 02:24:23 +0000]
check in build scripts for prebuilt toolchains in Eclair.

9 years agoEmpty initial commit.
Jean-Baptiste Queru [Thu, 29 Oct 2009 17:41:51 +0000]
Empty initial commit.