[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: cross compiling in general
- From: Pan Shi Zhu <pan.shizhu@...>
- Date: Fri, 5 Mar 2010 15:48:55 +0800
So this is what I say about "forget the configure scripts when cross-compile".
What I do is simply run configure script in x86 pc and make in x86 pc,
then I know the exact gcc line in the make's output. (something like
"make | grep gcc" may work)
Study the gcc line option to see what is important and just copy
something into my own project, then everything should work.
On Fri, Mar 5, 2010 at 8:48 AM, Rory Toma <email@example.com> wrote:
> And don't forget things like EXTRA_CFLAGS and the ilk. I'm shoe-horning this
> into an OpenWRT-based distro. And, to be fair, it's not just lua. I can't
> tell you how many times I run across the follwing in a gnu configure script