bug-gnulib
[Top][All Lists]
Advanced

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

Re: new module lib-ignore; new section build_lib in MODULES.html


From: Bruno Haible
Subject: Re: new module lib-ignore; new section build_lib in MODULES.html
Date: Wed, 18 Jan 2006 13:36:35 +0100
User-agent: KMail/1.5

Paul Eggert wrote:
> Stepping back from things a bit, I discovered a way to simplify
> lib-ignore so that it no longer needs to use ldd.  Instead, it merely
> uses the '-z ignore' option if this works.

All the better.

One more question about this macro: What is the difference between
-Xlinker and -Wl (apart from the slightly different syntax)? libtool and
config.rpath sometimes use -Wl to pass an option to the linker and never
-Xlinker, whereas your macro uses sometimes -Xlinker and never -Wl.
It appears that -Xlinker is supported only by gcc, and -Wl by other
compilers too?

> I looked into doing this, and ran into some problems.
> LDDPOSTPROC is set in such a way that configure needs to employ 'eval'
> to use it, and then I ran into porting problems when using things like
> 'eval "$LDDPROG ... $LDDPOSTPROC"' since LDDPROG began "LC_ALL=C ..."

The variables were not meant to be used with eval, just to be used
without quotes, like this:
     $LDDPROG program $LDDPOSTPROC

Which problem did you run into?

Bruno





reply via email to

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