On 10/29/17 10:05 PM, DJ Lucas wrote:


On 10/29/2017 01:39 PM, Michael D. wrote:

On 10/29/17 2:04 PM, Axel wrote:
Dear all,


now I reached chapter6.20.

My host is an Aspire one with 4.9.0-4-amd64 and not very fast. But I
want to install LFS on this device finally.

I think about to use another device with  with  an amd64 processor as
well (Asus) to compile LFS and to shift the final OS to the old Aspire.


Hi Axel,

That shouldn't be a problem, but be sure to set the correct ARCH/CPU in
your C(XX)FLAGS to avoid the compiler to use/implement Instructions Sets
on the powerful computer, that isn't available on your target computer.

export CFLAGS="-march=<CPU of Target PC>"
export CXXFLAGS=$CFLAGS
f

Been a while since I've done anything like this...one other gotcha is the final gmp build, make sure to copy config.fsf.


Reminded me of this command: gcc -v -march=native -Q --help=target

It'll give you a complete list of flags that's available/unavailable on the Aspire CPU in question.

I figure (no guarantees given) that one could use that list in the C(XX)FLAGS on the ASUS to make it match the Target CPU's capabilities.

./Michael
--
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