From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Elliston To: hjl@gnu.org, carlo@runaway.xs4all.nl Cc: gas2@cygnus.com, bfd@cygnus.com Subject: Re: [cygnus.gas2] binutils bug: config.guess Date: Sun, 04 Apr 1999 20:12:00 -0000 Message-id: References: <877lsq2xp2.fsf@cygnus.com> X-SW-Source: 1999/msg00057.html I wasn't entirely sure where I should send this, as it seems to be specific to binutils. It's a response to Carlo Wood's bug report about config.guess in the binutils package: > From: Carlo Wood > Message-Id: <199903091509.QAA03972@jolan.ppro> > Subject: binutils bug: config.guess > when trying to compile binutils-2.9.1.0.22b, I ran into a problem with > config.guess. > I have "." in my PATH, and it seems that makes config.guess fail to > execute `ld'. It tries to execute the directory ld/ in binutils. > I know I shouldn't have a "." in my path before /usr/bin, but I am sure > I am not the only one that has it any way :). This is quite a specific case that causes this to fail. Since it only occurs when there is a subdirectory named `ld' (as there is in binutils) and then only when you have `.' in front of the path to your ld program, I am inclined to suggest a binutils-only modification to config.guess that just warns: if test -d `which ld` echo "Error: cannot invoke ld" fi .. or something to that effect. I don't think I am prepared to hack up config.guess to cater for this, unless someone has a more elegant solution. > While you're at it, I found another problem with config.guess a while > ago: I can imagine that someone doesn't have a 'cc', but only a 'gcc'. > If you don't set CC in that case, config.guess also fails, a bit weird > (and confusing) for a GNU package. I feel this is a valid complaint; I will put it onto the heap. Thanks, Ben