Break recursive imports between the RTS and base library on Windows.
authorBen.Lippmeier@anu.edu.au <unknown>
Fri, 6 Nov 2009 06:27:32 +0000 (06:27 +0000)
committerBen.Lippmeier@anu.edu.au <unknown>
Fri, 6 Nov 2009 06:27:32 +0000 (06:27 +0000)
commit02d8f553485ffe1b8bb8f131f9cf6a6ba0823b46
tree75b6b163a2133b0cef473f9f7f74555993b78f87
parent3233af1b85a9aede3210e5c4279fa16342a4f364
Break recursive imports between the RTS and base library on Windows.

The file rts/win32/libHSbase.def contains a list of all the
symbols from the base library that the RTS needs.

When building the RTS into a DLL on Windows, we want to link the DLL
for the RTS before we link the DLL for the base library. We use
libHSbase.def to make the "import library" libHSbase.so.a, which
contains stubs for each of the symbols from the base library that
the RTS needs.
rts/ghc.mk
rts/win32/libHSbase.def [new file with mode: 0644]