swarm-support
[Top][All Lists]
Advanced

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

Re: JDK1.3 vs. Kaffe (two events at the same time; building)


From: Alex Lancaster
Subject: Re: JDK1.3 vs. Kaffe (two events at the same time; building)
Date: 13 Nov 2000 14:37:15 -0700
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.6

>>>>> "TTF" == Tee Toth-Fejel <address@hidden> writes:

TTF> Even when you schedule two events at the same time?  What exactly
TTF> do you mean by "works"?  Do you mean the following:

TTF> java TestMapIndex <same output as with javaswarm.  If so, what is
TTF> javaswarm good for?>

javaswarm is wrapper around "java" that sets the CLASSPATH to the
correct classes/jar files and the LD_LIBRARY_PATH (that points to the
shared libraries) so that you don't need to specify all this yourself.
If your program is purely standalone (i.e. does not rely on any Swarm
libraries) then clearly you don't need it.

TTF> Doing a build.  Sounds very mysterious, since we're not just
TTF> compiling C, we're not just compiling java, we're not just
TTF> programming in Emacs Lisp.  (all of which I've done) And I've
TTF> never seen makefiles with .in and .am extentions...

A "build" refers to the creation of all of the above.  The usual
procedure is something like:

 $ ./configure --prefix=<place-to-install-it> <other-configure-options>

  creates Makefile's from Makefile.in's

 $ make

  does the actual `make'

The ".am" and ".in" files are used by automake and autoconf to create
the actual Makefiles that are used when you issue the final make.
Most GNU tools and most other GNU/Linux projects are built using this
cycle, it's absolutely necessary to use something like
automake/autoconf on any non-trivial software projects, maintaining
the Makefile's by hand would be a nightmare.

>> Or look at the Makefiles and source in the java/ subdirectory...

TTF> Thanks for the pointer, but I have never seen anything like it.
TTF> These do not seem like your normal makefiles.  Perhaps I need to
TTF> review a tutorial on this particular kind.  Any pointers?

TTF> SHELL = @SHELL@ ??

You don't need to edit these files by yourself.  From a user
perspective, look at the README and INSTALL files in the source
distribution of Swarm.  If you want to know the gory details check
out:

http://www.amath.washington.edu/~lf/tutorials/autoconf/

Alex
-- 
   Alex Lancaster * <address@hidden> * www.santafe.edu/~alex 
Dept. of Integrative Biology, UC Berkeley (ib.berkeley.edu) * +1 510 642-1233
    & Swarm Development Group, Santa Fe, New Mexico (www.swarm.org) 

                  ==================================
   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]