Re: Installing GNU-Prolog on Mac OS X, Intel chips

Daniel Diaz <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <[email protected]>
Hi,

GNU Prolog is NOT yet ported to MacIntel. I suppose the changes are 
minor. If you are interested in doing the port, please consult the file 
src/PORTING which contains important information.

Finally please start from the 1.2.19 (in the unstable directory):
ftp://ftp.inria.fr/INRIA/Projects/contraintes/gprolog/unstable/gprolog-1.2.19.tar.gz

Good luck


Pascal Pochet wrote :
 > gnuprolog compiles fine on a lot of x86 based OSes so there is >probably
 > no reason to fail on MacIntel…
 > but what are the exact changes to apply to the configure script and
 > other settings files to make it works ?
 > I am still having problem in the temp .s files containing bad assembly
 > code, probably because some macros are ill defined or not defined at 
 >all…
 > (compiling with a gcc-3 specially installed for that purpose, not the
 > one supplied by Apple…)
 >
 > any clues ?
 >
 >
 > Pascal Pochet


Pierre Gianni wrote :
> Hi all,
>     I had previously send a message about an installation problem and 
> your help then was very usefull,
> I have a new problem : is there a way to make GNU-prolog work on the 
> knew Intel-Macs ?
> I managed to compile glpc but the compiler would'nt compile .pl file.
> 
> The failed compilation outputs this kind of message :
> "...
> /var/tmp/gplcaf4aVd.s:14478:no such 386 instruction: `addi'
> /var/tmp/gplcaf4aVd.s:14479:no such 386 instruction: `blr'
> /var/tmp/gplcaf4aVd.s:14484:no such 386 instruction: `mr'
> /var/tmp/gplcaf4aVd.s:14485:no such 386 instruction: `addi'
> /var/tmp/gplcaf4aVd.s:14486:no such 386 instruction: `stw'
> /var/tmp/gplcaf4aVd.s:14487:no such 386 instruction: `mflr'
> /var/tmp/gplcaf4aVd.s:14488:no such 386 instruction: `stw'
> /var/tmp/gplcaf4aVd.s:14489:no such 386 instruction: `lwz'
> /var/tmp/gplcaf4aVd.s:14490:no such 386 instruction: `mtlr'
> /var/tmp/gplcaf4aVd.s:14491:no such 386 instruction: `addi'
> /var/tmp/gplcaf4aVd.s:14492:no such 386 instruction: `blr'
> compilation failed"
> 
> Maybe a workaround would be to annonce that the machine is a i386 
> GNU/linux, but i don't know how to test this

-- 
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.