gpc in Mac OSX Lion

Leo Brewin Leo.Brewin at
Mon Oct 24 02:54:40 CEST 2011

Hi troops,

Has anybody successfully compiled GPC under MacOSX Lion? I've tried doing so using Adriaan's sources (gpc346u4-sources.dmg) but I encountered the following errors (as listed below).

Any help would be greatly appreciated. 

Leo Brewin
School of Mathematical Sciences
Monash University

stage1/xgcc -Bstage1/ -B/Users/leo/tmp-pascal/gpc346u4/i386-apple-darwin11/bin/   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition     -DHAVE_CONFIG_H -DGENERATOR_FILE  -o genmodes \
	 genmodes.o errors.o ../libiberty/libiberty.a
ld: warning: -macosx_version_min not specificed, assuming 10.7
Undefined symbols for architecture i386:
  "___bzero", referenced from:
      _htab_empty in libiberty.a(hashtab.o)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
make[2]: *** [genmodes] Error 1
make[1]: *** [stage2_build] Error 2
make: *** [bootstrap] Error 2

More information about the Gpc mailing list