-fomit-frame-pointer

Christopher Faylor cgf@redhat.com
Thu Feb 1 05:51:00 GMT 2001


On Thu, Feb 01, 2001 at 12:19:52AM -0600, Mumit Khan wrote:
>On Wed, 31 Jan 2001, Christopher Faylor wrote:
>
>> Anybody ever tried building cygwin with -fomit-frame-pointer optimization?
>> It sort of works if you choose the files that you compile with this option
>> carefully.
>
>Last time I tried was a while back, and I ended up with a non-working DLL.
>However, it was a long time ago, and it's probably time to try it again.
>My next build, right after I get the patches in for gcc-2.97 build  ...

You can't compile every file like this or you'll screw up signal handling
badly, but it seems to work on selected files.  I wonder if it is worth
using this option on some files or if the maintenance won't be worth it.

cgf


More information about the Cygwin-developers mailing list