Mail Archives: cygwin/1999/02/13/17:28:06
Hello Mumit,
Mumit Khan <khan AT xraylith DOT wisc DOT edu> wrote:
[]
MK> When DJ's excellent work on ld is released, you'll be able to do:
MK> $ gcc -shared -o mydll.dll -mwindows --export-all foo1.o foo2.o
Wow! How long to wait for this?
MK> The --export-all exports all the non-static symbols as done on most
MK> Unix systems. If you want to restrict the exports, you have two choices:
And what about implibs? Is there a chance that they will be produced
with gcc too, so procedure and data exports will be properly
distinguished? That's the thing which causes most pain with gnu-win32
tools now, imho, - suffering an access violation when, due to automatically
produced def, which treats all exports as code, some fucnction fetches jump
instruction instead of data.
MK> Regards,
MK> Mumit
Best regards,
Paul mailto:paul-ml AT is DOT lg DOT ua
- Raw text -