On 13/03/11 09:33, Vincent Torri wrote:
On Sun, Mar 13, 2011 at 8:57 AM, Jef Driesenjefdrie...@hotmail.com wrote:
On 10/03/11 11:38, Vincent Torri wrote:
You also have to support static linking.
Does pkg-config support static linking? When I tried to build my own
project, which checks
This is not meant to sound like a troll, but: is anyone really
*really* using static linking in 2011?
I use static linking every day for the embedded target.
On Thu, Mar 10, 2011 at 12:03:16PM +, Roger Leigh wrote:
This is not meant to sound like a troll, but: is anyone really
*really* using static linking in 2011?
I use it heavily e.g. to build debug tools for embedded systems where
the rootfs doesn't match my cross-toolchain.
With kind
On Thu, Mar 10, 2011 at 1:03 PM, Roger Leigh rle...@codelibre.net wrote:
[...]
This is not meant to sound like a troll, but: is anyone really
*really* using static linking in 2011?
Yes, in my company we link almost all our own libraries
statically to our own applications. (however, we use some
mi...@gnu.org wrote:
Jef Driesen writes:
Isn't it easier to just check for the presence of the header file and/or
the library file, avoiding pkg-config entirely?
Well, I'd prefer not to guess when possible, and not using pkg-config
for a package that wants you to use it means you end up
Jef Driesen jefdrie...@hotmail.com writes:
I'm aware of the advantage of using pkg-config. I even supply the *.pc
files for my own projects. But the point is that if I want to support
systems that don't have pkg-config installed (like Mac OS X in my
case), I have to provide a fallback with
Miles Bader mi...@gnu.org writes:
I don't even try to fully support systems without pkg-config, I
basically just want a fallback so I can get some sort of build on them,
maybe with some features disabled.
I should note that although this is my tactic, it's not actually a very
important point.
On Thu, Mar 10, 2011 at 10:02 UTC, Jef Driesen jefdrie...@hotmail.com wrote:
I'm aware of the advantage of using pkg-config. I even supply the *.pc
files for my own projects. But the point is that if I want to support systems
that don't have pkg-config installed (like Mac OS X in my case), I
On Thu, Mar 10, 2011 at 11:38:16AM +0100, Vincent Torri wrote:
On Thu, Mar 10, 2011 at 11:02 AM, Jef Driesen jefdrie...@hotmail.comwrote:
mi...@gnu.org wrote:
Jef Driesen writes:
Isn't it easier to just check for the presence of the header file and/or
the library file, avoiding
On Thu, Mar 10, 2011 at 1:53 PM, Jef Driesen jefdrie...@hotmail.com wrote:
You don't have to convince me of the advantages of using pkg-config.
I want to use pkg-config for exactly the same reasons as you explain.
But when I tried to build my project on a system without pkg-config
installed it
Roger Leigh rle...@codelibre.net writes:
This is not meant to sound like a troll, but: is anyone really
*really* using static linking in 2011?
Sure; it's very useful for specialized libraries that won't be widely
used enough to merit the effort to build and install as dynamic
libraries.
Hello,
* Roger Leigh wrote on Thu, Mar 10, 2011 at 01:03:16PM CET:
This is not meant to sound like a troll, but: is anyone really
*really* using static linking in 2011?
I'd love to answer no, but at least parts of the HPC crowd will do
almost anything to get a couple percent more performance
On Fri, 11 Mar 2011, Ralf Wildenhues wrote:
* Roger Leigh wrote on Thu, Mar 10, 2011 at 01:03:16PM CET:
This is not meant to sound like a troll, but: is anyone really
*really* using static linking in 2011?
I'd love to answer no, but at least parts of the HPC crowd will do
almost anything to
Jef Driesen jefdrie...@hotmail.com writes:
Isn't it easier to just check for the presence of the header file and/or
the library file, avoiding pkg-config entirely?
Well, I'd prefer not to guess when possible, and not using pkg-config
for a package that wants you to use it means you end up
On 05/03/11 23:16, Vincent Torri wrote:
On Sat, Mar 5, 2011 at 9:06 AM, Jef Driesenjefdrie...@hotmail.com wrote:
I'm trying to use the PKG_CHECK_MODULES macro to check for an external
library:
PKG_CHECK_MODULES([LIBUSB], [libusb-1.0], [have_libusb=yes],
[have_libusb=no])
This works great,
On 06/03/11 14:23, Vincent Torri wrote:
On Sun, Mar 6, 2011 at 2:08 PM, Jef Driesenjefdrie...@hotmail.com wrote:
On 05/03/11 23:16, Vincent Torri wrote:
On Sat, Mar 5, 2011 at 9:06 AM, Jef Driesenjefdrie...@hotmail.com
wrote:
I'm trying to use the PKG_CHECK_MODULES macro to check for an
Jef Driesen jefdrie...@hotmail.com writes:
is pkg.m4 in /usr/share/aclocal ?
No. I suppose that file is only present if pkg-config is installed?
I'm trying to build on Mac OS X in case that would matter.
I use some hacks to make the resulting configure script work even if
autoconf can't find
17 matches
Mail list logo