Hi!
I updated to Snow Leopard (MacOS X 10.6) and I'm trying, without success so
far, to compile the latest unstable version of GNU Prolog (dated from September
2). Any hints? I'm getting the error (already reported by others):
(cd EnginePl; make config)
gcc -march=i486 -O3 -fomit-frame-pointer -o pl_config pl_config.c
pl_config.c:1: error: CPU you selected does not support x86-64 instruction set
pl_config.c:1: error: CPU you selected does not support x86-64 instruction set
make[1]: *** [pl_config] Error 1
make: *** [all] Error 2
Hacked march=x86-64 but that gives another error:
gplc -c foreign.wam
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:4:32-bit
absolute addressing is not supported for x86-64
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:4:cannot do
signed 4 byte relocation
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:9:32-bit
absolute addressing is not supported for x86-64
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:9:cannot do
signed 4 byte relocation
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:14:32-bit
absolute addressing is not supported for x86-64
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:14:cannot do
signed 4 byte relocation
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:18:suffix or
operands invalid for `push'
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:19:suffix or
operands invalid for `push'
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:31:suffix or
operands invalid for `pop'
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:32:suffix or
operands invalid for `pop'
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:36:suffix or
operands invalid for `push'
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:37:suffix or
operands invalid for `push'
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:44:32-bit
absolute addressing is not supported for x86-64
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:44:cannot do
signed 4 byte relocation
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:48:32-bit
absolute addressing is not supported for x86-64
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:48:cannot do
signed 4 byte relocation
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:52:32-bit
absolute addressing is not supported for x86-64
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:52:cannot do
signed 4 byte relocation
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:70:suffix or
operands invalid for `pop'
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:71:suffix or
operands invalid for `pop'
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:75:suffix or
operands invalid for `push'
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:76:suffix or
operands invalid for `push'
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:79:suffix or
operands invalid for `pop'
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:80:suffix or
operands invalid for `pop'
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:84:suffix or
operands invalid for `push'
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:85:suffix or
operands invalid for `push'
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:88:suffix or
operands invalid for `pop'
/var/folders/sY/sY2-SVlw2RWEKk+8ZReZU++++TI/-Tmp-/gplci6MwUc.s:89:suffix or
operands invalid for `pop'
compilation failed
make[1]: *** [foreign.o] Error 1
make: *** [all] Error 1
There is already a port to x86_64/bsd so it should not be difficult to solve
the problem above. Your feedback is appreciated.
Cheers,
Paulo
-----------------------------------------------------------------
Paulo Jorge Lopes de Moura, PhD
Assistant Professor
Dep. of Computer Science, University of Beira Interior
6201-001 Covilhã, Portugal
Office 3.18 Ext. 3276
Phone: +351 275319891 Fax: +351 275319899
Email: <mailto:address@hidden>
Home page: <http://www.di.ubi.pt/~pmoura>
Research: <http://logtalk.org/> Blog: <http://blog.logtalk.org/>
-----------------------------------------------------------------
_______________________________________________
Users-prolog mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/users-prolog