Mac Intel

Joel Reymont <>
Thu Aug 10 14:37:41 CEST 2006


I patched hipe_x86_primops.h:

#if defined(__APPLE__) && defined(__MACH__) && !defined(__DARWIN__)
#define __DARWIN__ 1
#endif

#ifndef __DARWIN__
PRIMOP_LIST(am_handle_fp_exception, &nbif_handle_fp_exception)
#endif

as well as hipe_x86.h:

#if defined(__APPLE__) && defined(__MACH__) && !defined(__DARWIN__)
#define __DARWIN__ 1
#endif

#ifndef __DARWIN__
extern void nbif_handle_fp_exception(void);
#endif

This seems to have gotten me much further than before. Now, I just  
have to take care of trapping sigaction :D.

--
http://wagerlabs.com




More information about the erlang-questions mailing list