[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua.pc pkg-config file
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 26 Mar 2015 16:22:48 +0200
On Thu, Mar 26, 2015 at 12:24 PM, Nicola Fontana <ntd@entidi.it> wrote:
> pkg-config is just a piece of C code (just like Lua) that makes life
> (much) easier to packagers, period. When you are cross-compiling (and
> guess what I'm doing right now?) it is not usefull, it is essential!
It is an unusually awkward piece of C code:
$ ldd $(which pkg-config) (taking out linux-specific stuff)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0
(0x00007fa31b16a000)
libpopt.so.0 => /lib/x86_64-linux-gnu/libpopt.so.0 (0x00007fa31af5e000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fa31a959000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007fa31a73b000)
that Glib dependency is the nasty one, a very Gnome-centric thing. To
build pkg-config, you need Glib. To build Glib, you need pkg-config
If you look at the end of 'man pkg-config' you'll see that it has been
re-written a number of times. I suspect that Havoc Pennington was
having too much fun.
I did a very functional clone in 500 lines of C, when testing llib,
with absolutely no dynamic dependencies. I imagine a smart person
could do a Lua version in about that as well, but do note that the
manual lies about some important things.
steve d.
- References:
- lua.pc pkg-config file, Taylan Ulrich Bayırlı/Kammer
- Re: lua.pc pkg-config file, Tom N Harris
- Re: lua.pc pkg-config file, Taylan Ulrich Bayırlı/Kammer
- Re: lua.pc pkg-config file, steve donovan
- Re: lua.pc pkg-config file, Enrico Tassi
- Re: lua.pc pkg-config file, steve donovan
- Re: lua.pc pkg-config file, Philipp Janda
- Re: lua.pc pkg-config file, Enrico Tassi
- Re: lua.pc pkg-config file, Nicola Fontana
- Re: lua.pc pkg-config file, William Ahern
- Re: lua.pc pkg-config file, Nicola Fontana