- 15 May, 2009 1 commit
-
-
Duncan Coutts authored
Previously the object code for the C main function lived in the rts lib, however this is a problem when the rts is built as a shared lib. With Windows DLLs it always causes problems while on ELF systems it's a problem when the user decides to use their own C main function rather than a Haskell Main.main. So instead we now put main in it's own tiny little static lib libHSrtsmain.a which we install next to the rts libs. Whenever ghc links a program (without -no-hs-main) then it also links in -lHSrtsmain. For consistency we always do it this way now rather than trying to do it differently for static vs shared libraries.
-
- 14 May, 2009 1 commit
-
-
Duncan Coutts authored
-
- 16 May, 2009 2 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 01 May, 2009 1 commit
-
-
Duncan Coutts authored
When using shared libs we should link each lib against its deps. This allows the dynamic linker to chase dependencies and means we do not have to specify all indirect dependencies (as we must do for static libs).
-
- 05 May, 2009 1 commit
-
-
Simon Marlow authored
-
- 04 May, 2009 1 commit
-
-
Ian Lynagh authored
-
- 03 May, 2009 1 commit
-
-
Ian Lynagh authored
-
- 29 Apr, 2009 1 commit
-
-
Duncan Coutts authored
That is, build it as a .so/.dll rather than as libHSrts_dyn.a
-
- 28 Apr, 2009 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
# ----------------------------------------------------------------------------- # # (c) 2009 The University of Glasgow # # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see # http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture # http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying # # -----------------------------------------------------------------------------
-
- 26 Apr, 2009 1 commit
-
-
Ian Lynagh authored
-