Re: cvs commit: fptools/mk target.mk package.mk fptools/ghc/lib/compat Makefile fptools/ghc/compiler/main Packages.lhs DriverPipeline.hs fptools/ghc/compiler/ghci Linker.lhs

Wolfgang Thaller <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.fptools,gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
> 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.

Cheers,

Wolfgang
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.