Libtool? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Libtool?
Date
Msg-id 200501072044.58014.peter_e@gmx.net
Whole thread Raw
Responses Re: Libtool?  ("Marc G. Fournier" <scrappy@postgresql.org>)
List pgsql-hackers
Various recent and not so recent problem reports got me thinking again 
that it might be worth switching our shared library build system to 
libtool.  Among those are:

- Guesswork about which spellings of -rpath, -export-dynamic, -fpic etc. 
work on a particular platform or compiler.

- Lack of information about which libraries libpq depends on.

- Makefile.shlib can only build one library per directory.

- pgxs is pretty ugly and inflexible because of the above.

- Static libraries built with -fpic, which is sometimes considered a 
bug.

- Misbehavior with rpaths pointing the wrong way during the regression 
tests and similar problems could maybe be tackled.

Considering that pretty much everyone uses libtool these days, I'm not 
too worried about portability.

(And before anyone asks: No, libtool does not require automake.)

I think it may be worth trying out.  Comments?

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Compiere ERP and SQL quirks
Next
From: Andreas Pflug
Date:
Subject: Re: Compiere ERP and SQL quirks