swarm-support
[Top][All Lists]
Advanced

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

Re: NT Install


From: Marcus G. Daniels
Subject: Re: NT Install
Date: 20 Nov 1999 16:59:18 -0800
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "JS" == Jayshree Sarma <address@hidden> writes:

JS> Is there a non-java version for NT?  The one I downloaded and
JS> installed seems to include Javaswarm.

No, the development kit is one big, inclusive package.

There isn't really any overhead for Java.  When you link an Objective
C Swarm model (to swarm.dll), there are no further DLL dependencies
for Java.  (Java Native Interface uses indirection provided by the
Java runtime to provide native access to Java features.)

If it is delivery of a model that you are concerned about, that can
be done in this way:

First create a base directory for `delivered' Swarm things.  Temporarily
set and export the SWARMHOME environment variable to this absolute
pathname.  (SWARMHOME is used to locate the resources below when the
executable actually runs.)

Then, unpack ftp://ftp.santafe.edu/pub/swarm/java/tcltkblt.tar.gz in
the SWARMHOME directory.  These are support files for Tcl, Tk, and BLT,
packages on which Swarm depends.

For Windows, you'll need to set up these DLLs:

  cp /Cygnus/cygwin-b20/H-i586-cygwin32/bin/cygwin1.dll $SWARMHOME/bin
  cp /Cygnus/cygwin-b20/H-i586-cygwin32/bin/cygtcl80.dll $SWARMHOME/bin
  cp /Cygnus/cygwin-b20/H-i586-cygwin32/bin/cygtk80.dll $SWARMHOME/bin
  cp /Swarm-2.0.1/bin/blt24.dll $SWARMHOME/bin

For Unix, you'll need to copy the files in /Swarm-2.0.1/lib to
$SWARMHOME/lib.  Alternatively, if you want to statically link on
Unix, use this command:

 $ make EXTRALDFLAGS=-static

or, if you want absolutely no shared library dependencies:

 $ make EXTRALDFLAGS=-all-static

..but that may require adding more static library RPMS on the machine
where you do the linking.

And you should copy this file, because it serves as a sanity check
for the $SWARMHOME:

  cp /Swarm-2.0.1/include/swarmconfig.h $SWARMHOME/include 

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

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