From: <dan...@ya...> - 2001-05-23 23:21:40
|
--- Paul Sokolovsky <pf...@us...> wrote: > Hello Danny, > > Danny Smith wrote on Wednesday, May 23, 2001: > [] > >> build a MinGW version without much concern but perhaps some of Paul > >> Sokolovsky's work needs to be added. > > DS> 2) -shared is builtin as default. In practice, this means basically > DS> that ld looks first for libfoo.dll.a, then for libfoo.a. (there are > DS> other details of the search priority but that is the main idea). > > Not, I have no connection to this stuff at all, period ;-) . > That's just how it works (IIRC, the patch was made by Chuck Wilson, > and cygwin works that way for almost year now). > Ah yes. Cygwin has the default -Bdynamic in the specs file (on *link line) like so, %{static:-Bstatic} %{!static:-Bdynamic} Paul's ld has the default set in ld code, in pe.em, like so: #ifdef DLL_SUPPORT + config.dynamic_link = true; config.has_shared = 1; I need to fix up the specs file for my gcc build so that it passes the correct link options and does a -D__STATIC__ for the preprocessor > DS> 4 auto-import is turned on by default. IMHO, this feature (if it is > DS> incorporated at all) should not be set as default. Not until it has > DS> been more thoroughly tested with C++ code. I don't like it personally. > > Whole KDE is being ported with it now: > http://sourceforge.net/projects/kde-cygwin > I don't understand your skepticism. Unless it is proven to be harmful > in some aspect, it'd better be on by default, by issue warning - > otherwise, it will be simply underused. No, it is not for me to prove that it is harmful Again there are two ways to set the default behaviour to auto-import, in pe.em, as Paul has done it, or in the specs. If I leave Pauls auto-import changes intact, except initialise pe_dll_auto_import = 0, it is still possible to override that in specs file, where it is more visible (and easier to hack). I need to sleep on that. > > [] > > DS> Danny > >> -- > >> Earnie. > > -- > Paul Sokolovsky, IT Specialist > http://www.brainbench.com/transcript.jsp?pid=11135 > > > > _______________________________________________ > MinGW-dvlpr mailing list > Min...@li... > http://lists.sourceforge.net/lists/listinfo/mingw-dvlpr _____________________________________________________________________________ http://messenger.yahoo.com.au - Yahoo! Messenger - Voice chat, mail alerts, stock quotes and favourite news and lots more! |