> From: Brian Dessent [mailto:[EMAIL PROTECTED]
>
> > gcc -I"/usr/include/glib-2.0" -l glib-2.0 TestGLib.c
>
> The order of arguments of your command is wrong. The linker works
from
> left to right, resolving undefined references as it goes. If it sees
a
> library specified before any objects
Hi there,
I'm trying to compile some C program using glib 2.0 and i have some
trouble.
Here is my command line:
gcc -I"/usr/include/glib-2.0" -l glib-2.0 TestGLib.c
First gcc told me it didn't find glibconfig.h, that happened to be in an
awkward directory, namely
/usr/lib/glib-2.0/include/
Awkw
2 matches
Mail list logo