RE: x86_64_defconfig and i386_defconfig: What is the difference?

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

 



Thanks,

 

One more question. Can I continue to use my same 64bit compiler when compiling images for both?

 

In the other words, Are both of these ok?

 

Make CROSS_COMPILE=my-compiler-path- i386_defconfig

Make CROSS_COMPILE=my-compiler-path- all

 

Make CROSS_COMPILE=my-compiler-path- x86_64_defconfig

Make CROSS_COMPILE=my-compiler-path- all

 

Where my-compiler-path is the gcc compiler that I use to generate 64 bit code.

 

Thanks,

 

Rajat

 

 

From: Peter Teoh [mailto:htmldeveloper@xxxxxxxxx]
Sent: Friday, September 12, 2014 6:10 PM
To: Rajat Jain
Cc: linux-newbie@xxxxxxxxxxxxxxx; kernelnewbies
Subject: Re: x86_64_defconfig and i386_defconfig: What is the difference?

 

 

 

On Tue, Sep 9, 2014 at 3:58 PM, Rajat Jain <rajatjain@xxxxxxxxxxx> wrote:

Hi,

Can someone tell me if the i386 one is to be used when we want to build for a 32bit machine and the x86_64 is to be used for 64 bit machine?

 

 

i386 or 32-bit machines?   i think it don't exists anymore, but what likely is correct: i386-compatible machine.

 

The i386 config is for 32-bit OS, ie, the entire binaries must be build for 32-bit architecture.

 

So choose the correct config provided u have the correct userspace files/libraries to support it.

 


Thanks,

Rajat

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



 

--
Regards,
Peter Teoh

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux