From pmoura@noe.ubi.pt Mon Jan 21 18:17:01 2002
Received: from noe.ubi.pt (noe.ubi.pt [193.136.64.94])
	by swi.psy.uva.nl (8.11.6/8.11.2) with ESMTP id g0LHGxT06091;
	Mon, 21 Jan 2002 18:16:59 +0100 (MET)
Received: from localhost ([193.136.66.2])
	by noe.ubi.pt (8.9.3/8.9.3) with ESMTP id RAA09744;
	Mon, 21 Jan 2002 17:15:25 GMT
Date: Mon, 21 Jan 2002 17:16:35 +0000
Subject: Re: SWI-Prolog bug report
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Mime-Version: 1.0 (Apple Message framework v480)
Cc: Paulo Moura <pmoura@noe.ubi.pt>, ats@cs.rit.edu, prolog@swi.psy.uva.nl
To: Jan Wielemaker <jan@swi.psy.uva.nl>
From: Paulo Moura <pmoura@noe.ubi.pt>
In-Reply-To: <200201211628.g0LGSaT02706@swi.psy.uva.nl>
Message-Id: <9F5D0504-0E92-11D6-B30F-00039315BB3A@noe.ubi.pt>
X-Mailer: Apple Mail (2.480)
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by swi.psy.uva.nl id g0LHGxT06091


On Segunda, Janeiro 21, 2002, at 04:28 , Jan Wielemaker wrote:

> [ Replied to mailing list, maybe people with more experience on the 
> Darwin OS
> ]
> ...

Darwin is the name of the BSD layer in MacOS X:

[localhost:~] pmoura% uname -a
Darwin localhost 5.2 Darwin Kernel Version 5.2: Fri Dec  7 21:39:35 PST 
2001; root:xnu/xnu-201.14.obj~1/RELEASE_PPC  Power Macintosh powerpc

Of course, he may be running the version of Darwin for Intel 
processors... That sais, all the comments posted some time ago in a web 
page (forgot the URL) about compiling SWI-Prolog in a MacOS X box should 
apply.

>
> definition pl-wam.c:1748: illegal expression, found `&&'
> pl-wam.c:1749: illegal expression, found `&&'
>
> <lots and lots more>

Just ignore these errors. Is just the pre-processor trying to use 
pre-compiled headers. I believe the problem can be avoided by passing 
the flag traditional-cpp to (g)cc (by modifying the configure.in file ?).

Regards,

Paulo


-----------------------------------------------------------
Paulo Jorge Lopes de Moura
Dep. of Informatics                   Office 4.3  Ext. 3257
University of Beira Interior          Phone: +351 275319700
6201-001 Covilhã                      Fax:   +351 275319732
Portugal

mailto:pmoura@noe.ubi.pt
http://www.ci.uc.pt/logtalk/pmoura.html
-----------------------------------------------------------

