I know that you can compile a 32-bit target on 64-bit Linux using the -m32 flag, but is it possible to compile it on a 64-bit machine on a 32-bit machine using the -m64 flag?
Or, alternatively, do you need to configure the cross gcc toolchain that supports 64-bit targets and is this possible on a 32-bit machine?
Regards, Johan
linux 32bit-64bit cross-compiling
Johan
source share