Thread (4 messages) 4 messages, 3 authors, 2014-09-13

x86_64_defconfig and i386_defconfig: What is the difference?

From: Rajat Jain <hidden>
Date: 2014-09-13 03:44:43

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



--
Regards,
Peter Teoh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140913/5b9e8dc9/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help