From Xander.Schrijen@phil.uu.nl Sun Jul  8 23:09:39 2001
Received: from smtpg.casema.net (smtpg.casema.net [195.96.96.160])
	by swi.psy.uva.nl (8.11.2/8.11.2) with SMTP id f68L9dX06478
	for <prolog@swi.psy.uva.nl>; Sun, 8 Jul 2001 23:09:39 +0200 (MET DST)
Message-Id: <200107082109.f68L9dX06478@swi.psy.uva.nl>
Received: (qmail 23472 invoked by uid 0); 8 Jul 2001 21:09:37 -0000
Received: from unknown (HELO klarkash-ton) (213.17.95.8)
  by smtpg.casema.net with SMTP; 8 Jul 2001 21:09:37 -0000
Date: Sun, 8 Jul 2001 23:10:27 +0200
From: Xander Schrijen <Xander.Schrijen@phil.uu.nl>
Content-Type: text/plain;
	format=flowed;
	charset=us-ascii
Subject: Re: [SWIPL] OS X Woes
Cc: prolog@swi.psy.uva.nl
To: Dan Parvaz <dparvaz@unm.edu>
X-Mailer: Apple Mail (2.388)
In-Reply-To: <200107081548.f68FmPX28022@swi.psy.uva.nl>
Mime-Version: 1.0 (Apple Message framework v388)
Content-Transfer-Encoding: 7bit

On Sunday, July 8, 2001, at 05:48  PM, Dan Parvaz wrote:

> Dear Prologgers,
>
> Has anyone succeeded in compiling SWI on an MacOS X box?

Take a look at

http://www.phil.uu.nl/~xges/HOWTO/swipldynlib.html

>  Everytime I run
> ./configure and make, I get a string of bizarre errors, starting with
> supposed syntax errors in the WAM that look like this:
>
> pl-wam.c:1707: illegal expression, found `&&'

This isn't really harmfull.  It's the smart preprocessor being 
too smart.  The compiler falls back on the tradiditional 
preprocessor.  The "CC='cc -traditional-cpp'" bit on my page is 
to make the compiler use the traditional preprocessor from the 
start.


Xander.

