autotools hurts my brain; it's a monster out of control

Richard W.M. Jones rjones at redhat.com
Fri Dec 5 16:40:59 UTC 2008


On Fri, Dec 05, 2008 at 11:23:33AM -0500, Adam Jackson wrote:
> gcc -shared works on windows now, you know.

That's not true.

You also need to generate an implib on Windows, which requires an
extra Windows-specific gcc option.

Furthermore you would normally want your Windows shared library to be
called foo-VERSION.dll versus foo.so.VERSION on Linux (and another,
completely different name on AIX or HP-UX).

You might also want to generate a *.def file on Windows (if you were
going to use/link with any VC code).

Libtool deals with this crap.  It's dumb to get every packager to
replicate it.

Rich.




More information about the fedora-devel-list mailing list