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@gmail.com]
Sent: Friday, September 12, 2014 6:10 PM
To: Rajat Jain
Cc: linux-newbie@vger.kernel.org; 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@juniper.net> 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@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



 

--
Regards,
Peter Teoh