This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: use gcc -### in ld tests
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: binutils at sources dot redhat dot com
- Date: 06 May 2003 12:53:20 -0700
- Subject: Re: use gcc -### in ld tests
- References: <20030506101226.GG924@bubble.sa.bigpond.net.au>
Alan Modra <amodra@bigpond.net.au> writes:
> Some of the ld elfweak tests fail for powerpc because ld is linking
> in the wrong crt* files for use in a shared lib. This is an attempt
> to fix the problem by using gcc -###. Would one of the testsuite
> gurus like to review it for me, please?
>
> * lib/ld-lib.exp (default_ld_link): Use "gcc -###" to choose
> correct crt* and libs.
Wouldn't it be better to use 'gcc -print-file-name' and companions?
--
- Geoffrey Keating <geoffk@geoffk.org>