coin-or-tools / BuildTools

Macros and patches for GNU autotools
https://coin-or-tools.github.io/BuildTools/
Other
3 stars 7 forks source link

support cl version 16 #94

Closed svigerske closed 5 years ago

svigerske commented 5 years ago

Issue created by migration from Trac.

Original creator: @svigerske

Original creation time: 2012-02-05 17:54:34

Assignee: @svigerske

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.

svigerske commented 5 years ago

Comment by @svigerske created at 2012-05-16 20:19:57

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

svigerske commented 5 years ago

Comment by @svigerske created at 2013-04-22 18:03:06

Resolution: worksforme