This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Binutils configure problem on windows (sed.exe: -e expression #1, char 1: unknown command: `C')
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Kim <soldoutseashell at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 21 Jun 2013 10:32:57 -0700
- Subject: Re: Binutils configure problem on windows (sed.exe: -e expression #1, char 1: unknown command: `C')
- References: <51C48B08 dot 9000802 at gmail dot com>
> 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