Crosscompiler: gcc 3.1 on linux for sparc + buildscript
Corrado Giacomini
Corrado.Giacomini@trema.com
Thu Jun 27 05:00:00 GMT 2002
I have build a gcc3.1 cross compiler for sparc solaris but I have some
concerns about the way I am build the compiler..
Basically the script can create a cross compile using gcc-3.0.4 or
gcc-3.1 distribution plus binutils-2.12.tar.
Here are my concerns:
When using gcc-3.0.4 I need to patch the distributed
gcc-3.0.4/libstdc++-v3/configure.in file in order to pickup the right
bits headers file
see previous posting on this mailing list
http://sources.redhat.com/ml/crossgcc/2002-q2/msg00077.html).
I am pretty sure here in what I am doing, so no problem..
When using gcc-3.1 I have a similar patch to apply to
gcc-3.1/libstdc++-v3/configure.in file but this time the patch will
also switch off
these line from configure.in
AC_DEFINE(HAVE_ACOSF)
AC_DEFINE(HAVE_ASINF)
AC_DEFINE(HAVE_ATAN2F)
AC_DEFINE(HAVE_ATANF)
AC_DEFINE(HAVE_CEILF)
AC_DEFINE(HAVE_COPYSIGN)
AC_DEFINE(HAVE_COPYSIGNF)
AC_DEFINE(HAVE_COSF)
AC_DEFINE(HAVE_COSHF)
AC_DEFINE(HAVE_EXPF)
AC_DEFINE(HAVE_FABSF)
AC_DEFINE(HAVE_FINITE)
AC_DEFINE(HAVE_FINITEF)
AC_DEFINE(HAVE_FLOORF)
AC_DEFINE(HAVE_FMODF)
AC_DEFINE(HAVE_FREXPF)
AC_DEFINE(HAVE_ISINF)
AC_DEFINE(HAVE_ISINFF)
AC_DEFINE(HAVE_ISNAN)
AC_DEFINE(HAVE_ISNANF)
AC_DEFINE(HAVE_LDEXPF)
AC_DEFINE(HAVE_LOG10F)
AC_DEFINE(HAVE_LOGF)
AC_DEFINE(HAVE_MODFF)
AC_DEFINE(HAVE_POWF)
AC_DEFINE(HAVE_SINF)
AC_DEFINE(HAVE_SINHF)
AC_DEFINE(HAVE_SQRTF)
AC_DEFINE(HAVE_TANF)
AC_DEFINE(HAVE_TANHF)
If I don't do that I will fall into compilation errors like those posted
in message (http://sources.redhat.com/ml/crossgcc/2002-q2/msg00351.html)
can somebody tell me if is acceptable to patch the configure.in file in
this way ?
-Corrado
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_gcc304_libstdc_configure.in
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20020627/a2b8c4bf/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_gcc31_libstdc_configure.in
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20020627/a2b8c4bf/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: build-crossgcc.sh
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20020627/a2b8c4bf/attachment-0002.ksh>
-------------- next part --------------
------
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