[fpc-pascal] Installation/Compilation of FPC for Darwin 8.0 (x86)

Werner Bochtler werner.bochtler at zkrd.de
Mon Aug 27 10:25:51 CEST 2007


Jonas Maebe schrieb:
> 
> On 27 Aug 2007, at 08:35, Werner Bochtler wrote:
> 
>> Many thanks for this link.
>>
>> Unfortunately 'ppcuniversal -h' raises the following error message on my
>> darwin 8.0.1 x86 machine:
>>
>> /bin/ppcuniversal: Bad executable (or shared library)
>>
>> Any ideas what's going wrong?
> 
> Maybe plain darwin doesn't support universal binaries (although that
> would be strange, since multi-arch support is a basic feature of the
> mach-o format). If you have lipo available, you can try to use it to
> extract the i386 binary.

Hi Jonas,

I have extracted the i386 binary as recommended:

lipo ppcuniversal -extract i386 -output ppc386

Unfortunately <ppc386 -h> gives the same error message :-(

/bin/ppc386: Bad executable (or shared library)


Best regards,
Werner







More information about the fpc-pascal mailing list