This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: _Unwind_FindEnclosingFunction vs darwin
On Sat, Dec 19, 2009 at 10:50:53AM +0000, Andrew Haley wrote:
>
> The easiest thing would be to add
>
> #ifdef USING_DARWIN_CRT
> #undefine _Unwind_FindEnclosingFunction(PC)
> #define _Unwind_FindEnclosingFunction(PC) darwin10_Unwind_FindEnclosingFunction(PC)
> #endif
>
> to include/posix.h.
>
Andrew,
It appears that USING_DARWIN_CRT is tested for by configure and used by
Makefile.in and Makefile.am when generating the libjava Makefiles, but it isn't
passed along so we will have to export it. That just adding...
USING_DARWIN_CRT = @USING_DARWIN_CRT@
to Makefile.am and Makefile.in, right?
Jack