crosstool build breaks at CLoog/ppl on Fedora 13
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Thu Aug 5 16:36:00 GMT 2010
Darcy, All,
On Thursday 05 August 2010 18:19:07 Darcy Watkins wrote:
> 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!
Ah, yes, sure. Forgot that one. Thanks for testing! :-)
Did you happen to also test the other one?
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list