Linux NFS development
 help / color / mirror / Atom feed
* cross-compile nfs-utils
@ 2008-06-17 12:43 Andreas Westin
       [not found] ` <6043ada4386b12792b4c0d0b64a30c6b-kFn/pJTXB1swFerOooGFRg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Westin @ 2008-06-17 12:43 UTC (permalink / raw)
  To: linux-nfs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cross-compile nfs-utils
       [not found] ` <6043ada4386b12792b4c0d0b64a30c6b-kFn/pJTXB1swFerOooGFRg@public.gmane.org>
@ 2008-06-17 17:52   ` Kevin Coffman
       [not found]     ` <4d569c330806171052v1fd4bc95o7d85d7a3263c33da-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Coffman @ 2008-06-17 17:52 UTC (permalink / raw)
  To: Andreas Westin; +Cc: linux-nfs

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/pJTXB1swFerOooGFRg@public.gmane.org> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cross-compile nfs-utils
       [not found]     ` <4d569c330806171052v1fd4bc95o7d85d7a3263c33da-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2008-06-18 12:19       ` Andreas Westin
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Westin @ 2008-06-18 12:19 UTC (permalink / raw)
  To: Kevin Coffman; +Cc: linux-nfs


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

/Andreas


On Tue, 17 Jun 2008 13:52:13 -0400, "Kevin Coffman" <kwc@umich.edu> 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/pJTXB1swFerOooGFRg@public.gmane.org>
> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-18 12:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-17 12:43 cross-compile nfs-utils Andreas Westin
     [not found] ` <6043ada4386b12792b4c0d0b64a30c6b-kFn/pJTXB1swFerOooGFRg@public.gmane.org>
2008-06-17 17:52   ` Kevin Coffman
     [not found]     ` <4d569c330806171052v1fd4bc95o7d85d7a3263c33da-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-06-18 12:19       ` Andreas Westin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox