Re: general build question
- From: Hrvoje Nikšić <hrvoje niksic avl com>
- To: gonzo agoralabs com
- Cc: Gtk-List <gtk-list gnome org>
- Subject: Re: general build question
- Date: Tue, 20 Nov 2007 10:13:33 +0100
On Mon, 2007-11-19 at 14:20 -0500, Andres Gonzalez wrote:
> Q: what actually does pkg-config do?
It prints the appropriate package configuration (compiler/linker/...)
flags to the standard output. You can check the flags by simply issuing
pkg-config ... on the command line.
The backquote construct simply tells the shell to use the output of
pkg-config as if it were part of the current command.
> Q: do I use `pkg-config --cflags gtk+-2.0` if I am using g++ and not
> gcc?
Yes because the flags are compatible.
> Q: what is the reference to: __gxx_personality_v0 ??
> Q: how do I resolve that undefined reference error?
See other response about -lstdc++. You should remember to use g++ for
linking.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]