[BuildTools-tickets] [BuildTools] #60: compiler flags for compile_f2c
BuildTools
coin-trac at coin-or.org
Fri Feb 15 07:01:48 EST 2008
#60: compiler flags for compile_f2c
-------------------+--------------------------------------------------------
Reporter: stefan | Owner: andreasw
Type: task | Status: new
Priority: minor | Component: configuration tests
Version: 0.5 | Keywords:
-------------------+--------------------------------------------------------
Hi,
when I do an optimized build with cl then the compiler flags for cl are
set to include -MT, thus the objects want to be linked against LIBCMT.lib.
When I also use compile_f2c to build the fortran code, then this script
also calls cl, but without setting extra flags, thus the objects from
fortran code want to be linked against LIBC.lib.
Hopefully this will just result in warnings, but it's also a potential
cause for problems.
A workaround is to specify FFLAGS="-MT" on the command line, but maybe it
is possible to improve the build system in the way that it does something
like FFLAGS=$CFLAGS in case F77=compile_f2c?
Best,
Stefan
--
Ticket URL: <https://projects.coin-or.org/BuildTools/ticket/60>
BuildTools <http://projects.coin-or.org/BuildTools>
Tools for configuring and compiling COIN-OR codes
More information about the BuildTools-tickets
mailing list