This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: probs cross-building current libstdc++-v3, because of need tolink?


On Mon, 2003-08-11 at 23:34, cgd@broadcom.com wrote:
> At Mon, 11 Aug 2003 23:25:59 -0700, Eric Christopher wrote:
> > Hate to say it, but "worked for me" with a combined tree build on my RH9
> > box. I'll see if I can track a 7.2 box down and test on that.
> 
> i'd guess your 'gcc -print-prog-name=ld' just says 'ld'.
> 

Correct.

> if you've configured your gcc such that gcc -print-prog-name=ld prints
> just 'ld', LD will be set to 'ld' and the "test -x $(LD)" test will
> fail, and you'll get the ld -> ld-new symlink.
> 
> if you get an absolute path, you'll lose like i did methinks.  8-)

Why does yours give an absolute path? Or is the way that the OS builds
ld a little weird? (not that i've looked)

-eric

-- 
Eric Christopher <echristo@redhat.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]