Mail Archives: cygwin/2004/04/28/14:04:06
On Wed, 28 Apr 2004, Tim Prince wrote:
> At 08:51 AM 4/28/2004, Dave Korn wrote:
>
> > > From: cygwin-owner On Behalf Of tbp
> > > Sent: 28 April 2004 16:16
> >
> >[ Now x-posted to gcc list, since it's seemingly a gcc issue rather than a
> >cygwin environment issue.
It's an interoperability issue.
> > I'd recommend doing that in the startup code in gcc's crt0.s myself.
That won't help for threads. See:
http://www.cygwin.com/ml/cygwin/2004-04/msg01134.html
> > The real question is, is the compiler generating code that guarantees
> > the stack stays aligned, so you can do that just once at startup? It
> > certainly ought to.
It is supposed to, given the call back and new thread caveats.
> As Dave said, this is more of a gcc than a cygwin issue,
For threads, it happens to be easiest to fix this in Cygwin.
> gcc made a decision, which is different from commercial compilers,
and the ABI.
--
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -