delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/08/08:01:53

Newsgroups: comp.os.msdos.djgpp
Date: Mon, 8 Sep 1997 13:56:37 +0200 (MET DST)
From: Ivo Janssen <ivo AT ricardis DOT tudelft DOT nl>
Reply-To: Ivo Janssen <ivo AT ricardis DOT tudelft DOT nl>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: djgpp AT delorie DOT com
Subject: Re: sed problem
In-Reply-To: <Pine.SUN.3.91.970908114302.4267O-100000@is>
Message-ID: <Pine.LNX.3.95.970908105452.7929A-100000@ricardis.ricardis.tudelft.nl>
MIME-Version: 1.0

On Mon, 8 Sep 1997, Eli Zaretskii wrote:

> On Wed, 3 Sep 1997, Ivo Janssen wrote:
> 
> > bash$ ./configure --target=i386-go32
> > <snip>
> > 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019