[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [patch] help for cross compiling lua
- From: "Leo Razoumov" <slonik.az@...>
- Date: Wed, 5 Mar 2008 09:43:08 -0500
On 3/4/08, John Hein <firstname.lastname@example.org> 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?