From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mumit Khan To: DJ Delorie Cc: cygwin@sourceware.cygnus.com Subject: Re: ld, dlls, and windows libraries Date: Sat, 13 Feb 1999 10:02:00 -0000 Message-id: <199902131802.MAA20124@modi.xraylith.wisc.edu> In-reply-to: Your message of "Sat, 13 Feb 1999 12:51:58 EST." < 199902131751.MAA26487@envy.delorie.com > References: <199902131751.MAA26487@envy.delorie.com> X-SW-Source: 1999-02/msg00427.html DJ Delorie writes: > It's in our master sources, it's all a matter of when we do the next > full beta. I'm not sure about the "--export-all" part; you may need > to do "-Wl,--export-all" as that's a linker-specific option. Unless > someone wants to get it into egcs (hint). I have it in my local sources, but I haven't submitted it yet. I'm trying to figure out a way currently to have both the existing and the new method coexist in the SPECS, and my conditionals came out wrong last time I tried. Basically, it's a nested conditional based on whether '--dll' or '--shared' is specified. Any idea what I should call the --export-all option when invoked via GCC? Leave as is or something else like -mexport-all?? GCC specs will essentially translate this to --export-all when calling the linker. > It's *supposed* to only export non-static functions, not non-static > data. Ah, yes. Thanks. Regards, Mumit From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mumit Khan To: DJ Delorie Cc: cygwin@sourceware.cygnus.com Subject: Re: ld, dlls, and windows libraries Date: Sun, 28 Feb 1999 23:02:00 -0000 Message-ID: <199902131802.MAA20124@modi.xraylith.wisc.edu> References: <199902131751.MAA26487@envy.delorie.com> X-SW-Source: 1999-02n/msg00419.html Message-ID: <19990228230200.2vQocD3ZZKDAeLmLFt3dgyAad9quLHjskAC2MmrVkFY@z> DJ Delorie writes: > It's in our master sources, it's all a matter of when we do the next > full beta. I'm not sure about the "--export-all" part; you may need > to do "-Wl,--export-all" as that's a linker-specific option. Unless > someone wants to get it into egcs (hint). I have it in my local sources, but I haven't submitted it yet. I'm trying to figure out a way currently to have both the existing and the new method coexist in the SPECS, and my conditionals came out wrong last time I tried. Basically, it's a nested conditional based on whether '--dll' or '--shared' is specified. Any idea what I should call the --export-all option when invoked via GCC? Leave as is or something else like -mexport-all?? GCC specs will essentially translate this to --export-all when calling the linker. > It's *supposed* to only export non-static functions, not non-static > data. Ah, yes. Thanks. Regards, Mumit