Petr Salinger wrote:
Hi,

it looks like you use 64 bit environment.
Is it true ?

The "gcc -m32 -march=486" will produce i486 compliant code, BUT
the startup files and whole glibc is compiled with -march=686,
so the resulting binary wouldn't be.

You have to use 32 bit chroot, see also man debootstrap.

What is the kernel of your target system,
does FPU emulation work correctly ?
How output of "cat /proc/cpuinfo" looks ?

Petr

Hello Petr,

That what I realized early enough after I encountered many failures and thats why I started to try older and older versions of Debian on a VM. The only version that worked was Debian oldstable (Sarge). It seems the glibc was compiled for 486 then. I am filing this bug more-of a (wish) than a (bug). There should be someway for developers to compile code that would work correctly on any i386 target without having to chroot in another environment. This is the purpose of the -m32 and the multilib anyway!!

Thanks,
Islam



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to