cygwin gcc 3.4 and cygwin

Danny Smith danny_r_smith_2001@yahoo.co.nz
Mon Mar 17 02:23:00 GMT 2003


Brian Ford wrote:

> Vanilla gcc 3.2.x is NOT ABI compatible with Cygwin's pre 3.2 gcc, fact.
> I wanted to know why this was allowed to persist given the simple patch
> required to fix it, question.  I had seen Mr. Faylor make statements
> before to the effect of: doubles in structures are not that common so who
> cares, so I advised caution in his use of that compiler for official
> Cygwin released software.

Regarding the structure alignment problem:

Adding -malign-double to compile switches should provide forward/backward/MSVC
compatibility.

The other fix is to rebuild gcc from  sources so that -malign-double is the
default (as it is now on trunk for cygwin).

Mr. Danny


http://mobile.yahoo.com.au - Yahoo! Mobile
- Check & compose your email via SMS on your Telstra or Vodafone mobile.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list