swarm-support
[Top][All Lists]
Advanced

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

[Swarm-Support] Pretest 11 for Windows


From: Marcus G. Daniels
Subject: [Swarm-Support] Pretest 11 for Windows
Date: Sun, 02 Nov 2003 13:52:49 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.6a) Gecko/20031030

Hi,

At ftp://ftp.santafe.edu/pub/swarm/binaries/w32/latest/Swarm-2.2-pretest-11.tar.gz is a new build of Swarm for Windows. There aren't any significant source level changes to Swarm itself, but this one is built using the new GCC release of Cygwin. The new GCC for Cygwin is a welcome upgrade, as it is now includes an Objective C compiler. Forever Swarm has included it's own build of GCC for the sake of Objective C (and in the past even source-level fixes to the compiler), and now Objective C just works out of the box. Also, the native-code GCC Java compiler works out of the box, although a few tweaks were needed to the runtime. I've made the Cygwin and GCJ folks aware of the problems and the fix -- hopefully that too will get straightened out. In this tarball /Swarm-2.2/lib/libgcj.a updates the one in /usr/lib (that you get from the gcc-java package in Cygwin). Assuming those minor problems get fixed, the Windows binary tarball size of Swarm will drop from more than 50 megabytes to less than 15 megabytes. This is all inching toward being low maintenance, I hope..

Anyway, to use this, get and unpack the URL above and make it available in Cygwin as /Swarm-2.2. Remember to set SWARMHOME to /Swarm-2.2 and PATH to something like /Swarm-2.2/bin:/bin.

To use GCJ, compile like below.  (This is for Java heatbugs.)
Note the addition of "-L/Swarm-2.2/lib" -- that's just to pick up the modified libgcj.a.

CLASSPATH=/Swarm-2.2/share/swarm/swarm.jar gcj --main=StartHeatbugs *.class /Swarm-2.2/lib/gcj*.o -L/Swarm-2.2/lib -o jheatbugs

And run the binary like so:

LTDL_LIBRARY_PATH=/Swarm-2.2/lib ./jheatbugs

For using Sun JDK, you may need to edit the javacswarm and javaswarm scripts. Or tweak jdkcswarm and jdkswarm to name the version of Sun JDK you prefer.


reply via email to

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