[BuildTools-tickets] [BuildTools] #32: How to add Fortran compiler
when linking
BuildTools
coin-trac at coin-or.org
Thu Nov 2 20:39:22 EST 2006
#32: How to add Fortran compiler when linking
------------------------+---------------------------------------------------
Reporter: kmartin | Owner: andreasw
Type: enhancement | Status: new
Priority: minor | Component: configuration tests
Version: 0.5 | Keywords: Fortran Ipopt
------------------------+---------------------------------------------------
Hi:
My project links to Ipopt libs. On Linux no problem -- on Mac OS X I need
to explicitly put a link to the FORTRAN compiler when building my
unitTest. Here is what I do in Makefile.am
if COIN_HAS_IPOPT
LIBS += -l$(F77)
endif
This seems to work fine. Here is my question: is this the best way to do
this? I am worried that this might not work on some platforms.
Thanks
--
Ticket URL: <https://projects.coin-or.org/BuildTools/ticket/32>
BuildTools <http://projects.coin-or.org/BuildTools>
Tools for configuring and compiling COIN-OR codes
More information about the BuildTools-tickets
mailing list