[mercury-users] [OT] Building gcc-4.1 for Mac?
doug.auclair at logicaltypes.com
doug.auclair at logicaltypes.com
Fri Oct 6 18:33:36 AEST 2006
Dear Julien,
Here is the error I get when I attempt to compile on the intel mac:
-----
gc_grade=`scripts/ml --grade reg.gc --print-gc-grade`; \
cd boehm_gc && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake GC_GRADE=$gc_grade
MAKEFLAGS=""; export MAKEFLAGS; \
make -j1 GRADE=reg.gc GC_GRADE=gc \
libgc.a libgc.a \
FINAL_INSTALL_MERC_GC_LIB_DIR=/Users/ptolemy/languages/mercury/mercury-0.13.0/lib/mercury/lib \
a
../scripts/mgnuc --grade reg.gc --no-ansi --no-check --no-mercury-stdlib-dir -I./include -DSILENT -DNO_DEBUGGING -DNO_EXECUTE_PERMISSION -DLARGE_CONFIG -c -o alloc.o alloc.c
<command line>:1:1: warning: "__GNUC__" redefined
<built-in>:1:1: warning: this is the location of the previous definition
<command line>:1:1: warning: "__GNUC_MINOR__" redefined
<built-in>:1:1: warning: this is the location of the previous definition
<command line>:1:1: warning: "__GNUC_PATCHLEVEL__" redefined
<built-in>:1:1: warning: this is the location of the previous definition
<command line>:1:1: warning: "__APPLE_CC__" redefined
<built-in>:1:1: warning: this is the location of the previous definition
In file included from ./include/private/gc_priv.h:70,
from alloc.c:19:
./include/private/gcconfig.h:304: error: parse error before '--' token
make[3]: *** [alloc.o] Error 1
make[2]: *** [submake] Error 2
make[1]: *** [boehm_gc] Error 2
make: *** [all] Error 2
-----
Any pointers here would be helpful. gcconfig says:
"Not really supported, but at least we recognize it"
Is there a new boehm GC that works with intel macs?
Sincerely,
Doug Auclair
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to: mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions: mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the users
mailing list