Mailinglist Archive: opensuse-amd64 (34 mails)

< Previous Next >
Re: [opensuse-amd64] Cross-compiling SuSE kernel fails
  • From: Andi Kleen <ak@xxxxxxx>
  • Date: Tue, 27 Mar 2007 18:21:40 +0200
  • Message-id: <200703271821.40078.ak@xxxxxxx>

> 
> When I call 
>   make HOSTCC="gcc -m32" scripts ...
> I get 32bit binaries, but I'm not sure if that's the right way to do 
> it. Is there any reason why "make scripts" ignores the ARCH parameter?

Consider the case you're cross compiling to a architecture where your local
system cannot execute the target binaries. If scripts didn't ignore ARCH you wouldn't
be able to compile because scripts needs to run on the cross compile host.

> Is there a better fix than the "HOSTCC=.." call?

I don't know any other way and it doesn't seem to be unclean in any way to me.

-Andi
 
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-amd64+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-amd64+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References