delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/07/00:12:36

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
Message-Id: <199908070300.WAA30210@mercury.xraylith.wisc.edu>
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
In-Reply-To: Your message of "Sat, 07 Aug 1999 03:24:53 GMT."
<19990807032454 DOT 11049 DOT qmail AT hotmail DOT com>
Date: Fri, 06 Aug 1999 22:00:33 -0500
From: Mumit Khan <khan AT xraylith DOT wisc DOT EDU>

"Harold Weissfield" <h_weissfield AT hotmail DOT com> writes:
> 
> Thank you for your help, Mumit, Chris, and Anders.  I will try to experiment 
> around with the information that you guys have provided, and I shall reply 
> back if I find any favorable results.

I did look at it a bit, and here's what's needs to be done:
  
  - bfd (binutils): Need to be able to specify a shared flag for sections.
    That part is somewhat easy.
  - gas (binutils): Need to be able parse section flags containing shared
    flag. Also easy.
  - gcc: Somehow we need to be able to tell the compiler about this "shared"
    link. MSVC does it with a linker comment, but GCC doesn't have such
    a facility directly. It's going to take a bit of work. I might add
    an __attribute__((shared)), but haven't thought of the other
    possibilities yet.

The current binutils release simply won't work -- the CVS/development tree
has some fixes that are absolutely needed for this to even start working.
However, my quick test is somehow creating bad executable, so more work
needs to be done.

> Mumit, I am not aware of the proper procedures for submitting code, so 
> forgive me if my approach is mistaken.  During the process of developing 
> this shell, I noticed that the following notification messages for the 
> appbar were not in shellapi.h
> 
> #define ABN_STATECHANGE    0x0000000
> #define ABN_POSCHANGED     0x0000001
> #define ABN_FULLSCREENAPP  0x0000002
> #define ABN_WINDOWARRANGE  0x0000003
> 
> Please feel free to add them to the headers at your convenience.  Meanwhile, 
> I thank you once again, and I shall get busy on my coding.

This is Anders' baby. Since he's on the list, we're safe.

Regards,
Mumit


--
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