[discuss] Problem building cross compiler for x86_64

Jan Beulich JBeulich@novell.com
Thu Jan 19 11:18:00 GMT 2006


Why would you need to build glibc when you want a cross compiler?

>>> Manish Katiyar <mkatiyar@gmail.com> 19.01.06 09:02:38 >>>
Hi,
 I am trying to buid cross compiler for x86_64 on a 32 bit SLES 9 machine
for the first time but my build breaks due to the following error. I tried
searching google but couldn't get any help. Following are the last few
lines before my build breaks. Please help me as I am new to cross
compilation and
the exact steps that I need to overcome this error. The output is from a
script which i downloaded from net.

cd glibc-build
libc_cv_ppc_machine=yes
../glibc-2.3.4/configure --prefix=/usr --build=i686-pc-linux-gnu
--host=x86_64-unknown-linux-gnu
--with-headers=/opt/x86_64-unknown-linux-gnu-root/usr/include
--without-cvs --disable-profile --disable-debug --without-gd
--enable-add-ons=linuxthreads --with-tls --without-__thread
--enable-kernel=2.4
checking build system type... i686-pc-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
running configure fragment for add-on linuxthreads
libc_cv_ppc_machine=yes
make -k cross-compiling=yes install-headers
install_root=/opt/x86_64-unknown-linux-gnu-root
make: *** No rule to make target `install-headers'.

Thanks in advance.

--
Thanks & Regards,
********************************************
Manish Katiyar
Ozone 2, SP Infocity (Software Park),
New Survey #208 Manjari Stud Farms Ltd.,
Phursungi Village, Haveli Taluka, Saswad Road,
Hadapsar, Pune - 412308, India
***********************************************

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org



More information about the crossgcc mailing list