On Sun, 6 May 2001 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]