Changeset 1551 for trunk/coin.m4


Ignore:
Timestamp:
May 12, 2010 7:05:47 AM (11 years ago)
Author:
stefan
Message:

do not set FLIBS to -link /NODEFAULTLIB:libc.lib, since it seem to be not necessary with VS >= 8 and breaks builds where linker flags are reordered at the linkline (or where someone does not take special care that gets to the end

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r1547 r1551  
    14051405  # However, this seem to create a dependency on libifcorert.dll (or libifcorertd.dll) in the executables.
    14061406  # This is seem to be unnecessary, libifcorert(d).lib has been removed from the link line.
     1407  # Further, excluding libc.lib from the default libs seemed to be necessary only for VS < 8.
     1408  # Since the corresponding flag seems to make more trouble that it avoid, it has been removed now.
    14071409     *-cygwin* | *-mingw*)
    14081410       case "$F77" in
    1409          ifort* | */ifort* | IFORT* | */IFORT*)
    1410            FLIBS="-link $LIBS /NODEFAULTLIB:libc.lib"
     1411#         ifort* | */ifort* | IFORT* | */IFORT*)
     1412#           FLIBS="-link $LIBS /NODEFAULTLIB:libc.lib"
    14111413#           if "$coin_debug_compile" = true ; then
    14121414#             FLIBS="-link $LIBS /NODEFAULTLIB:libc.lib /NODEFAULTLIB:libcmt.lib"
     
    14141416#             FLIBS="-link $LIBS /NODEFAULTLIB:libc.lib /NODEFAULTLIB:libcmtd.lib"
    14151417#           fi
    1416            ;;
     1418#           ;;
    14171419         compile_f2c*)
    14181420           FLIBS=`$F77 -FLIBS` ;;
     
    14261428         pgf77* | */pgf77* | pgf90* | */pgf90*)
    14271429# ask linker to go through the archives multiple times
    1428 # (the Fortran compiler seems to do that automatically...
     1430# (the Fortran compiler seems to do that automatically...)
    14291431           FLIBS="-Wl,--start-group $FLIBS -Wl,--end-group" ;;
    14301432       esac
Note: See TracChangeset for help on using the changeset viewer.