This is the mail archive of the cygwin 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] |
Apparently the code that SDL calls to create the threads doesn't createSDL is a bit of a pain regarding cygwin (they insist on using mingw etc)... Anyway with Brian Ford patch in hand i have some chances to teach it how to behave.
threads with aligned stacks. If SDL is using Cygwin functions to create
threads but these functions are creating threads that don't have 16-byte
aligned stacks then this is a Cygwin problem.
Ah, i didn't know about the no-inline asm clause (my kludge didn't seem to do any good). Thanks for the clue.You need to write an assembler function (you can't use inline assembly to fix this problem reliably) for each callback function in your code that's called *directly* by a function that's not compile with GCC. Something like this:
Doh :)PS: I've never found out how to build a 'cygming special' binary from gcc sources, i can only make a cygwin or mingw. What's the trick?Download and compile the Cygwin modified sources.
Thanks for time, tbp.
-- 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/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |