Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Date: Sun, 5 Aug 2001 09:39:59 +0100 Message-ID: <9173-Sun05Aug2001093959+0100-starksb@ebi.ac.uk> X-Mailer: 21.1 (patch 12) "Channel Islands" XEmacs Lucid (via feedmail 9-beta-7 I); VM 6.92 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid From: David Starks-Browning MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: cygwin-apps AT cygwin DOT com Subject: Re: Some words for binutils announcement? In-Reply-To: <3B6CE974.7040302@ece.gatech.edu> References: <20010804213233 DOT A6332 AT redhat DOT com> <3B6CE974 DOT 7040302 AT ece DOT gatech DOT edu> These can go in the package doc file, right? Or should they go in the main FAQ? Thanks, David > Expected FAQs: > > Q: "I can't link to -lfoo. I get "symbol _nm_* undefined" > A: "you need to recompile libfoo, or change your source code > to use __declspec(dllimport). (You're trying to "auto-import" > from a library that was built by an old ld. Either fix your > source code so you don't need to "auto-import", or recompile > the library with a new ld). BTW, the original porter of > libfoo probably fixed the libfoo include headers to do the > __declspec() definitions correctly for you; did you forget > to -Ddefine something? Read the porter's notes for libfoo." > > Q: Now that we don't need to worry about compile-time > flags to indicate static linking or dllexport or dllimport, > doesn't that mean that we can use libtool to build > shared libraries (DLLs) just like every other Unixish > platform? > A: Theoretically, yes. But this requires a lot of updates to > the autotools (automake, autoconf, libtool) and then each > package should be "re-tooled" to use these updated scripts. > That's a long term process, but is beginning. In fact, > one of the prerequisites is to update autoconf to version > 2.52; Cygwin's autotools was updated to that version just > a week before this binutils was released. Be patient. > >