Re: [xml] The order of arguments when compiling

2012-02-20 Thread spam . spam . spam . spam
Envoyé: Vendredi 17 Février 2012 17:39:25 Objet: Re: [xml] The order of arguments when compiling 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

Re: [xml] The order of arguments when compiling

2012-02-20 Thread spam . spam . spam . spam
in my Makefile.am? - Mail original - De: Earnie Boyd ear...@users.sourceforge.net À: spam spam spam spam spam.spam.spam.s...@free.fr Cc: xml@gnome.org Envoyé: Vendredi 17 Février 2012 16:11:43 Objet: Re: [xml] The order of arguments when compiling On Fri, Feb 17, 2012 at 7:12 AM, wrote

Re: [xml] The order of arguments when compiling

2012-02-20 Thread spam . spam . spam . spam
: spam spam spam spam spam.spam.spam.s...@free.fr Cc: xml@gnome.org Envoyé: Vendredi 17 Février 2012 12:42:41 Objet: Re: [xml] The order of arguments when compiling Hi, xmlparsefile_SOURCES = main.c xmlparsefile_LDFLAGS = `xml2-config --libs` are you aware of the LIBS option

Re: [xml] The order of arguments when compiling

2012-02-20 Thread spam . spam . spam . spam
failed with exit status: 1 Do you see how to avoid this error? - Mail original - De: Csaba Raduly rcs...@gmail.com À: spam spam spam spam spam.spam.spam.s...@free.fr Cc: xml@gnome.org Envoyé: Lundi 20 Février 2012 10:05:45 Objet: Re: [xml] The order of arguments when compiling On Mon, Feb 20

Re: [xml] The order of arguments when compiling

2012-02-20 Thread Noam Postavsky
spam.spam.spam.s...@free.fr writes: Thank you for this option. But if I use it like this : bin_PROGRAMS = xmlparsefile xmlparsefile_SOURCES = main.c xmlparsefile_LDADD = `xml2-config --libs` xmlparsefile_CFLAGS = -Wall -Wextra `xml2-config --cflags` I got : $ autoreconf

Re: [xml] The order of arguments when compiling

2012-02-17 Thread Csaba Raduly
Hi spam, On Thu, Feb 16, 2012 at 4:01 PM, wrote: Hello, On a first computer, when I compile a C program using the libxml2 library I do : $ gcc `xml2-config --cflags` `xml2-config --libs` main.c or $ gcc main.c `xml2-config --cflags` `xml2-config --libs` And it works (but the first

Re: [xml] The order of arguments when compiling

2012-02-17 Thread Earnie Boyd
On Fri, Feb 17, 2012 at 7:12 AM, wrote: are you aware of the LIBS option? Something like make LIBS=`xml2-config --libs` -- Earnie -- https://sites.google.com/site/earnieboyd ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org

Re: [xml] The order of arguments when compiling

2012-02-17 Thread Noam Postavsky
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\

[xml] The order of arguments when compiling

2012-02-16 Thread spam . spam . spam . spam
Hello, On a first computer, when I compile a C program using the libxml2 library I do : $ gcc `xml2-config --cflags` `xml2-config --libs` main.c or $ gcc main.c `xml2-config --cflags` `xml2-config --libs` And it works (but the first method is better because it respects the order of arguments in

Re: [xml] The order of arguments when compiling

2012-02-16 Thread spam . spam . spam . spam
problem? - Mail original - De: spam spam spam spam spam.spam.spam.s...@free.fr À: xml@gnome.org Envoyé: Jeudi 16 Février 2012 16:01:27 Objet: [xml] The order of arguments when compiling Hello, On a first computer, when I compile a C program using the libxml2 library I do : $ gcc `xml2-config