This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: use gcc -### in ld tests
On Tue, May 06, 2003 at 12:53:20PM -0700, Geoff Keating wrote:
> Alan Modra <amodra@bigpond.net.au> writes:
> > * 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?
Part of the problem is selecting crtbeginS.o vs. crtbegin.o, which
gcc -### solves nicely.
--
Alan Modra
IBM OzLabs - Linux Technology Centre