This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: Binutils configure problem on windows (sed.exe: -e expression #1, char 1: unknown command: `C')


> 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


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