On Apr 27, 2000, Jakub Jelinek <[EMAIL PROTECTED]> wrote:

> ltconfig records for gcc any options from gcc -print-multi-lib and if it
> sees them during --mode link, it passes them into compiler_flags (and thus
> into gcc -shared options)

That's part of what the multi-language branch does.

> In addition to this, it handles -B, -b and -V gcc options.

Which is wrong, because it assumes GCC will be used for linking, while
it won't always be, and you can't just pass -B, -b and -V flags to ld.
That's why libtool currently strips these flags off, and requires the
use of `-Wc,' or `-Wl,' to tell whether to pass flags to the linker or
to the compiler driver.  Unfortunately, if ld is used for linking, the
-Wc, flags will never make it to the link command, but there's nothing
that can be done about it.  Please try the multi-language branch
before trying to duplicate its work.

>       (sparc64-*-linux-gnu*): Use libsuff 64 for search paths.

This is fine.  Please post it to [EMAIL PROTECTED], and it will
eventually be installed.

-- 
Alexandre Oliva    Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

Reply via email to