delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/09/04:20:17

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Linux to DOS Problem
Date: Tue, 05 Aug 1997 09:22:38 -0700
Organization: Alcyone Systems
Lines: 19
Message-ID: <33E7534E.2EC8CF11@alcyone.com>
References: <Pine DOT LNX DOT 3 DOT 95 DOT 970804122528 DOT 14182A-100000 AT holz11 DOT uni-paderborn DOT de> <5s6h1t$p5g AT freenet-news DOT carleton DOT ca>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Paul Derbyshire wrote:

> Sounds like maybe the value depends on uninitialized memory. Different
> platforms treat it differently; one compiler or GCC on one platform may
> initialize all memory used at zero; another or GCC on another might
> leave
> it random.

I find that to believe.  The undefinedness of uninitialized auto variables
is built into the language, and gcc is well aware of it.  gcc for Linux
and DJGPP are just ports of the same thing, after all.

-- 
       Erik Max Francis, &tSftDotIotE / email / mailto:max AT alcyone DOT com
                     Alcyone Systems /   web / http://www.alcyone.com/max/
San Jose, California, United States /  icbm / 37 20 07 N  121 53 38 W
                                   \
   "Love is not love which alters / when it alteration finds."
                                 / William Shakespeare, _Sonnets_, 116

- Raw text -


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