From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Still a few questions about relocating COFF symbols (dynamic loading) Date: 24 Jul 2002 08:34:15 GMT Organization: Aachen University of Technology (RWTH) Lines: 20 Message-ID: References: <3d3e11b2$0$1426$272ea4a1 AT news DOT execpc DOT com> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 1027499655 8605 137.226.32.75 (24 Jul 2002 08:34:15 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 24 Jul 2002 08:34:15 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Chris Giese wrote: > dshnv AT www DOT com (dshnv) wrote: > {some code} >>int global_bss; > If you use GNU C, non-initialized non-static non-extern globals are > actually "common" variables. The linker allocates space for these, > not the compiler. > Turbo C, Microsoft C, etc. don't support common variables. I'm almost sure they do. This extension is very common, really. It may sail under a different name, though. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.