On 05/04/11 12:26, Vaisakh P S wrote:
Hi All,
The Android Project Page has the build system for making custom tool
chain, For eg:
toolchain/binutils.git
toolchain/build.git
toolchain/gcc.git
toolchain/gdb.git
toolchain/gmp.git
toolchain/gold.git
toolchain/mpc.git
toolchain/mpfr.git
What is the difference between these toolchains and the standard GNU
Cross compiler ones???
I don't know whether that is all there is to it (there might, actually,
be something special here), but I'm not familiar with "standard GNU
Cross compiler". Most times, you use a cross compiler pretty much
tailored to your specific requirement.
In this particular case, the tool chain need to link with bionic by
default, and not glibc/eglibc/newlib/uclibc/whatever. That might be it.
Android might also have a non-standard entry code. I don't know for sure.
If I have to make use of gcc 4.6 or any other
tool chain, what do I need to change in them???
I have, in the past, successfully ran statically linked executables
compiled with a standard glibc ARM cross compiler, so I'm guessing that,
aside from the bionic angle, that this is a fairly standard toolchain.
If memory serves me right, crosstool-ng has experimental support for
bionic (but not sure it has support for GCC 4.6).
Shachar
--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting