Building Cross Toolchain for ARM with softfloat support
jeroen dobbelaere
jeroen.dobbelaere@acunia.com
Thu Feb 28 02:47:00 GMT 2002
Thomas Gleixner wrote:
> On Thursday, 28. February 2002 11:06, jeroen dobbelaere wrote:
>
>>For gcc-3, you should configure with '--enable-languages=c', then use
>>'make' and 'make install' In order for the '--with-inhibit-libc' to work,
>>you should have a file 't-inhibit-libc' in gcc-3.0.4/gcc/config/arm/
>>(created by the softfloat patch)
>>
> The file is there
> Result same as before.
> --
> Thomas
> _________________________________________________
> Thomas Gleixner, autronix automation GmbH
> auf dem berg 3, d-88690 uhldingen-muehlhofen
> fon: +49 7556 919891 , fax: +49 7556 919886
> mail: gleixner@autronix.de, http://www.autronix.de
>
>
Try this :
- install linux headers in ${INSTALL_DIR}/arm-linux/include
- compile/install binutils
- gcc :
rm -rf ${BUILD_DIR}/gcc-3/libchill
rm -rf ${BUILD_DIR}/gcc-3/libf2c
rm -rf ${BUILD_DIR}/gcc-3/libio
rm -rf ${BUILD_DIR}/gcc-3/libobjc
rm -rf ${BUILD_DIR}/gcc-3/libstdc++
../gcc-3/configure --prefix=${INSTALL_DIR} \
--target=${TARGET_ARCH} --with-cpu=xscale \
--program-transform-name=s,^,arm-linux-, \
--without-fp --with-softfloat-support=internal --with-newlib --enable-languages="c" \
--disable-threads --disable-shared --enable-static \
--with-inhibit-libc \
--with-headers=${INSTALL_DIR}/arm-linux/include
make
make install
- compile glibc
- reextract gcc sources, configure like this :
../gcc-3/configure --prefix=${INSTALL_DIR} \
--target=${TARGET_ARCH} --with-cpu=xscale \
--program-transform-name=s,^,arm-linux-, \
--without-fp --with-softfloat-support=internal --enable-languages=c,c++ \
--enable-threads=posix \
--with-headers=${INSTALL_DIR}/arm-linux/include
make
Greetings,
--
Jeroen Dobbelaere
Embedded Software Engineer
ACUNIA Embedded Solutions
http://www.acunia.com
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list