lua-users home
lua-l archive

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


On 3/4/08, John Hein <jhein@timing.com> wrote:
> A classic way to cross compile tools is override
>  things like CC and RANLIB and AR.  When trying to build
>  lua for an arm-based platform, I employed this technique.
>
>  Unfortunately the src/Makefile has 'AR= ar rcu'.  So when one
>  overrides AR (with the cross platform version, arm-ar), building
>  liblua.a fails because the 'rcu' is missing.
>

What's wrong with setting "AR=arm-ar rcu" in the Makefile?

--Leo--