
On Thu, Jan 3, 2013 at 2:30 PM, Mojca Miklavec < mojca.miklavec.lists@gmail.com> wrote:
On Wed, Jan 2, 2013 at 5:31 PM, luigi scarso wrote:
I'm trying to compile luatex with --host=x86_64-w64-mingw32 --build=x86_64-linux-gnu (use a fixed font to see the error)
cross compilation with --host=i586-mingw32msvc is ok. Any suggestion ?
I'm trying to compile luajittex on Mac OS X, but it fails with
Your make is a GNU-make; I will use that building for MacOs not supported
Any suggestions? ;)
how do you run build.sh ?
Actually, I think that there was a misunderstanding of what these flags are supposed to do. They are used on Mac OS X, not on linux. Can you please remove the following two lines?
if [ "$MACCROSS" = "TRUE" ] then # make sure that architecture parameter is valid case $ARCH in i386 | x86_64 | ppc | ppc64 ) ;; * ) echo "ERROR: architecture $ARCH is not supported"; exit 1;; esac - echo " building for MacOs not supported" - exit 1 B=build-$ARCH CFLAGS="-arch $ARCH -g -O2 $CFLAGS"
MACCROSS sounds to me like cross-compiling from linux to mac, which is not
supported
I now committed the scripts that are supposed to build luajittex, but I cannot guarantee anything since they haven't gone through any testing yet. So if you notice any problems, please report.
Patrick said that it compiles under
Darwin vienna.local 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64 -- luigi