"Bill Page" <[EMAIL PROTECTED]> writes: | Gaby, | | Recently when building on Solaris x86 I found that I also needed the | '-lm' option in the Makefile for | | src/graph/viewAlone/Makefile | | ! AXIOM_X11_LDFLAGS = -L/usr/openwin/lib -R/usr/openwin/lib -lm -lXpm | -lSM -lICE | -lX11 | | and | | src/graph/viewman/Makefile | | ! viewman_LDFLAGS = -lm $(axiom_target_libdir)/libspad.la \ | $(axiom_target_libdir)/libopen-axiom-core.$(DLLEXT) | | Apparently the change to LDF is not quite sufficient in these two | cases. I still think the autoconf test is the best way to go.
Maybe we should just supply the -lm everywhere -- even if we don't use math functions directly, some other libraries might drag them in. I never quite understood the logical reason why modern C compilers writers still separate the math functions from the rest. That is absurd and invitation for chaos. -- Gaby ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ open-axiom-devel mailing list open-axiom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-axiom-devel