This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB/Mingw make problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]