From: Michal M. <mi...@mo...> - 2008-04-06 17:42:26
|
Jan Mura napsal(a): > Hello, > > there are some problems i encountered with that stuff. > As I looked for some hints on the Internet i haven't any standard process to > deal with this. > So I followed the gcc manual and tried > > gcc -o myprog -Ldir=libxml -llibxml2.lib main.c this should be: gcc -o myprog -Llibxml -lxml2 main.c but the library file should have name libxml2.a > then just: > > gcc -o myprog -llibxml2.lib main.c > > having the file in my working directory . in this case gcc -o myprog libxml2.lib main.c |