12.12.2018 0:10, Frans de Boer пишет:
LS,
I try to cross-compile some packages, but using -m32 as an option to the gcc line does not work. I get nothing compiled. During configure no working compiler is found.
And we should guess what compiler options you were using, how your compiler invocation looks like and what errors you get ...
I have no 32-bit compiler installed but uses the standard 64-bit compiler as distributed by Leap 15 and Tumbleweed. The should support also i?38 processors.
I am missing something, but exactly what?
It depends on what exactly you are trying to do and what exact error you get. bor@bor-Latitude-E5450:~$ cat /tmp/foo.c int foo () { return 0; } bor@bor-Latitude-E5450:~$ cc -m32 -c -o /tmp/foo.o /tmp/foo.c bor@bor-Latitude-E5450:~$ file /tmp/foo.o /tmp/foo.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped bor@bor-Latitude-E5450:~$
Regards, Frans.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org