On 11/01/2016 12:17 PM, Peter Maydell wrote:
On 1 November 2016 at 17:51, Richard Henderson <r...@twiddle.net> wrote:
The usual pain point for me is building for 32-bit on a 64-bit
system, where there is no cross-prefix that one can use, and
PKG_CONFIG_PATH and --extra-cflags are the only changes.
That sounds like a bug in how the 32-bit compilers work on
x86 ;-) Ideally you should be able to get a 32-bit compile
with i586-linux-gnu-gcc...
gcc -m32 worked very well for years, before pkg-config came along and mucked
things up by using package-local include and library directories. As long as
everything was installed in the toolchain-aware search paths, everything Just
Worked.
r~