GDB/Mingw make problem

Dave Murphy wintermute2k4@ntlworld.com
Sat Feb 9 00:48:00 GMT 2008


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



More information about the Gdb mailing list