fenv.h issue [Canadian cross]

Bill Pringlemeir bpringle@sympatico.ca
Fri Oct 29 17:50:00 GMT 2010


On 28 Oct 2010, bpringle@sympatico.ca wrote:

> I don't know if this is related to other 'fenv.h' issues, but I
> disabled the 'pch' option and the C++ library phase completed. And a
> new shiny mingw-arm cross is available on my Linux machine.  I cross
> compiled a large Qt app under Wine and have it running on an
> Arm926ej-s processor.  I am in the process of exporting the rootfs and
> other tools to a Windows machine.

Argh.  How did I guess this?  The help for the PCH config option is,

      Say 'y' here to not use Pre-Compiled Headers in the resulting toolchain.
      at the expense of speed when compiling C++ code.
      
      For some configurations (most notably canadian?), PCH are broken, and
      need to be disabled. Please see:
        http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974

Could we alter toolchain.in to select the PCH option if CANADIAN is
selected?  I guess if they have fixed this in GCC 4.5.x, that is
trying to be too smart.

Apparently the 'speed' is only during gcc c++ testing according to the
bug.  Is it possible to precompile the header with the host compiler
on the host?

Regards,
Bill Pringlemeir.

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list