This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi Yann, I tried your first patch on 1.7.2 and got past the error only to run into the same error on gcc core static. I had to add the same sort of patch to gcc.sh (see below). --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -155,7 +155,7 @@ do_cc_core() { # the libstdc++ is not pulled automatically, although it # is needed. Shoe-horn it in our LDFLAGS if [ "${CT_COMPLIBS_SHARED}" != "y" ]; then - core_LDFLAGS='-lstdc++' + core_LDFLAGS='-lstdc++ -lm' fi if [ "${CT_CC_GCC_USE_GMP_MPFR}" = "y" ]; then extra_config+=("--with-gmp=${CT_COMPLIBS_DIR}") @@ -330,7 +330,7 @@ do_cc() { # the libstdc++ is not pulled automatically, although it # is needed. Shoe-horn it in our LDFLAGS if [ "${CT_COMPLIBS_SHARED}" != "y" ]; then - final_LDFLAGS='-lstdc++' + final_LDFLAGS='-lstdc++ -lm' fi if [ "${CT_CC_GCC_USE_GMP_MPFR}" = "y" ]; then extra_config+=("--with-gmp=${CT_COMPLIBS_DIR}") Then it built OK. Thanks! Regards, Darcy -----Original Message----- From: Yann E. MORIN [mailto:yann.morin.1998@anciens.enib.fr] Sent: Wednesday, August 04, 2010 2:37 PM To: crossgcc@sourceware.org Cc: Darcy Watkins Subject: [Spam Bayesian - ] - Re: crosstool build breaks at CLoog/ppl on Fedora 13 - Bayesian Filter detected spam Darcy, All, On Wednesday 04 August 2010 22:01:22 Darcy Watkins wrote: > Crosstool 1.7.0 worked fine for me using Fedora 10. After upgrade to > Fedora 13, I started seeing errors like the below. The output below is > actually after I updated to crosstool 1.7.2. There has been no change for CLooG/PPL between 1.7.0 and 1.7.2. Anyway, 1.8.0 is out now, but there's been no changes either. --snip!-- -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |