On Thu, 2006-10-05 at 16:12 +0300, Andrey Khurri wrote:

> That's right, there is a '-c' option. Also `pkg-config --cflags --libs
> gthread-2.0` and `pkg-config --cflags --libs gobject-2.0` outputs are
> as follows respectively:
> 
> -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
> -lgthread-2.0 -lglib-2.0
> 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -lgobject-2.0
> -lglib-2.0
> 
> And it seems to me that the latter is exactly what compiler is not
> able to understand somehow.

The -c option tells gcc to stop after compilation (= it does not link
anything).  Libraries are only needed in the linking stage.  The build
command is invalid.

timo


_______________________________________________
Scratchbox-devel mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel

Reply via email to