FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

LinkBack Thread Tools
Old 04-09-2008, 11:13 AM
Josh Triplett
Default Announcing Dolt, a drop-in Libtool replacement which cutsbuild times in half

> On Wed, Apr 09, 2008 at 03:34:18AM -0700, Josh Triplett wrote:
> (...)
>> Thus, I wrote Dolt, a drop-in replacement for libtool's compilation
>> mode. Dolt runs any necessary system-specific or
>> configuration-specific logic as part of configure, writes out a simple
>> shell script "doltcompile"[1], and substitutes it for libtool in the
>> automake variables LTCOMPILE and LTCXXCOMPILE. If you use automake,
>> autoconf, and libtool, then using Dolt just requires two steps:
> (...)
> Does it inherit that bad habit libtool has with reordering flags,
> such as -Wl,--as-needed ?

doltcompile does not reorder any flags passed to it; it merely
replaces the .lo filename with the appropriate object filename and
adds any necessary additional compiler flags (such as -fPIC -DPIC) to
the end of the command line.

dolt doesn't currently cover linking; libtool still does that. Since
-Wl,--as-needed appears at link time, libtool may still mess with it.
If and when I create a doltlink, it will not reorder flags either.

- Josh Triplett

Thread Tools

All times are GMT. The time now is 11:19 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org