This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Nit: False 'file path prefix never used' warning
On Fri, Jul 30, 1999 at 02:05:57AM -0300, Alexandre Oliva wrote:
> On Jul 29, 1999, Daniel Jacobowitz <drow@false.org> wrote:
>
> > I can see no easy way for collect2 to indicate whether it did use a
> > given prefix.
>
> `-v -Wl,-v'?
Indicate to gcc rather than to the user, I mean. Parsing collect2's
output would be an unspeakably bad hack for this, I think.
> > Perhaps gcc.c should check, if it knows it is using collect2 and the
> > name of the linker collect2 will invoke, if that linker is in a -B
> > path?
>
> That wouldn't work if gcc should be configured --with-ld=/path/to/ld,
> for example.
Ah, right.
Dan
/--------------------------------\ /--------------------------------\
| Daniel Jacobowitz |__| SCS Class of 2002 |
| Debian GNU/Linux Developer __ Carnegie Mellon University |
| dan@debian.org | | dmj+@andrew.cmu.edu |
\--------------------------------/ \--------------------------------/