RE: cvs commit: fptools/mk target.mk package.mkfptools/ghc/lib/compat Makefile fptools/ghc/compiler/mainPackages.lhs DriverPipeline.hs fptools/ghc/compiler/ghci Linker.lhs

"Simon Marlow" <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.fptools,gmane.comp.lang.haskell.cvs.ghc
Message-ID <3429668D0E777A499EE74A7952C382D103068A67@EUR-MSG-01.europe.corp.microsoft.com>
On 19 January 2005 04:56, Wolfgang Thaller wrote:

>> Why the _dyn suffix, by the way?
> 
> So that ghc without the -dynamic flag can still link to the static
> libraries. If the dynamic library for libHSbase.a was called just
> libHSbase.dylib, it would always be used by ld, and we couldn't build
> static executables any more.
> Also, if DLL support is revived for our poor friends who are stuck
> with Windows, they will have "import libraries" with the suffix .a
> for the DLLs, which still need to be distinguished from the static
> libraries. So the static library would be libHSbase.a, the import
> library would be libHSbase_dyn.a and the DLL would be HSbase_dyn.dll.

I wondered the same thing, thanks for the explanation.  Could you paste
this paragraph in as a comment at some appropriate place?

Cheers,
	Simon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.