This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: use gcc -### in ld tests


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>


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