From: Hans-Bernhard Broeker 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 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.