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]

Re: [PATCH 1 of 1] complibs/cloog: with static ppl,D Aœorrectly link with libm


Hi,

On Thu, Aug 5, 2010 at 6:18 PM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
> [...]
> ? ? ? ? cloog_opts+=( --disable-shared --enable-static )
> - ? ? ? ?cloog_LDFLAGS='-lstdc++'
> + ? ? ? ?cloog_LDFLAGS='-lstdc++ -lm'
> ? ? fi
>
> ? ? CFLAGS="${CT_CFLAGS_FOR_HOST}" ? ? ? ? ? ? ?\
>
as a side note, this will be needed if one expect to use ct-ng on
NetBSD. There has been a bug in 5.x which was fixed later on.

Beside that, 2 questions:
 - does the missing symbols concerns libstdc++, from what I see in the
errors triggered, the missing symbols come from ppl; wouldn't "-lm
-lstdc++" do the job as well ?
 - didn't  you forgot the cc/gcc.sh part ?

Thanks,
 - Arnaud

--
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]