Mail Archives: djgpp/1999/06/14/13:07:04
thanks for the reply.
> > called Green-Card. I really must stress the fact that I don't really
> > know what I'm doing, but I'm told I need to create a dll.
>
> Do you HAVE to use a DLL, is this just a nice-to-have feature? In
> other words, will the program work when linked statically?
>
No. It looks like the only way I can do this is with a DLL.
> If you MUST use a DLL, you might consider using one of the
> DJGPP-compatible packages that allow libraries to be dynamically
loaded at run time. See section 22.3 of the FAQ for some pointers.
>
I saw two packages, but one link seemed to be broken, and the other went
to the right page, but the files didn't seem to be up there. Is mingw32
djgpp compatible? Do I need to download cygwin to use it? I just noticed
that the green-card docs explicitly mention mingw32:
"using the mingw32 backend of gcc that's supplied by the Cygwin toolchain
distribution:
gcc -mno-cygwin -o GCTest.o GCTest.c -I/hugs/src
dllwrap -mno-cygwin --target=i386-mingw32 --export-all \
--def HugsExt.def GCTest.o -o GCTest.dll"
Do you think it would be possible to compile a dll written in djgpp this
way? Thanks again,
Mark Phillips
- Raw text -