Hi Ben

Thank you for pointing me to the issue with CRLF vs LF line terminators.
This ended up being the issue. I had copy/pasted the text from the
config.guess and config.sub from the ftp site and saved them using WordPad
in Windows. Googling how to convert in cygwin, I converted the files to LF
using

sed -i 's/\r//' config.sub
sed -i 's/\r//' config.guess

I thank you again for pointing me in the right direction. For completeness,
here is the output you requested:

$ sh config.sub amd64
x86_64-pc-none

Thanks, again,
Daryush

On Tue, Aug 2, 2016 at 11:43 PM, Ben Elliston <[email protected]> wrote:

> On Tue, Aug 02, 2016 at 10:40:36PM -0400, Daryush Mehta wrote:
>
> > $ file ./config.sub
> > ./config.sub: POSIX shell script, ASCII text executable, with CRLF line
> > terminators
>
> The CRLF terminators may be the problem for the Cygwin bash shell.
> What if you type:
>
> $ sh config.sub amd64
>
> (for example?)
>
> Cheers, Ben
>



-- 
Daryush D. Mehta, PhD
http://web.mit.edu/dmehta/www/ <http://web.mit.edu/dmehta/www/index.html>
_______________________________________________
config-patches mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/config-patches

Reply via email to