Skip to content
Snippets Groups Projects
Commit e415f297 authored by Reuben Thomas's avatar Reuben Thomas
Browse files

[project @ 2000-08-07 16:09:03 by rrt]

Add COMPILING_STDLIB symbol analagous to COMPILING_RTS for the extern vars
in stgio.h.
parent 009c94a9
No related merge requests found
...@@ -41,4 +41,10 @@ ...@@ -41,4 +41,10 @@
# endif # endif
#endif #endif
#ifdef COMPILING_STDLIB
#define DLL_IMPORT_STDLIB
#else
#define DLL_IMPORT_STDLIB DLLIMPORT
#endif
#endif /* __STGDLL_H__ */ #endif /* __STGDLL_H__ */
# $Id: Makefile,v 1.22 2000/07/09 16:06:28 panne Exp $ # $Id: Makefile,v 1.23 2000/08/07 16:09:03 rrt Exp $
TOP = ../../.. TOP = ../../..
include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/boilerplate.mk
...@@ -34,6 +34,7 @@ DLL_IMPLIB_NAME = libHSstd_cbits_imp.a ...@@ -34,6 +34,7 @@ DLL_IMPLIB_NAME = libHSstd_cbits_imp.a
DLL_DESCRIPTION = "Haskell Prelude helpers" DLL_DESCRIPTION = "Haskell Prelude helpers"
SRC_BLD_DLL_OPTS += --export-all --output-def=HSstdcbits.def DllVersionInfo.o SRC_BLD_DLL_OPTS += --export-all --output-def=HSstdcbits.def DllVersionInfo.o
SRC_BLD_DLL_OPTS += -lwinmm -lwsock32 -lHSrts_imp -lgmp -L. -L../../../rts/gmp -L../../../rts SRC_BLD_DLL_OPTS += -lwinmm -lwsock32 -lHSrts_imp -lgmp -L. -L../../../rts/gmp -L../../../rts
SRC_CC_OPTS += -optc-DCOMPILING_STDLIB
# #
# Compile the files using the Haskell compiler (ghc really). # Compile the files using the Haskell compiler (ghc really).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment