On Fri, Dec 18, 2020 at 11:31 AM Niels Möller nisse@lysator.liu.se wrote:
Maamoun TK maamoun.tk@googlemail.com writes:
It seems gcc for aarch64 doesn't support building 32-bit binaries, maybe we should remove the check of ABI since 64-bit is the only option.
Ok, that's a bit confusing. There's a command line flag for it, not -m32 but -mabi=ilp32, but that doesn't work out of the box with my (debian-packaged) cross compiler. Searching turns up this old (2015) email saying that gcc support is work-in-progress: https://gcc.gnu.org/legacy-ml/gcc-help/2015-02/msg00034.html
Also see https://gcc.gnu.org/legacy-ml/gcc-help/2016-06/msg00097.html
Jeff