Hi, Laye
Thanks for your reply.
Show quoted text> The one thing I worry about is, if I simply omit -lm, will it cause a
> link failure on some platform, too? After all, -lm haven't caused
> anything wrong so far.
I recall that in such a case, LIBS => [''] should be merely placed. I'm
not sure.
Show quoted text> Could you please explain more about the potential harm?
With -lm, people might search such a library when the building is failed.
In fact, oops, I searched "m" library in the dark. That was a waste of
time.
Regards,
Taro
On Fri, 14 Mar 2008 23:21:57 -0400
"Laye Suen via RT" <bug-Algorithm-LBFGS@rt.cpan.org> wrote:
Show quoted text>
> <URL:
http://rt.cpan.org/Ticket/Display.html?id=34034 >
>
> Hi, Taro
>
> Thanks for your advice.
>
> The one thing I worry about is, if I simply omit -lm, will it cause a
> link failure on some platform, too? After all, -lm haven't caused
> anything wrong so far.
>
> Could you please explain more about the potential harm?
>
> Thanks,
> Laye
>
> On Wed Mar 12 16:53:44 2008, taro-nishino wrote:
> > Hi, Laye,
> >
> > Since 0.01, I've been worrying about LIBS parameter in WriteMakefile of
> > Makefile.PL; that is, LIBS => ['-lm'].
> > "m" library isn't used anywhere, even though such a library existed.
> > As a result, Makefile.PL displays a following message:
> > Note (probably harmless): No library found for -lm
> >
> > Rather, such the message would be harmful.
> > You should delete LIBS parameter, or give LIBS parameter an empty
> > value: LIBS => [''].
> >
> > Regards,
> > Taro