lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello,
trying to crosscompile luajit2 HEAD on archlinux (x86) with gcc 4.6.2,
cross-arm-linux-gnueabi-gcc-base 4.6.0 and
cross-arm-linux-gnueabi-binutils 2.21.1 I get:

$ make HOST_CC="gcc -m32" CROSS=arm-linux-gnueabi- TARGET=arm
==== Building LuaJIT 2.0.0-beta8 ====
make -C src
make[1]: Entering directory `/tmp/luajit-2.0/src'
CC        lj_gc.o
In file included from lj_def.h:41:0,
                 from lj_obj.h:13,
                 from lj_gc.c:12:
/usr/lib/gcc/arm-linux-gnueabi/4.6.0/include/stdint.h:3:26: fatal error:
stdint.h: No such file or directory

/usr/lib/gcc/arm-linux-gnueabi/4.6.0/include/stdint.h:
#ifndef _GCC_WRAP_STDINT_H
#if __STDC_HOSTED__
# include_next <stdint.h>
#else
# include "stdint-gcc.h"
#endif
#define _GCC_WRAP_STDINT_H
#endif

Is that because of gcc version not supported? How can I work it out? I
have succesfully crosscompiled linux kernel 3.0 on this host with this
setup.

Regards,
miko