[Top][All Lists]

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

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

From: Andrew Makhorin
Subject: Re: [Bug-glpk] [Fwd: Patch for correct detection of iodbc flags]
Date: Thu, 27 Mar 2014 17:49:28 +0400

Hi Sébastien,

Thank you for the patch.

Should I apply the one you posted to the list yesterday or wait for
another one according to Xypron's comments? (Sorry, this is a bit Greek
to me.) Thanks.

Andrew Makhorin

On Wed, 2014-03-26 at 17:20 +0100, Sébastien Villemot wrote:
> 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.

reply via email to

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