[Openmcl-devel] Re: ffigen problem on OSX 10.3.4 (solved)
mikel at evins.net
Wed Jun 30 12:48:39 EDT 2004
Never mind; it was a simple matter of changing the PREPROCESS variable
definition in the h-to-ffi.sh script to read:
PREPROCESS="gcc2 -traditional-cpp -dD -E"
instead of the default
PREPROCESS="cc -traditional-cpp -dD -E"
On Jun 30, 2004, at 9:35 AM, mikel evins wrote:
> I was trying out ffigen on the carbon headers in OSX 10.3.4, and I ran
> into an unexpected snag:
> +++ /Developer/Headers/FlatCarbon/Carbon.h
> In file included from
> from /Developer/Headers/FlatCarbon/Carbon.h:1:
> CarbonCore.framework/Headers/fp.h:93: #error unsupported CPU
> On slightly closer examination it looks like, for whatever reason,
> TARGET_CPU_PPC is not defined when processing the above header.
> I haven't spent much time on this yet; just thought I;d ask around in
> case anyone else has already seen and solved it.
More information about the Openmcl-devel