Opened 8 years ago

Closed 6 years ago

#94 closed enhancement (worksforme)

support cl version 16

Reported by: stefan Owned by: stefan
Priority: major Component: build system
Version: trunk Keywords:
Cc:

Description

Ted reports, that building with MS compiler version 16 does not work anymore, because the deprecated -o option has finally been removed.

One may patch libtool to use -Fo and co. instead.

Change History (2)

comment:1 Changed 7 years ago by stefan

I cannot confirm that it does not work anymore.

I did a checkout of CoinUtils/trunk and successfully build it with cl 16.00.40219.01 under cygwin.

The only problem I had was that the content of the lock-file created when compiling a source file was not as expected by libtool due to some mismatching between unix and windows style paths. However, after replacing need_locks=warn by need_locks=no in libtool, things seem to have worked fine.

I have not tried a larger project.

An additional note: When compiling sources for a library, libtool is used, which seem to filter out the -o flag. When compiling sources that only go into a binary (e.g., make test), libtool does not seem to be used and the -o flag is passed to the compiler. But also with cl 16, there was "only" a warning that the -o option is deprecated and will be removed later.

Stefan

comment:2 Changed 6 years ago by stefan

  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.