Creating crosscompiler for x86_64 target
Posted: Thu Nov 08, 2007 1:38 am
Hi guys,
For the last week I've tried to create a cross compiler , target = x86_64-pc-linux-gnu , using all the scripts (kegel, crosstool-ng, etc...) and manuals on the web , NOTHING worked .
Also i've tried all the gcc-binutils-glibc combinations :
* gcc : 3.6.X to 4.2X
* glibc : 2.3 to 2.7
* binutils : 2.15 to 2.18
Each script/versions fails on different script message or compiler errors.
Here is my linux host and the gcc version :
$ uname -a
Linux 2.6.20-1.2319.fc5smp #1 SMP Mon May 21 20:11:15 EDT
2007 i686 i686 i386 GNU/Linux
$ gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)
if you know any working crosstool script or manual that is working with these version and on fc5. that will compile toolchain that will support shared glibc with c and c++ languages it will be great help.
Also if you know/have prebuilt toolchain to download it wiil be great also.
Thanks in advance.
Oren.
For the last week I've tried to create a cross compiler , target = x86_64-pc-linux-gnu , using all the scripts (kegel, crosstool-ng, etc...) and manuals on the web , NOTHING worked .
Also i've tried all the gcc-binutils-glibc combinations :
* gcc : 3.6.X to 4.2X
* glibc : 2.3 to 2.7
* binutils : 2.15 to 2.18
Each script/versions fails on different script message or compiler errors.
Here is my linux host and the gcc version :
$ uname -a
Linux 2.6.20-1.2319.fc5smp #1 SMP Mon May 21 20:11:15 EDT
2007 i686 i686 i386 GNU/Linux
$ gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)
if you know any working crosstool script or manual that is working with these version and on fc5. that will compile toolchain that will support shared glibc with c and c++ languages it will be great help.
Also if you know/have prebuilt toolchain to download it wiil be great also.
Thanks in advance.
Oren.