From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Faylor To: Harold Weissfield Cc: cygwin@sourceware.cygnus.com Subject: Re: Memory Violation With Windres and Shared Data Segments Date: Tue, 31 Aug 1999 23:49:00 -0000 Message-ID: <19990806115322.B6826@cygnus.com> References: <19990806145725.38799.qmail@hotmail.com> X-SW-Source: 1999-08n/msg00123.html Message-ID: <19990831234900.tO-HiXDZW3jNBoKPcYiZDMiT28ZgN0MebU6MbjwPh9Y@z> On Fri, Aug 06, 1999 at 02:57:23PM +0000, Harold Weissfield wrote: >On a different note, I have been searching through the documentation for GCC >for information on how to created a shared data segment in a DLL, but so far >have been unable to come up with anything. Under Visual C++, this was done >with a #pragma comment(linker, "-section:Shared,rws") and then a #pragma >data_seg("Shared"). Is there any equivalent construct in GCC? I don't think that there is a way to do this currently with gcc/binutils tools, unfortunately. I used to use Visual C tools to make a section sharable when I needed to do this. -chris -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com