Skip to content
Browse files

mingw patch from jean-francois

  • Loading branch information...
1 parent d7427f4 commit 27a5b6b8096f899244488339071b775efc074a77 @weyrick committed
Showing with 7 additions and 3 deletions.
  1. +4 −0 Makefile.config.in
  2. +3 −3 bigloo-rules.mk
View
4 Makefile.config.in
@@ -8,6 +8,10 @@ BIGLOO_GC_LIB = @BIGLOO_GC_LIB@
STATIC_SUFFIX =
BIGLOO_PIC = -copt -fPIC
C_PIC = -fPIC
+WEXE =
+ifeq ($(PCC_OS),PCC_MINGW)
+ WEXE=.exe
+endif
# GC_LIB can be gc or bigloogc
ifeq ($(BIGLOO_GC_LIB),bigloogc)
View
6 bigloo-rules.mk
@@ -26,12 +26,12 @@ else
PROFILEFLAGS =
endif
-BHEAPFLAGS = -unsafe -mkaddheap -mkaddlib
+BHEAPFLAGS = -unsafe -mkaddheap -mkaddlib -L $(BGL_DEFAULT_LIB_DIR)
# -fsharing?
# -mkaddlib shortens our startup time because it changes bigloo's constant allocation mode
-BSAFEFLAGS = -mkaddlib -unsafev -copt -D$(PCC_OS) -srfi $(PCC_OS) -O3 -g -cg +rm $(PROFILEFLAGS) $(BCOMMONFLAGS)
-BUNSAFEFLAGS = -mkaddlib -copt -D$(PCC_OS) -srfi $(PCC_OS) -srfi unsafe -O6 -unsafe $(BCOMMONFLAGS)
+BSAFEFLAGS = -mkaddlib -L $(BGL_DEFAULT_LIB_DIR) -unsafev -copt -D$(PCC_OS) -srfi $(PCC_OS) -O3 -g -cg +rm $(PROFILEFLAGS) $(BCOMMONFLAGS)
+BUNSAFEFLAGS = -mkaddlib -L $(BGL_DEFAULT_LIB_DIR) -copt -D$(PCC_OS) -srfi $(PCC_OS) -srfi unsafe -O6 -unsafe $(BCOMMONFLAGS)
# the -srfi bit makes cond-expand work in scheme code
CSAFEFLAGS = -D$(PCC_OS) -O -g $(PROFILEFLAGS) $(CCOMMONFLAGS)

0 comments on commit 27a5b6b

Please sign in to comment.
Something went wrong with that request. Please try again.