On Fri, Feb 17, 2012 at 7:12 AM,  <spam.spam.spam.s...@free.fr> wrote:
> The compile does now :
> $ gcc -DPACKAGE_NAME=\"xmlparsefile\" -DPACKAGE_TARNAME=\"xmlparsefile\" 
> -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"xmlparsefile\ 0.1\" 
> -DPACKAGE_BUGREPORT=\"samson.pie...@etud.univ-montp2.fr\" -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"xmlparsefile\" -DVERSION=\"0.1\" -I.    -Wall -Wextra 
> `xml2-config --cflags` -g -O2 -MT xmlparsefile-main.o -MD -MP -MF 
> .deps/xmlparsefile-main.Tpo -c -o xmlparsefile-main.o `test -f 'main.c' || 
> echo './'`main.c
> mv -f .deps/xmlparsefile-main.Tpo .deps/xmlparsefile-main.Po
>
> So, it does something like this :
> $ gcc -Wall -Wextra `xml2-config --cflags` main.c

That looks more like this:
$ gcc -Wall -Wextra  `xml2-config --cflags` -c -o main.o main.c

There should be a second linking step which should like this:
$ gcc -Wall -Wextra  `xml2-config --cflags` main.o `xml2-config --ldflags`
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to