[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: libtool question
- To: <oron(at-nospam)actcom.co.il>
- Subject: RE: libtool question
- From: Oded Arbel <odeda-linux-il(at-nospam)betalfa.org.il>
- Date: Mon, 7 May 2001 09:03:13 +0000 (/etc/localtime)
- Cc: Linux-IL Mailing list <linux-il(at-nospam)cs.huji.ac.il>
- In-Reply-To: <XFMail.20010506221555.oron@mozart.home.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
On Sun, 6 May 2001 oron@actcom.co.il wrote:
> On 06-May-2001 Oded Arbel wrote:
> > I'm trying to use libtool to help me build a library. I wrote a simple
> > Makefile (here's a snippet :
> > ...
>
> Good. libtool is the way to build libraries in different environment and
> stay sane.
Thanks :-)
> > I've tried to link against the .la file buf ld failed saying that
> > it didn't recognize the file format. linking against the .al file in the
> > libs directory worked though (after I created a soft link to libMyLib.a
> > of course). I was wandering if this is the correct behaviour, and if I
>
> Just like you use libtool to run the compile command, you should use
> it for every other step: link, local testing, installing.
Yes, but I would like to build a system library that other projects could
link agains, whether they might be using libtool or not. so which file
should I install ?
> But, If you started using good tools, why stop at libtool?
> Use automake/autoconf to write the Makefile for you. It has good support
> for libtool.
Writing a simple Makefile by hand is not a problem, and currently I (a)
aim only for Linux, (b) want to know how to write Makefiles (my first real
attempt at understanding what's going on there) and (c) learning
automake/autoconf is lower priority for now (that is - lower then making
the library build an link correctly on a Linux machine).
Thanks
Oded
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il