Newsgroups: comp.os.msdos.djgpp Date: Mon, 8 Sep 1997 13:56:37 +0200 (MET DST) From: Ivo Janssen Reply-To: Ivo Janssen To: Eli Zaretskii cc: djgpp AT delorie DOT com Subject: Re: sed problem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 8 Sep 1997, Eli Zaretskii wrote: > On Wed, 3 Sep 1997, Ivo Janssen wrote: > > > bash$ ./configure --target=i386-go32 > > > > sed: garbled command s|^COMPILERS[ ]*=[ ]*\ > > Why i386-go32? AFAIK, it should be something like i386-pc-msdos. Did > you try that? > > > Config.guess failed to determine the host type. Defaulting to > > target. Yeah, well, the previous is not the problem. I should have written --target=i386-go32 --host=i386-go32 (-pc- is not neccesary), but sed fails on every single config. Doesn't matter what architecture.. go32 is allowed if one compiles in the cross-2.7.0-patch from cygnus. But the error occurs also with vailla gcc-2.7.0 > Somehow the rest of the command 9after the backslash) doesn't get to > Sed. This might mean that Bash is set up incorrectly or something. > "set +x" should help. It seems to be set -x BTW. Output from ./configure --target=i386-linux --host=i386-linux with set -x gave the whole sed-command, so it didn't stop after COMPILERS. Still I'm getting: sed: garbled command s|^COMPILERS[ ]*=[ ]*\ Original lines in configure sed -e "s|^SUBDIRS[ ]*=.*$|SUBDIRS = $subdirs|" \ -e "s|^LANGUAGES[ ]*=[ ]*\(.*\)$|LANGUAGES = \1 $all_languages|" \ -e "s|^COMPILERS[ ]*=[ ]*\(.*\)$|COMPILERS = \1 $all_compilers|" \ -e "s|^LANG_MAKEFILES[ ]*=.*$|LANG_MAKEFILES = $all_lang_makefiles|" \ -e "s|^LANG_STAGESTUFF[ ]*=.*$|LANG_STAGESTUFF = $all_stagestuff|" \ -e "s|^LANG_DIFF_EXCLUDES[ ]*=.*$|LANG_DIFF_EXCLUDES = $all_diff_excludes|" \ Makefile.tem > Makefile.xx Any other ideas? I'm using sed-1.18 from DJGPPv2.01 I noticed there is a newer sed (sed-2.05), but not for DJGPP... Ivo. --------------------+--------------------------------+-+ +---+ | IVO JANSSEN | ivo AT ricardis DOT tudelft DOT nl | | | | | Ricardishof 1/428 | janssen AT cardit DOT et DOT tudelft DOT nl | | |-+ | | 2614 JE Delft | http://www.et.tudelft.nl/~ivo/ | +->-| (|) | the Netherlands | Dept of Electrical Engineering | |-+ | | +31-15-2855973 | Delft University of Technology | | | +-------------------+--------------------------------+ --- --- Do you want to win $1000 by using you computer's idle time AND prove that 56-bit encryption isn't _that_ safe? Try http://rc5.distributed.net/