[BuildTools-tickets] [BuildTools] #112: build shared libraries on Windows

BuildTools coin-trac at coin-or.org
Sun Oct 21 19:49:22 EDT 2018


#112: build shared libraries on Windows
-----------------------------+---------------------------
Reporter:  stefan            |       Owner:  stefan
    Type:  defect            |      Status:  assigned
Priority:  major             |   Component:  build system
 Version:  trunk             |  Resolution:
Keywords:  autotools-update  |
-----------------------------+---------------------------

Comment (by stefan):

 This presumption is wrong. The compile wrapper is taken into consideration
 and cl is correctly detected. This results in the line
 {{{
 checking dynamic linker characteristics... Win32 link.exe
 }}}
 in the output of configure.

 However, there is another round of checks coming right after, which seems
 to reset things to "Win32  ld.exe":
 {{{
 checking whether the /home/stefan/Osi-au/Osi/CoinUtils/compile cl linker
 (/bin/ld) supports shared libraries... yes
 checking dynamic linker characteristics... Win32 link.exe
 checking how to hardcode library paths into programs... immediate
 checking if libtool supports shared libraries... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... no
 checking for unavailable option to produce PIC... -DDLL_EXPORT
 checking if unavailable PIC flag -DDLL_EXPORT works... no
 checking if unavailable static flag  works... no
 checking if unavailable supports -c -o file.obj... no
 checking if unavailable supports -c -o file.obj... (cached) no
 checking whether the unavailable linker (/bin/ld) supports shared
 libraries... yes
 checking dynamic linker characteristics... Win32 ld.exe
 }}}
 Maybe this is due to the Fortran compiler, which I do not have available
 on my setup.

--
Ticket URL: <https://projects.coin-or.org/BuildTools/ticket/112#comment:8>
BuildTools <http://projects.coin-or.org/BuildTools>
Tools for configuring and compiling COIN-OR codes



More information about the BuildTools-tickets mailing list