Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 81073 invoked from network); 10 Mar 2007 18:05:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Mar 2007 18:05:38 -0000 Received: (qmail 57261 invoked by uid 500); 10 Mar 2007 18:05:46 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 57250 invoked by uid 500); 10 Mar 2007 18:05:46 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 57239 invoked by uid 99); 10 Mar 2007 18:05:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Mar 2007 10:05:46 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [208.50.6.28] (HELO WM28.inbox.com) (208.50.6.28) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 10 Mar 2007 10:05:35 -0800 Received: from inbox.com (127.0.0.1:25) by inbox.com with [InBox.Com SMTP Server] id <703100093487.WM28> for from ; Sat, 10 Mar 2007 10:05:22 AM -0800 Mime-Version: 1.0 Date: Sat, 10 Mar 2007 10:05:22 -0800 Message-ID: <112BFEA6FD0.00000194mbrown@inbox.com> From: Mark Brown Subject: RE: Cygwin libc_decl.sh script error To: stdcxx-dev@incubator.apache.org, stdcxx-dev@incubator.apache.org In-Reply-To: References: <45ef4edd.6010304@roguewave.com> <7bdb2168beaef14c98f1901fd2de64384e1edc@epmsa009.minsk.epam.com> X-Mailer: INBOX.COM Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-IWM-ACU: SHsw2K7WKhDQlTmMY8Y3b2_zXgheIyNTYSYUKnrYSEc-I0LNtCPvisOMevMY g7ryRA4l0H_1fpmouYfd1c75os1Zr7xuzb90KVYpxnyoZ03ba9N1w-Qz1WeN OZ8aUETP_z7ljvzI@ X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: scottz=40roguewave.com > Sent: Fri, 9 Mar 2007 10:50:24 -0700 > To: stdcxx-dev=40incubator.apache.org > Subject: RE: Cygwin libc_decl.sh script error >=20 > Aha=21 That was the problem, difference between unix and windows line > termination caused Cygwin to read in invalid character. I had set > Cygwin to read all files via binary. I set Cygwin to read in DOS files > and that solved the issue of script error. I will continue to compile > with gcc 4.1.1. If you plan to work with the files under Cygwin downloading them in the traditional UNIX format might make editing much easier. Otherwise some editors might display control control characters for Windows newlines. If I'm not mistaken, emacs likes to do that. -- Mark >=20 > Yu (Scott) Zhong > -----Original Message----- > From: Farid Zaripov =5Bmailto:Farid_Zaripov=40epam.com=5D > Sent: Friday, March 09, 2007 9:00 AM > To: stdcxx-dev=40incubator.apache.org > Subject: RE: Cygwin libc_decl.sh script error >=20 >> -----Original Message----- >> From: Martin Sebor =5Bmailto:sebor=40roguewave.com=5D >> Sent: Thursday, March 08, 2007 1:47 AM >> To: stdcxx-dev=40incubator.apache.org >> Subject: Re: Cygwin libc_decl.sh script error >>=20 >> Scott Zhong wrote: >>> Windows XP with Cygwin DLL 1.5.24-2 >>>=20 >>> GNU GCC 4.1.1 >>>=20 >>>=20 >>>=20 >>> checking if the compiler is sane ok >> (invoked with gcc) >>>=20 >>> checking if the linker is sane ok >> (invoked with gcc) >>>=20 >>> checking system architecture ILP32 >> little endian >>>=20 >>> : command not found/stdcxx/etc/config/src/libc_decl.sh: line 39: >>=20 >> What's on your line 39? The line is empty in both 4.1.3 and >> trunk which makes me suspect that either your local copy is >> corrupted or your Cygwin installation may be broken or incomplete. >=20 > The problem is in that the bash requires the script files in unix > format, > but this files have the dos format on windows. >=20 > All you need is convert *.sh files to unix format using dos2unix > utility. >=20 > Changes are commited thus: > http://svn.apache.org/viewvc?view=3Drev&rev=3D516404 >=20 > Farid.