You supposed to use the crosscompiler on 64 bit from the buildtools repo.
Got it, cross-compile on 64-bit for optional 32-bit BIOS bootloader. I suppose then a 64-bit compiler canāt generate 32-bit code? Seems odd, given the -m32
flag in gcc.
Iāve faced the same kind of errors and solved them by pulling latest buildtools code and rebuilding it (rm -r cross-tools-x86_64
before running ../configure --update
).
I suppose then a 64-bit compiler canāt generate 32-bit code? Seems odd, given the
-m32
flag in gcc.
Gcc can do it, but the haikuports recipe isnāt written correctly, so the version of gcc from the hpkg file canāt.
It would be great if someone fixed that recipe.
Gcc can do it, but the haikuports recipe isnāt written correctly, so the version of gcc from the hpkg file canāt.
The HaikuPorts GCC can do it just fine; but the recipe doesnāt build the 32-bit bootloader libgcc
, so the resulting binaries canāt be linked.