This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin gcc 3.4 and cygwin


On Sun, Mar 16, 2003 at 09:01:23PM -0500, Christopher Faylor wrote:
>On Mon, Mar 17, 2003 at 12:59:21PM +1100, Danny Smith wrote:
>>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).
>
>So did I get this backwards then?  Current cygwin gcc has it wrong,
>trunk has it right?

I thought that the inclusion of MASK_ALIGN_DOUBLE on the cygwin-mingw
branch got this fairly close to right.

cgf

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]