bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool 2.2.2: -prefer-pic implementation


From: Ralf Wildenhues
Subject: Re: libtool 2.2.2: -prefer-pic implementation
Date: Sun, 6 Apr 2008 15:27:17 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

Hello Bruno,

Thanks for the bug report.

* Bruno Haible wrote on Sun, Apr 06, 2008 at 03:08:22PM CEST:
> In a package that uses libtool 2.2.2 and is configured with
>   ./configure --enable-shared --enable-static
> then -prefer-pic in compile mode has a stupid effect.
[...]
> It is pointless to compile the same source file with the same compiler
> options twice, no?

Yep; confirmed.

> The second command could simply make a copy of the first compilation
> result.

Well, the Right Thing To Do[tm] would be to not need a second file at
all, so neither processing time nor disk space would be wasted.

The nontrivial part is to fix the rest of libtool not to require
presence of both files; I also expect that it breaks some users'
setups.  If we can't get that to work right, then 'ln || cp' of
the files could probably be used.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]