bug-libtool
[Top][All Lists]
Advanced

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

Re: AC_LIBTOOL_SYS_DYNAMIC_LINKER "gcc -print-search-dirs" problem


From: Peter O'Gorman
Subject: Re: AC_LIBTOOL_SYS_DYNAMIC_LINKER "gcc -print-search-dirs" problem
Date: Thu, 14 Sep 2006 00:20:28 +0900


On Sep 14, 2006, at 12:12 AM, Ralf Wildenhues wrote:

* Peter O'Gorman wrote on Wed, Sep 13, 2006 at 04:55:11PM CEST:
On Sep 13, 2006, at 11:49 PM, Ralf Wildenhues wrote:

Only as a last resort, if you ask me.  Other compilers love to
disguise as gcc, and Autoconf's AC_FC_LIBRARY_LDFLAGS is witness of
how helplessly maintenance-intensive an approach like the above is.

That's looking at all kinds of flags, in this case we're only
interested in -L.

Alright, feel free to give it a shot.  From the Autoconf macro we know
that
   -LANG:=* | -LIST:* | -LNO:*

should be ignored, for pathscale and some other compilers I have
forgotten now.  Otherwise your awk script seems to work with PGI,
Intel, and PathScale.

I don't think we need to worry about that as the test is specific to gcc. However I'll think about it more tomorrow when I hack at it, bedtime here now :)

Peter




reply via email to

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