[xml] Recent postings about Cygwin linker problems



Jitesh Verma wrote:
> I tried to compile a simple XML test application provided in the
> libxml tutorial

It seems they try to build their programs using the examples from the
docs.  By any chance, did they also just use the compile / link command
provided there?  Could this be changed to reflect the correct syntax?

I.e. this from the FAQ:
 gcc `xml2-config --cflags --libs` -o test test.c

which should be

gcc `xml2-config --cflags` -o object.o source.c
gcc -o program object.o `xml2-config --libs`


Windows / Cygwin is picky about those issues;)


Thanks,
Gerrit
--
=^..^=



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]