[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Add -no-suppress to LT_CFLAGS

From: Peter Samuelson <peter_at_p12n.org>
Date: Thu, 3 Jan 2013 01:18:03 -0600

[Justin Erenkrantz]
> Because GNU libtool always compiles code twice on Mac OS X (insert rant
> against GNU libtool here)
> But, then again, I always like reminding devs how evil libtool is and
> that it's double-compiling everything. =P

Well, you asked it to build both static and shared libraries. What's
it supposed to do? With most ABIs, you want to build shared library
code in PIC mode and all other code in non-PIC mode. So yes, that
means double-compiling. You'll notice it does _not_ do this for
non-library code such as subversion/svn/ or subversion/svnadmin/. (At
least on Linux it doesn't. I actually have no idea what it does on Mac

Frankly, if you think double-compiling is "evil", you should be
suggesting that we make either '--disable-static' or '--disable-shared'
the default - see configure.ac, line 238 or so. Not blaming libtool.
Received on 2013-01-03 08:18:46 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.