Skip to content

Commit

Permalink
remove embedded boehm gc sources, use distro copy instead
Browse files Browse the repository at this point in the history
boehm GC is a highly problematic package, since what it tries to achieve
is not possible in standard C, so it must use all kinds of nasty
platform-specific tricks to get start offset of stack and so on.

for this reason, some or most distributions apply custom settings
or even patches to make it work.

these tweaks are not available when embedding the source of boehm into
the tree and hoping that it will turn out to work well...

windows users are advised to install the version provided by mingw
package manager, while mac os users can use homebrew's version.

closes #6
closes #9
closes #4
  • Loading branch information
rofl0r committed Jan 31, 2018
1 parent 19b5d7b commit 31b6250
Show file tree
Hide file tree
Showing 327 changed files with 5 additions and 131,275 deletions.
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CC = gcc
CFLAGS = -std=c99 -Wall -Wextra -D_XOPEN_SOURCE -DDEBUG -g ${OPTIMIZE}
INCS = -Ivm -Ivendor/gc/include -Ivendor/pcre -Ivendor
INCS = -Ivm -Ivendor/pcre -Ivendor
LIBS = ${GC} ${PCRE}
GC = vendor/gc/.libs/libgc.a
GC = -lgc
PCRE = vendor/pcre/.libs/libpcre.a
LEG = vendor/peg/leg
FREEGETOPT = vendor/freegetopt/getopt.o
Expand Down Expand Up @@ -48,10 +48,6 @@ ${LEG}:
@echo " make peg/leg"
@cd vendor/peg && make -s

${GC}:
@echo " make gc"
@cd vendor/gc && ./configure --disable-threads -q && make -s

${PCRE}:
@echo " make pcre"
@cd vendor/pcre && ./configure -q && make -s
Expand Down
Loading

0 comments on commit 31b6250

Please sign in to comment.