From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15584 invoked by alias); 9 Feb 2008 00:48:53 -0000 Received: (qmail 15575 invoked by uid 22791); 9 Feb 2008 00:48:53 -0000 X-Spam-Check-By: sourceware.org Received: from mtaout02-winn.ispmail.ntl.com (HELO mtaout02-winn.ispmail.ntl.com) (81.103.221.48) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 09 Feb 2008 00:48:27 +0000 Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20080209005006.MLXZ3337.mtaout02-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com>; Sat, 9 Feb 2008 00:50:06 +0000 Received: from [127.0.0.1] (really [82.25.97.48]) by aamtaout04-winn.ispmail.ntl.com with ESMTP id <20080209004823.LRVT29112.aamtaout04-winn.ispmail.ntl.com@[127.0.0.1]>; Sat, 9 Feb 2008 00:48:23 +0000 Message-ID: <47ACF852.8080909@ntlworld.com> Date: Sat, 09 Feb 2008 00:48:00 -0000 From: Dave Murphy User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: gerritvn@gpvno.co.za, gpvno@telkomsa.net CC: gdb@sourceware.org Subject: Re: GDB/Mingw make problem References: <478A8022.18277.6CAB521@gerritvn.gpvno.co.za> In-Reply-To: <478A8022.18277.6CAB521@gerritvn.gpvno.co.za> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 080208-0, 08/02/2008), Outbound message X-Antivirus-Status: Clean X-Cloudmark-Analysis: v=1.0 c=1 a=FCU8PmJwzYtsGM6QwZh0gw==:17 a=3cKNfjIUhMG9t9O75ggA:9 a=3bY7hG7SzNH3khQYnK26xZsul08A:4 a=HMmPKh5NLbsA:10 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-02/txt/msg00042.txt.bz2 Gerrit van Niekerk wrote: > I am trying to make GDB-6.7.1 using MinGW on WinXP. > Configure works fine: > > ./configure --host=i686-pc-mingw32 --target=djgpp > > Make gives the following error: > > sed -f .././bfd/targmatch.sed < .././bfd/config.bfd > targmatch.new > sed: file .././bfd/targmatch.sed line 1: Extra characters after command > make[4]: *** [targmatch.h] Error 1 > > The problem seems to be a very old version (v 3.02) of SED and I can't find a more recent one. > Any help would be appreciated. > Actually, I had the same problem recently building from CVS. The problem is that targmatch.sed has DOS line endings, msys sed 3.02 will cope fine if you run dos2unix on the file first. I didn't have this problem with the release tarballs though, just TortoiseCVS being a pain & doing line conversions. Dave