ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2011/11/13/15:00:08

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.lang.misc,comp.os.msdos.djgpp
Subject: Re: ANN: Seed7 Release 2011-11-11
Date: Sun, 13 Nov 2011 11:40:48 -0800 (PST)
Organization: http://groups.google.com
Lines: 42
Message-ID: <1d98c1b2-275d-4c84-b6f9-4f5023f51b8c@w3g2000vbw.googlegroups.com>
References: <7037d719-14a3-4e62-8ebc-0fdbdbdf1db1 AT r9g2000vbw DOT googlegroups DOT com> <a9b37d4c-a83d-4d88-be23-174d4fe9072a AT k10g2000yqn DOT googlegroups DOT com>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1321213248 20823 127.0.0.1 (13 Nov 2011 19:40:48 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Sun, 13 Nov 2011 19:40:48 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: w3g2000vbw.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-Google-Web-Client: true
X-Google-Header-Order: HNKRAUELSC
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.16
(KHTML, like Gecko) Chrome/10.0.630.0 Safari/534.16,gzip(gfe)
Bytes: 3117
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id pADK02Lc008379
Reply-To: djgpp AT delorie DOT com

Hi again,

On Nov 11, 11:08 pm, Rugxulo <rugx DOT  DOT  DOT  AT gmail DOT com> wrote:
>
> It mostly (but not fully) seems to work. I can't remember why DJGPP
> will sometimes say "No swap space!" That's kinda weird, normally it's
> obvious, but here it wasn't. (Yeah, I know, strerror() is the likely
> culprit, but I didn't look any closer than that.)

No idea about this. I half expected CWS or DJ to answer, but it's not
important I guess, just weird. (Apparently the testsuite output didn't
capture it like I thought, oops.)

> --- mk_djgpp.mak        2011-10-11 01:38:30.000000000 -0500
> +++ mk_djgpp.new        2011-11-11 22:38:28.000000000 -0600
>
> -GET_CC_VERSION_INFO = $(CC) --version >
> +GET_CC_VERSION_INFO = $(CC) --version
>
> -       $(GET_CC_VERSION_INFO) cc_vers.txt
> +#      $(GET_CC_VERSION_INFO) >cc_vers.txt
> +       echo gcc.exe (GCC) 4.6.2 > cc_vers.txt
> -       echo #define GET_CC_VERSION_INFO "$(GET_CC_VERSION_INFO)" >>
> version.h
> +       echo #define GET_CC_VERSION_INFO \"echo gcc.exe (GCC) 4.6.2 \" >>
> version.h

Okay, all that was a kludge due to "Ambiguous redirect" error from
Bash. Later I tried again without Bash, but Make still had errors
(using COMMAND.COM) without the extra \" escapes. DJECHO.EXE wasn't a
better idea since it chomped ' and " quotes anyways. So extra escapes
indeed probably have to be added.

But I did forget about REDIR.EXE (included in always-required
DJDEV*.ZIP), so a better solution would be this (tested successfully)
without needing any '>' at all (though I personally wonder how
important this really is or if anything really depends on it being
accurate):

GET_CC_VERSION_INFO = redir $(CC) --version -o

- Raw text -


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