On Sat, 4 Jul 2020 at 20:15, Michele Denber <den...@mindspring.com> wrote:
>
> On 07/04/20 11:57, Philippe Mathieu-Daudé wrote:
>
> Odd...
>
> Assuming you are using gcc, have you tried 'configure --host-cc=gcc'?
>
> OK, so I changed it from
>
> # /opt/csw/bin/bash ./configure --cc=gcc  --extra-cflags="-m32"
>
> to
>
> # /opt/csw/bin/bash ./configure --cc=gcc  --extra-cflags="-m32" --host-cc=gcc

It would theoretically be possible to make configure
a bit smarter about --host-cc. It defaults to "cc" even
if you passed a --cc option, which is probably necessary
for cross-compile setups, but we could make the default
look in more places. We also ideally ought to check that
whatever it is actually exists and builds host binaries,
rather than just passing it through to make and letting
the build process fail later.

thanks
-- PMM

Reply via email to