swarm-support
[Top][All Lists]
Advanced

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

[Swarm-Support] Re: Swarm 2.2 on Intel (and PPC) Mac OSX Tiger


From: Brandon M. Gabler
Subject: [Swarm-Support] Re: Swarm 2.2 on Intel (and PPC) Mac OSX Tiger
Date: Fri, 14 Jul 2006 07:06:28 -0700
User-agent: Internet Messaging Program (IMP) 4.0-cvs

I had built the model using Cygwin Swarm 2.2 on windows, and did my editing in
Emacs. That's all I had done to this point, so whatever compiler Cygwin used as
default, that's what I used. As I've said before, I'm just an archaeologist
using Swarm, not a programmer, so a lot of this is still fairly foreign to me
though I'm learning a lot along the way. But it does seem like any of the
existing Objective C models will not run with the nested funtions either (such
as SchellingII, which I used as the base for my own).

On the Mac I'm just using gcc-4, haven't added any other compiler at all, so my
modeling on mac is standard.

I'll play around with it this weekend; thanks again for the help! Hopefully one
day I'll be able to repay the favor.

Brandon


--
Brandon M. Gabler
Research Associate
Department of Anthropology
1009 E South Campus Drive, Building #30A
University of Arizona
Tucson, AZ 85721
Phone: 520-621-8455
Fax: 520-621-2088


Quoting Bill Northcott <address@hidden>:

On 14/07/2006, at 3:13 AM, Brandon M. Gabler wrote:
In case anyone is interested, the program is available for download  at:
http://www.u.arizona.edu/~bgabler/

I have downloaded and built your model with a couple of small mods.
As posted, it will not build with Apple's gcc-4, the compiler you
should be using, because it contains nested function definitions.
These are strongly deprecated and will soon be disabled for security
reasons.

Getting rid of the nested functions, your code builds and runs on my
MacBook Pro without problem.

What compiler are you using?   Do you have Fink or other nastiness
installed?  Your problem is looking like some incorrect cctools.

Bill





reply via email to

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