[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cross compiling coreutils to 32 bit
From: |
Kevin Wilson |
Subject: |
Cross compiling coreutils to 32 bit |
Date: |
Wed, 14 Feb 2018 09:59:13 +0200 |
Hi,
I am trying to cross compile coreutils-8.27 to 32 bit on
x86_64 machine under Fedora.
What I am running is:
untar the tar file.
./configure --target=i686-pc-linux-gn
and then "make".
It builds succesfully.
However, when I am runing:
file src/stty
I am getting:
src/stty: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
.....
...
And likewise for all other generated binaries under src.
I would expect that the generated binary will be 32 bits, as I am
trying to cross compile to 32 bits.
I also tried with to play with:
./configure --host=
but got the same.
What am I doing wrong ? it could be that I am missing something trivial?
Regards,
KV
- Cross compiling coreutils to 32 bit,
Kevin Wilson <=