[IPOL discuss] minor comment about gcc in linux vs mac and libm

Juan Cardelino juanc at fing.edu.uy
Sat Aug 31 16:23:56 CEST 2013


Dear all,
          I've recently had some trouble compiling IPOL related code coming
from OSX. Apparently, gcc used to link against libm by default, but that
behaviour changed. In gcc 4.7.3 coming with ubuntu, this is not the case
anymore. Thus, many programs are now broken, and need to be fixed using -lm.
OSX users won't notice since their gcc (or clang) still includes libm by
default.
I suggest that we start linking explicitely against libm, in particular
those working in mac.
Best,
        Juan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tools.ipol.im/mailman/archive/discuss/attachments/20130831/d4fbd3c4/attachment.html>


More information about the discuss mailing list