i am building ardour (http://ardour.org) as a win32 executable to allow us to continue using win32 DLL's as plugins.
when i run the result with wine, i get a segfault long before control has been transferred to my code. it appears to be in wine-preloader (based on what "file core.NNNN" says).
i cannot see how to debug this without endless printf's - wine-preloader appears to need wine to run before it, and gdb cannot cross exec boundaries.
any hints on how to debug this sort of issue?
btw, wine in general works fine, of course.
--p