Closed spebmc998 closed 5 years ago
This is one of many possible cases of cross-compiling, and I don't think it merits a special configure option. The same result can be achieved by simply running make CC='gcc -m32'
similar to how one would cross-compile for say ARM by doing make CC=arm-linux-gnueabi-gcc
.
If there was going to be an option for this, it should be generic, like the --target
autoconf option. But again I don't see much need for that.
I'm currently building on a 64 bit system, but I need to integrate spacenvd into a program that is built using -m32 flag. This allowed the program to properly link to the library.