Send Support mailing list submissions to
address@hidden
To subscribe or unsubscribe via the World Wide Web, visit
http://www.swarm.org/mailman/listinfo/support
or, via email, send a message with subject or body 'help' to
address@hidden
You can reach the person managing the list at
address@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Support digest..."
Today's Topics:
1. Re: Swarm 2.2 on Intel (and PPC) Mac OSX Tiger (Bill Northcott)
2. Swarm on MacOS X Intel (Bill Northcott)
----------------------------------------------------------------------
Message: 1
Date: Tue, 11 Jul 2006 15:23:09 +1000
From: Bill Northcott <address@hidden>
Subject: [Swarm-Support] Re: Swarm 2.2 on Intel (and PPC) Mac OSX
Tiger
To: "Brandon M. Gabler" <address@hidden>
Cc: Swarm Support <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
The current Swarm binary for MacOS X is PPC code. I hope to get a
fat Tiger binary built soon.
Due to the amazing magic of Rosetta, it is possible to get ppc Swarm
binaries to work on an Intel Mac!
First install Swarm as detailed in:
http://www.swarm.org/wiki/Swarm_FAQ:Macintosh_installation
http://www.swarm.org/wiki/Swarm:_MacOS_X_binaries
This has got a bit buried with reorganisations of the Swarm web
site. I will try to improve the linking between these.
Then you need to make two small changes in the file /usr/local/
swarm2.2/etc/swarm/Makefile.common. On line 27 you will find the
definition of CFLAGS and on line 34 the definition of OBJCFLAGS.
Just add '-arch ppc' (without the quotes) to both lines.
You can then build and run Objective-C Swarm code as described in
other documentation. I have not tried Java, but I will be very
surprised if it works.
The extra compiler flag causes the compiler to build ppc code.
Without it, the compiler defaults to i386 code which will fail at
link time because there is no i386 code in the current Swarm
binaries. However, a ppc binary, once built, runs happily due to the
magic of Rosetta.
Bill Northcott
On 11/07/2006, at 2:25 AM, Brandon M. Gabler wrote:
I am on the Swarm support list, and saw your thread about this
subject from May.
I recently purchased a new macbook pro with the intel chip, and
want to get
Swarm running.
I am new to Mac, new to unix code, and have only used swarm 2.2 in
windows (via
cygwin), and am looking for step by step instruction for getting it
running on
my mac. I have downloaded the packages, installed them, but lack the
directories that supposedly should exist. I'm am confused by this.
Is there any
way you can help out?
------------------------------
Message: 2
Date: Tue, 11 Jul 2006 15:26:37 +1000
From: Bill Northcott <address@hidden>
Subject: [Swarm-Support] Swarm on MacOS X Intel
To: Swarm Support <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
A quick and dirty hack is now available which will allow the current
PPC Swarm binaries to be used on an Intel Mac.
See: http://www.swarm.org/wiki/Swarm_FAQ:Macintosh_installation
Hopefully I can find the time to build a proper universal binary soon.
Enjoy
Bill Northcott
------------------------------
_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support
End of Support Digest, Vol 25, Issue 6
**************************************