users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Snow Leopard (MacOS X 10.6) port


From: Daniel Diaz
Subject: Re: Snow Leopard (MacOS X 10.6) port
Date: Fri, 20 Nov 2009 16:48:38 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Hi Paulo,

this is fixed in next release (not yet ready). Here is the current snapshot including the fix (for the moment gprolog is compiled in 32-bits mode). The tarball is in the unstable directory:

http://gprolog.univ-paris1.fr/unstable/gprolog-20091120.tgz

Paulo let me know if it is OK.

I'm interested in feedbacks about the stability of this version (since I have changed some important things like list manipulation predicates, e.g. the basic append/3 should be around 3 times faster). You can report success/problems here on the list or directly by email at address@hidden

Thank you

Daniel

Paulo Moura a écrit :
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



--
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]