delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/06/11:57:35

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Fri, 6 Aug 1999 11:53:22 -0400
To: Harold Weissfield <h_weissfield AT hotmail DOT com>
Cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Memory Violation With Windres and Shared Data Segments
Message-ID: <19990806115322.B6826@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
References: <19990806145725 DOT 38799 DOT qmail AT hotmail DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.6i
In-Reply-To: <19990806145725.38799.qmail@hotmail.com>; from Harold Weissfield on Fri, Aug 06, 1999 at 02:57:23PM +0000

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 AT sourceware DOT cygnus DOT com

- Raw text -


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