On 05/30/2011 07:54 PM, Kai Tietz wrote:
> -/* For 64-bit Windows we can't use DW2 unwind info. Also for multilib
> - builds we can't use it, too. */
> -#if !TARGET_64BIT_DEFAULT&& !defined (TARGET_BI_ARCH)
> -#define MD_UNWIND_SUPPORT "config/i386/w32-unwind.h"
> -#endif
> -
> /* This matches SHLIB_SONAME and SHLIB_SOVERSION in t-cygming. */
> /* This matches SHLIB_SONAME and SHLIB_SOVERSION in t-cygwin. */
> #if DWARF2_UNWIND_INFO
mingw part is not ok, as it breaks 32-bit defaulted multilib version
compiler.
Can you explain what is going on here? Could it be fixed by wrapping
w32-unwind.h in a #ifdef __x86_64__?
Rainer, the same solution that is found for Windows should be used for
darwin, too.
Paolo