2008-06-17 13:09:33

by Andreas Westin

[permalink] [raw]
Subject: cross-compile nfs-utils

Hello,

When you cross-compile nfs-utils 1.1.2 for ARM, locktest and rpcdebug
fails because they don't use the CFLAGS_FOR_BUILD and
CPPFLAGS_FOR_BUILD. This becomes a problem when you use flags which
the host compiler doesn't support such as -mthumb.

/Andreas



2008-06-17 17:52:14

by Kevin Coffman

[permalink] [raw]
Subject: Re: cross-compile nfs-utils

Hi,
It would be easiest (and quicker to make it into the distribution) if
you could supply a patch that fixes this for the cross-compile case.
I, for one, don't do cross-compiling and find it difficult to test
these kind of things.

K.C.

On Tue, Jun 17, 2008 at 8:43 AM, Andreas Westin <forsaken-kFn/[email protected]> wrote:
> Hello,
>
> When you cross-compile nfs-utils 1.1.2 for ARM, locktest and rpcdebug
> fails because they don't use the CFLAGS_FOR_BUILD and
> CPPFLAGS_FOR_BUILD. This becomes a problem when you use flags which
> the host compiler doesn't support such as -mthumb.
>
> /Andreas

2008-06-18 12:19:28

by Andreas Westin

[permalink] [raw]
Subject: Re: cross-compile nfs-utils


Ok, I'll look into it. Need to learn some automake first :)

/Andreas


On Tue, 17 Jun 2008 13:52:13 -0400, "Kevin Coffman" <[email protected]> wrote:
> Hi,
> It would be easiest (and quicker to make it into the distribution) if
> you could supply a patch that fixes this for the cross-compile case.
> I, for one, don't do cross-compiling and find it difficult to test
> these kind of things.
>
> K.C.
>
> On Tue, Jun 17, 2008 at 8:43 AM, Andreas Westin <forsaken-kFn/[email protected]>
> wrote:
>> Hello,
>>
>> When you cross-compile nfs-utils 1.1.2 for ARM, locktest and rpcdebug
>> fails because they don't use the CFLAGS_FOR_BUILD and
>> CPPFLAGS_FOR_BUILD. This becomes a problem when you use flags which
>> the host compiler doesn't support such as -mthumb.
>>
>> /Andreas