Re: Building a 32 bit on a 64 bit machine.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
   I know that using cross compiler is needed when you want to compile
for different platforms (for example, to build a module for ARM or PPC on intel
machine).
I did not mention it, but the machine I am building on is an Intel
x86_64 machine, and I want to build on it a 32 bit module - also for
Intel machine.
So I believe there should be a way to do it with some gcc flag.

Any ideas ?

Rgs,
Kevin

On Sat, Jun 6, 2009 at 8:18 AM, Karen Shaeffer<shaeffer@xxxxxxxxxxxxxxx> wrote:
> On Fri, Jun 05, 2009 at 04:31:50PM +0300, Kevin Wilson wrote:
>> Hello,
>> I want to build a module I developed for 32 bit on a 64 bit machine.
>> It is on a machine running Fedora.
>>
>> Rgs,
>> Kevin
>
> Hi Kevin,
> You need a cross compile tool chain. You can learn about that
> here:
> http://cross-lfs.org/view/1.1.0/x86_64/introduction/chapter.html
>
> You'll also need to port your module to 64 bits.
>
> Good luck with it,
> Karen
> --
>  Karen Shaeffer
>  Neuralscape, Palo Alto, Ca. 94306
>  shaeffer@xxxxxxxxxxxxxxx  http://www.neuralscape.com
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux