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] |
On Wed, Jan 05, 2005 at 09:47:30AM +1100, Greg Schafer wrote: > On Tue, Jan 04, 2005 at 11:43:26AM +0100, Jakub Jelinek wrote: > > > So, I think the patch should use ${CC} --print-file-name=specs, > > if that prints just specs, it should use ${CC} -dumpspecs, > > otherwise cat the specs file. > > specs=`${CC} --print-file-name=specs` > > { if [ x"$specs" = xspecs ]; then ${CC} -dumpspecs; else cat "$specs"; fi; } \ > > | egrep ... > > Yes. That would seem saner and definitely more robust. I'll try to make a > new patch and test it Here is a new patch that tested out fine for me with gcc-4 and gcc-3.4.3. Nick approved the previous patch, so if this one is also approved, could someone please apply it as I don't have commit priv's. Thanks Greg
Attachment:
ld.patch.new
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |