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)
commitd0af92d52175d31af2df7029011831c2e173fdf7
treebac87ee868fc860b2b70e7d3ef2b3a4c5903541e
parentd2247211f2a7eb070ebbc4a5a2be6045da2525ed
Update prebuilt flex-2.5.4a to i386

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