[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] [Fwd: Build glpk as a shared library on Cygwin, MinGW an

From: Heinrich Schuchardt
Subject: Re: [Help-glpk] [Fwd: Build glpk as a shared library on Cygwin, MinGW and similar systems]
Date: Mon, 03 Nov 2014 23:35:01 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0

Hello Andrew,

I tested with Cygwin64 on Windows Vista. Without the patch no DLL is built, the GLPK library is statically compiled into glpsol.exe. With the patch the GLPK library is built as DLL and dynamically linked into glpsol.exe.

So I suggest to integrate the patch with the next release.

Best regards

Heinrich Schuchardt

On 03.11.2014 21:29, Jean-Pierre Flori wrote:

2014-11-03 21:24 GMT+01:00 Heinrich Schuchardt <address@hidden>:
Hello Marco,

why do you want to build with no-undefined?

Why do you think this makes sense for Cygwin and MinGW only and not

Because on Cygwin/MinGW for shared libraries, all symbols must be
resolved at build time.
Undefined symbols are not allowed.
Therefore at soe point the libtool folks decided that by default you
cannot build a shared library without specifying that you promise that
every symbol will be available and pass the -no-undefined flag (to
Note that before you did not have to specify the flag...
On other systems, the flag is usually useless and can even be harmful
combined with other flags dealing with undefined symbols though it
rarely happens.

Jean-Pierre Flori

reply via email to

[Prev in Thread] Current Thread [Next in Thread]