[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wfmath



Am Montag, 21. Oktober 2002 09:03 schrieb Thiemo Seufer:
> Michael Koch wrote:
> [snip]
>
> > The problem was that the auto*-tools dont link a libstdc++ lib in
> > by default. I dont know why, my sponsor dont know too,
> > debian-mentors didnt helped too. So I added "LDFLAGS=-lstdc++" to
> > get it link during build time and to get a dependency on it
> > automatically.
>
> 'info autoconf' warns about this and recommends the use of LIBS.
>
> > Now I wonder if I should remove this hack or extend this hack by
> > integrating the "LDFLAGS += -lm" hack ? What is better ?
> >
> > If someone know a way to fix the linkage of the lib that would be
> > the best way of course.
>
> See AC_CHECK_LIB in 'info autoconf'.

then I should use this ?

LIBS="-lstdc++"

and on mips/el:

LIBS += "-lm"



Michael
-- 
Homepage: http://www.worldforge.org/
GPG-key: http://konqueror.dyndns.org/~mkoch/michael.gpg



Reply to: