delorie.com/archives/browse.cgi | search |
On Wed, Feb 13, 2002 at 02:00:51PM -0500, Christopher Faylor wrote: >On Wed, Feb 13, 2002 at 01:58:15PM -0500, Charles Wilson wrote: >>>I just tried it for a couple of things but I don't have >>>anything working well enough right now to try a full install. I'm >>>still trying to track down a gcc 3.1 bug and my dll is really screwed >>>up. >> >>Sorry to hear that -- but I'm glad somebody is working on cygwin+modern >>gcc. :-) > >The current problem is that gcc/gas/ld seems to be "optimizing" the code >such that multiple static variables occupy one location. That results >in smaller code size but, um... Btw, I found the problem. Gcc exhibited some strange behavior with Cygwin's use of __attribute__((section...))). Adding a __attribute__((nocommon)) to each occurrence magically rectified the problem. cgf
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |