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? ;)
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"
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.