lua-users home
lua-l archive

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


Helen Fornazier <helen@wizzilab.com> [2013-03-29 18:45:24]:

Hi,

> I tried to install ynezz/librs232, but when I execute :

> > ./configure --build=i686-pc-linux-gnu --host=mips-openwrt-linux-uclibc
> --target=mips-openwrt-linux-uclibc --prefix=$PWD/dist

You need to set include and lib paths also, something like:

CPPFLAGS='-I/opt/devel/openwrt.git/staging_dir/target-arm_v4t_uClibc-0.9.33.2_eabi/usr/include' \
LDFLAGS='-L/opt/devel/openwrt.git/staging_dir/target-arm_v4t_uClibc-0.9.33.2_eabi/usr/lib' \
./configure ...

Here's package for the OpenWRT:

	https://github.com/ynezz/openwrt/commit/d6b27eb64e3ac380cd5e6752b12f431cc8627194

> I check the configure file, it checks if I have lua in my system, but as I
> am cross compiling I think it should just get the headers and not the
> compiling flags.

Yes, exactly.

-- ynezz