Dear Andrew, I find the compiler from android and http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/both build cross compile just use static library. So they dont depend on dynamic library and can be changed the path. This is the result after i compile kernel by compile from www.mentor.com(you can see the "static linked"), and i check the script in the source code of mentor's compile, i'm sure they only use static libraies. ---------------------------------------------------- [Lee]~/source/3.0.30$ file vmlinux vmlinux: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, BuildID[sha1]=0xe1b9d7b6e9edc66715eb1b4d47bf983fa9ff6745, not stripped ---------------------------------------------------- But when i build libraries as static, the library cloog-ppl-0.15.11 cannot be built passed, so much errors. Now i'm very very confused.
On Fri, May 25, 2012 at 12:33 AM, Andrew Bradford < [email protected]> wrote: > On Thu, 24 May 2012 22:45:10 +0800 > lee sudo <[email protected]> wrote: > > > 1, You can get android's C toolchain there: > > > > git clone https://android.googlesource.com/platform/prebuilt > > /prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/ > > (FROM: http://source.android.com/source/building-kernels.html) > > Thanks, I did. > > > 2, >try building your toolchain with relative paths > > HOW to? > > (You can modify my script direct) > > Sorry, I don't know. Read through the GCC manual [1] for the version > of GCC you want to use, it should say how to. > > [1]: http://gcc.gnu.org/onlinedocs/ > > -Andrew > -- Thanks & BR, sudolee
_______________________________________________ Clfs-dev mailing list [email protected] http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
