From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Sokolovsky To: Mumit Khan , Subject: Re[2]: ld, dlls, and windows libraries Date: Sat, 13 Feb 1999 09:28:00 -0000 Message-id: <1809.990213@is.lg.ua> References: X-SW-Source: 1999-02/msg00420.html Hello Mumit, Mumit Khan 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@is.lg.ua From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Sokolovsky To: Mumit Khan , Subject: Re[2]: ld, dlls, and windows libraries Date: Sun, 28 Feb 1999 23:02:00 -0000 Message-ID: <1809.990213@is.lg.ua> References: X-SW-Source: 1999-02n/msg00412.html Message-ID: <19990228230200.wWMgNYIS2Jjpym3rd9Dcnn1kW00ZET8LRjR9bRo-gZw@z> Hello Mumit, Mumit Khan 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@is.lg.ua