swarm-support
[Top][All Lists]
Advanced

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

Re: adding a library


From: Sven N. Thommesen
Subject: Re: adding a library
Date: Mon, 20 Jul 1998 16:17:10 -0500

At 03:48 PM 7/18/1998 -0600, you wrote:
>>>>>> "ST" == Sven N Thommesen <address@hidden> writes:
>
>ST> I'm trying to figure out what to do to add a library of my own to
>ST> the Swarm package. Now that we're using the configure 'magic',
>ST> it's a little more complicated than it was.
>
> <snip>
>
>The first thing I'd suggest is getting latest versions of automake and
>autoconf installed on your system and peruse the documentation to get
>the feel of how the two packages fit together.  

I see that RedHat-5.1 contains automake-1.3 and autoconf-2.12. I'll take
your advice and look at the docs.

>We will also be building more smarts into Swarm itself to make this
>process mostly transparent to the user - so it should involve no more
>lines in a Makefile.am than the existing Makefiles (I will post an
>example Makefile.am and configure.in file for an application I'm
>developing in other mail, to give you an idea of how this might be
>done).

Sounds good! You guys do work magic ;-)

>Mostly I'm working on getting applications working with automake so
>far, and I'm just about to start the library stuff, but if you want we
>can both work on the library framework as well.  

Unfortunately, I'm in the same place as Doug -- not only would my advisor
kill me if I were working on anything non-dissertation related, but I now
have a book editor clamoring for some output as well! At this point I was
only looking for a quick fix ...

>If you're creating a new library, I suggest that it should have it's
>own configure script and all applications that reference it should
>also have a pointer to this library (using a `--with-yourlibname' flag
>at configure time).  The reason for this is that you want to be able
>to maintain a sharp distinction between the base Swarm installation
>and any new libraries you add.  It also means that you will have
>portable packages that others can use.  

Sounds like sensible advice to me.

>Alex
>

Thanks,
--Sven


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