[Expat-discuss] Using precompiled expat.dll
Thu Aug 8 04:26:04 2002
I 've downloaded and used successfully expat on unix using the expat package.
I tried to use expat on windows platform using the expatwin32 package.
I am using gcc compiler. How can I use the precompiled dll of expat?
(I have not installed (yet :)) cygwin, neither using the MS Visual developer studio)
I am not much of a windows programmer :)
I am familiar with unix programming environment.
I tried to use the makefile below:
LIBS= -L..\expat\lib -lexpat
$(CC) $(LDFLAGS) -o run $(OBJS) $(LIBS)
in include dir there is the expat.h include file
and in lib dir there are libexpat.lib and libexpat.dll
If I am right .lib .dll corresponds to .a .so in unix respectively (??)
gcc -I..\expat\include -c -o elements.o elements.c
gcc -g -o run elements.o -L..\expat\lib -lexpat
c:/djgpp/bin/ld.exe: cannot find -lexpat
collect2: ld returned 1 exit status
make.exe: *** [xmlapp] Error 1
any ideas or change compiler?