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: [patch] -dynamic-linker autodetection broken with biarch gcc


Hi Paul,

Conveniently gcc --help --verbose invokes the linker to obtain a list of commandline options, so we can use this to obtain the value instead.

Tested on i686-linux x86_64-linux and powerpc-linux.
Ok?

2005-07-14 Paul Brook <paul@codesourcery.com>

	* configure.host (HOSTING_CRT0): Parse output of gcc --help --verbose
	to determine dynamic linker name.

Approved - please apply, but...


I think that it would be nicer if this logic were separated out of the HOSTING_CRT0 definition and put into its own variable which could then just be evaluated via the back-tick operator. The reason being that you could then spread the definition over several lines, add some helpful comments and generally make it easier to read and understand. What do you think ?

Cheers
  Nick


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