www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/19/09:30:33

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: folding strings in DJGPP:HOW!?
Date: 19 Jun 2000 12:12:47 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 14
Message-ID: <8il2nv$cnk$1@nets3.rz.RWTH-Aachen.DE>
References: <27rrksotu9j6l6hdtkrhrqn27puq7deg6t AT 4ax DOT com>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 961416767 13044 137.226.32.75 (19 Jun 2000 12:12:47 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 19 Jun 2000 12:12:47 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Radical NetSurfer <radsmail AT juno DOT com> wrote:

> I know that my Borland compilers do this....
> identical strings are copied to a COMMON location and given
> the SAME pointer into data/string space...

> How is this done with DJGPP ?

AFAIK, it's always done, by default. You have to switch it *off*
explicitly if you don't want that behaviour (-fwritable-strings).

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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