[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swarm-Support] Pretest 8
From: |
Marcus G. Daniels |
Subject: |
[Swarm-Support] Pretest 8 |
Date: |
Tue, 12 Aug 2003 07:58:23 -0600 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5a) Gecko/20030721 |
Hi,
I've just put up
ftp:/ftp.santafe.edu/pub/swarm/binaries/w32/latest/Swarm-2.2-pretest-8.tar.gz.
This is the latest build of Swarm with the addition of a build of GCC
3.3.1, the latest
stable release of GCC. This build of GCC 3.3.1 includes a build of the
GCJ compiler and libraries, with some bug fixes to make dynamic linking
[of the Swarm libraries] work with Cygwin.
To use GCJ to build Swarm executables of Java Swarm models, you can add
rules like this to your model implementation Makefile:
Here's an example for Java heatbugs: (one line)
CLASSPATH=/Swarm-2.2/share/swarm/swarm.jar gcj -O2 -g
--main=StartHeatbugs -L/Swarm-2.2/lib *.class
/Swarm-2.2/lib/gcj_{swarm,gnubytecode}.o -o jheatbugs
Then you will need to inform the dynamic linker as to the location of
the libraries:
export LTDL_LIBRARY_PATH=/Swarm-2.2/lib
Finally, run it:
./jheatbugs
Btw, there are still problems making recent Cygwin DLLs and Sun JDK
place nice. I've figured out what some of the conflicts are, but some
remain. A good thing to do would be to make the Java Swarm DLL builds
not dependent on the Cygwin DLL.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Swarm-Support] Pretest 8,
Marcus G. Daniels <=