Re: [Qemu-devel] [PATCH v4 03/49] configure: add support for --cross-cc-FOO

2018-05-17 Thread Richard Henderson
On 05/17/2018 10:46 AM, Alex Bennée wrote: > +if ! do_compiler $target_compiler -o $TMPE $TMPC -static ; then > +# For host systems we might get away with building without -static > +if ! do_compiler $target_compiler -o $TMPE $TMPC ; then > +target_compiler="" > +

[Qemu-devel] [PATCH v4 03/49] configure: add support for --cross-cc-FOO

2018-05-17 Thread Alex Bennée
This allows us to specify cross compilers for our guests. This is useful for building test images/programs. Currently we re-run the compile test for each target. I couldn't think of a way to cache the value for a given arch without getting messier configure code. The cross compiler for the guest i