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?


Reply via email to