OSDN Git Service

Update prebuilt flex-2.5.4a to i386
authorChad Fawcett <chad@useless.net>
Thu, 15 Oct 2009 21:53:58 +0000 (17:53 -0400)
committerChad Fawcett <chad@useless.net>
Thu, 15 Oct 2009 21:53:58 +0000 (17:53 -0400)
The version of flex 2.5.4 included in prebuilt was compiled for the
ppc architecture.

OS X 10.6 (Snow Leopard) does not install Rosetta by default to allow the
execution of ppc binaries, which causes build issues with webkit on that
platform. This commit is a fresh compile of flex 2.5.4 as an i386 binary
which should work for all darwin-x86 platforms.

The build error encountered:
Target Generated: libwebcore <= external/webkit/WebCore/css/tokenizer.flex
You need the Rosetta software to run flex-2.5.4a. The Rosetta installer is
in Optional Installs on your Mac OS X installation disc.

The output of "lipo -info flex-2.5.4a" before commit:
Non-fat file: flex-2.5.4a is architecture: ppc

Output of "lipo -info flex-2.5.4a" with this change:
Non-fat file: flex-2.5.4a is architecture: i386

Binary was compiled with gcc-4.0 with the -arch i386 flag.

darwin-x86/flex/flex-2.5.4a

index f088cce..523ff79 100755 (executable)
Binary files a/darwin-x86/flex/flex-2.5.4a and b/darwin-x86/flex/flex-2.5.4a differ