bug-glpk
[Top][All Lists]
Advanced

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

[Bug-glpk] [Fwd: Re: [Fwd: Patch for correct detection of iodbc flags]]


From: Andrew Makhorin
Subject: [Bug-glpk] [Fwd: Re: [Fwd: Patch for correct detection of iodbc flags]]
Date: Wed, 26 Mar 2014 20:39:12 +0400

-------- Forwarded Message --------
From: Sébastien Villemot <address@hidden>
To: Heinrich Schuchardt <address@hidden>
Cc: Andrew Makhorin <address@hidden>, address@hidden
Subject: Re: [Bug-glpk] [Fwd: Patch for correct detection of iodbc
flags]
Date: Wed, 26 Mar 2014 17:20:55 +0100

Le mercredi 26 mars 2014 à 16:45 +0100, Heinrich Schuchardt a écrit :
> Hello Sébastien,
> 
>  > There is therefore the need for glpk to give the corresponding -I flag
>  > to the compiler. The best way seems to call "iodbc-config --cflags",
>  > which will return the correct flags in all cases.
> 
> iodbc-config is also available on other Posix platforms like Fedora, 
> OSX, and Ubuntu. So this seems to be a globally valid solution.
> 
> Shouldn't we also use
> iodbc-config --libs
> to get the linker flags?

Indeed, that could make sense too. Note however that on my machine, this
option also returns libraries to be linked with…

$ iodbc-config --libs
-L/usr/lib  -liodbc -liodbcinst

…so you'll probably have to adapt the Makefile if you go down that road.

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Developer
`. `'     http://www.dynare.org/sebastien
  `-      GPG Key: 4096R/381A7594






reply via email to

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