LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   Using Kegel's Cross tool builder (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/using-kegels-cross-tool-builder-696500/)

zvivered 01-11-2009 10:09 AM

Using Kegel's Cross tool builder
 
It seems Kegel's cross tool builder is a great tool.
Is it possible to use the tool but build only gcc and binutils ?
I don't want to build linux,gdb,glibc and install linux headers.
I need toolchain for building uboot only.

Thanks.

knudfl 01-29-2009 04:57 AM

A compiler without a dedicated 'glibc' will not work.
( Imagine it would, then you have no x86_64-glibc on
your target board and the appplications would never work. )
'Newlib' can be used instead of 'glibc', is much easier to build,
but you will miss a few glibc headers, which probably should be
from the 'libc' already used on the target.
Some kernel-headers are needed too, they better be from the kernel
used on the target.

Please read pinniped's comment here ( cross compiling )
http://www.linuxquestions.org/questi...6/highlight#11
Start by reading the 'LFS' book and learning how to build a system,
then move on to the 'CLFS' book which shows you how to cross-build.
....
....
http://www.linuxquestions.org/questi...e-read-701224/


All times are GMT -5. The time now is 07:56 PM.