On Thu, Jan 3, 2013 at 2:41 PM, luigi scarso wrote:For example to get Darwin PowerPC binaries on x86_64 or i386 processor
> On Thu, Jan 3, 2013 at 2:30 PM, Mojca Miklavec wrote:
>>
>> 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 ?
(running Mac OS X):
./build[jit].sh --arch=ppc
> MACCROSS sounds to me like cross-compiling from linux to mac, which is notWhere do you see any mention of linux??? It's just cross-compiling
> supported
from one Mac OS X architecture to the other. Also, the flag
"--arch=i386" on linux doesn't even remotely imply that the script
should be compiling for Mac OS X ;) ;) ;)
> 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
It compiles on x86_64 FreeBSD and Mac OS X for me as well (on Lion),
but I cannot "magically compile" for another architecture without
deleting those two lines. (But I could still supply a dozen of flags.
Maybe that is what I should do at the end anyway ...)
On Hans' machine (an old SuSE Linux) it fails with the following error though:
make[2]: Leaving directory
`/home/me/build-binaries/src/luajittex/buildjit/texk/kpathsea/man'
make[1]: Leaving directory
`/home/me/build-binaries/src/luajittex/buildjit/texk/kpathsea'
make: *** No rule to make target
`/home/me/build-binaries/src/luajittex/buildjit/libs/luajit/luajit-build/src/libluajit.a',
needed by `libluasocket_a-auxiliar.o'. Stop.
strip: buildjit/texk/web2c/luatex: No such file or directory
mv: cannot stat `buildjit/texk/web2c/luatex': No such file or directory
ls: buildjit/texk/web2c/luajittex: No such file or directory
Exactly the same happens on Sparc Solaris.