Binutils configure problem on windows (sed.exe: -e expression #1, char 1: unknown command: `C')
Joel Brobecker
brobecker@adacore.com
Fri Jun 21 17:33:00 GMT 2013
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking whether -fkeep-inline-functions is supported... yes
> C:\MinGW\bin\sed.exe: -e expression #1, char 1: unknown command: `C'
> configure: creating ./config.status
> config.status: creating Makefile
> gawk: ./confvtGsFH/subs.awk:20: S["FLAGS_FOR_TARGET"]="
> -L$$r/$(TARGET_SUBDIR)/w
> insup/mingw -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem
> $$s/winsup/mingw/i
> nclude -isystem $$s/winsup/w32api/include -"\
> gawk: ./confvtGsFH/subs.awk:20:
>
> ^ backslash not last
> character on li
> ne
> C:\MinGW\bin\sed.exe: couldn't write 20 items to stdout: Invalid argument
> config.status: error: could not create Makefile
> C:\MinGW\bin\sed.exe: -e expression #1, char 1: unknown command: `C'
I am wondering if you might be having line-ending issues.
I usually add the following to my shell startup files:
export SHELLOPTS
set -o igncr
--
Joel
More information about the Binutils
mailing list