On 11/12/2019 15:33, Thomas Seeling wrote:
Hallo,


I have some servers running with 32-bit LFS (intentionally). Longterm I
plan to switch to 64 bit, but not right now. I'm contemplating switching
the kernel compile from a 32-bit machine to one of my 64-bit systems to
win some time. The 32-bit P4 compile machine takes ~100 minutes for a
new kernel while the 64-bit i5 only needs ~25 minutes to build a new kernel.

Would a 32-bit kernel work if I compile it on a 64-bit machine with the
32-bit config taken from the current compile system? Do I need some
additional parameters or switches to signal that it's kind of a
cross-compile for another CPU?

Tschau...Thomas


I think you need at least a multilib gcc. Then you should look at Makefile
(search the string ARCH). I guess you need to pass ARCH=i386, both
for make menuconfig and for make.

Now, I have not tried myself, so not sure it helps...

Pierre
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to