Discussion:
Cross-compiling LFS
Adam Luchjenbroers
2003-12-23 07:12:27 UTC
Permalink
I'm looking at compiling a build of LFS for an old Pentium box I have put
together. Since my main machine is an Athlon, the binaries I build with it
always appear to be Athlon-optimized (will not run on an old Pentium)
binaries (tried it, failure).

Just need a good resource on how to cross-compile, and any LFS specific
information I might need related to cross-compiling.
- --
"This email printed using 100% recycled electrons."

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Joel Miller
2003-12-23 07:26:04 UTC
Permalink
On Tue, 23 Dec 2003 16:42:27 +0930, Adam Luchjenbroers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm looking at compiling a build of LFS for an old Pentium box I have put
together. Since my main machine is an Athlon, the binaries I build with it
always appear to be Athlon-optimized (will not run on an old Pentium)
binaries (tried it, failure).
Just need a good resource on how to cross-compile, and any LFS specific
information I might need related to cross-compiling.
www.linuxfromscratch.org/hints
--
Registered LFS User 6929
Registered Linux User 298182
Adam Luchjenbroers
2003-12-23 11:29:14 UTC
Permalink
Post by Joel Miller
www.linuxfromscratch.org/hints
Can't see any relevant articles there.

- --
"'Open Systems' means no fences. And no fences means no use for Gates." - Sun
Microsystem

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Kris van Rens
2003-12-23 11:54:02 UTC
Permalink
----- Original Message -----
From: "Adam Luchjenbroers" <Adam at Luchjenbroers.com>
Post by Adam Luchjenbroers
Post by Joel Miller
www.linuxfromscratch.org/hints
Can't see any relevant articles there.
There is a hint about cross-compiling, maybe in the old-hints dir,
or in the hints with bad format.

I found it here:
http://lfs.linux-matrix.net/hints/downloads/files/crosscompiling-x86.txt

I also did a cross-compilation of a LFS system once, and I used
the 'uname hack'.

Bye,

Kris
Daniel Baumann
2003-12-23 12:43:43 UTC
Permalink
Post by Kris van Rens
There is a hint about cross-compiling, maybe in the old-hints dir,
or in the hints with bad format.
the updated version for lfs5 follows in the new year.
--
Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
E-Mail: daniel.baumann at panthera-systems.net
Internet: http://www.daniel-baumann.ch/
Méher Khiari
2003-12-23 11:41:36 UTC
Permalink
http://www.hu.linuxfromscratch.org/hints/downloads/files/crosscompiling-x86.txt
Post by Adam Luchjenbroers
Post by Joel Miller
www.linuxfromscratch.org/hints
Can't see any relevant articles there.
--
"Il y a des choses qui ne se disent que dans l'intimit?" (Porco Rosso)

S'il vous pla?t, ?vitez de m'envoyer des attachements au format Word ou
PowerPoint.
http://www.fsf.org/philosophy/no-word-attachments.fr.html
Adam Luchjenbroers
2003-12-23 12:52:22 UTC
Permalink
Post by Méher Khiari
http://www.hu.linuxfromscratch.org/hints/downloads/files/crosscompiling-x86
.txt
403 - Forbidden

- --
"HAL 9000: 'Dave, put those Windows disks down...Dave...DAVE!'" Eric Berggren

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Allard Welter
2003-12-23 13:11:51 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Méher Khiari
http://www.hu.linuxfromscratch.org/hints/downloads/files/crosscompiling-x
86 .txt
403 - Forbidden
Try this one ..

http://www.linuxfromscratch.org/hints/downloads/files/PREVIOUS_FORMAT/
crosscompiling-x86 .txt

Allard
--
allard at quicknet.nl
Méher Khiari
2003-12-23 13:09:07 UTC
Permalink
excuse me, but the link worked for the first and now not at all Xp, here
is a link that works fine :
http://www.linuxfromscratch.org/hints/downloads/files/crosscompiling-x86.txt
Post by Adam Luchjenbroers
Post by Méher Khiari
http://www.hu.linuxfromscratch.org/hints/downloads/files/crosscompiling-x86
.txt
403 - Forbidden
--
"Il y a des choses qui ne se disent que dans l'intimit?" (Porco Rosso)

S'il vous pla?t, ?vitez de m'envoyer des attachements au format Word ou
PowerPoint.
http://www.fsf.org/philosophy/no-word-attachments.fr.html
David Farrell
2004-01-15 00:28:24 UTC
Permalink
Post by Méher Khiari
excuse me, but the link worked for the first and now not at all Xp, here
http://www.linuxfromscratch.org/hints/downloads/files/crosscompiling-x86.txt
Post by Adam Luchjenbroers
Post by Méher Khiari
http://www.hu.linuxfromscratch.org/hints/downloads/files/crosscompiling-x86
.txt
403 - Forbidden
I am in the process of cross compiling via the uname hack module.
Everything seems fine to this point (CVS-20040109 Ch6 Coreutils) but I
am concerned that since lfs has a different uname, the value uname -ip
reports is different that what Fedora reports. My -m is still a i486
(as substituted) but -i and -p now shown "unknown". Will this confuse
./configure in any way?

David.

Loading...