Mailinglist Archive: opensuse-amd64 (35 mails)
| < Previous | Next > |
Re: [opensuse-amd64] Cross-compiling SuSE kernel fails
- From: Frank Steiner <fsteiner-mail1@xxxxxxxxxxxxxx>
- Date: Wed, 28 Mar 2007 09:32:18 +0200
- Message-id: <460A1A02.4030604@xxxxxxxxxxxxxx>
Andi Kleen wrote
>> 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.
Ok, that makes sense :-)
>> 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.
Fine! So I will do it that way.
Thanks for your help!
cu,
Frank
--
Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17 Phone: +49 89 2180-4049
80333 Muenchen, Germany Fax: +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-amd64+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-amd64+help@xxxxxxxxxxxx
>> 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.
Ok, that makes sense :-)
>> 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.
Fine! So I will do it that way.
Thanks for your help!
cu,
Frank
--
Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17 Phone: +49 89 2180-4049
80333 Muenchen, Germany Fax: +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-amd64+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-amd64+help@xxxxxxxxxxxx
| < Previous | Next > |