Hi,

there is a big risk when mixing objects from different compilers...
The best is either to install gcc (4.2 as expected) or to compile gprolog from its sources (download the .tar.gz from web site and then compile it using llvm-gcc).

To configure it use:

CC=llvm-gcc ./configure --disable-regs

then

make
make install

(you can play with ./configure options to set the install directory, see INSTALL)

Daniel

Le 10/09/2012 07:38, Reinhard Männer a écrit :
Hi,
I installed gprolog under OSX Lion. When I try to run gplc, I get the error 
message
"error trying to execute /opt/local/bin/gcc-apple-4.2: No such file or 
directory"
since I use Xcode 4.4.1 that uses llvm-gcc-4.2 instead of gcc-apple-4.2, which 
is no longer installed.
So, is it possible to use this new compiler for prolog? What had I have to do?
Any help is appreciated.
Reiner
_______________________________________________
Users-prolog mailing list
[email protected]
https://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.


_______________________________________________
Users-prolog mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/users-prolog

Reply via email to