[Openmcl-devel] Re: ffigen problem on OSX 10.3.4 (solved)
mikel evins
mikel at evins.net
Wed Jun 30 09:48:39 PDT 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
> /System/Library/Frameworks/CoreServices.framework/Frameworks/
> CarbonCore.framework/Headers/CarbonCore.h:165,
> from
> /System/Library/Frameworks/CoreServices.framework/Headers/
> CoreServices.h:21,
> from
> /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
> from /Developer/Headers/FlatCarbon/Carbon.h:1:
> /System/Library/Frameworks/CoreServices.framework/Frameworks/
> 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.
>
> --me
>
More information about the Openmcl-devel
mailing list