[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] GCC build problems



Le 30/01/2012 18:06, Alan Hourihane a écrit :
The problem is with m5475. The "configure" and detection process is
completely broken if you do that on standard Atari hardware. i.e. m68k.
The configure process will try to build test programs and they start to
fail in obscure ways on m68k when built with m5475 as the CPU target.

We should only build the m5475 target if on a coldfire CPU, and vice
versa. i.e. not building the m68k targets when on a coldfire CPU.

I'm not sure to understand what fails...
Building the m5475 multilibs, right ?

I guess that the configure scripts detects a native build (because the triplet is the same m68k-atari-mint), while it should actually be detected as a cross-build (what it really is). Maybe the configure scripts should be hacked to force cross-compilation mode for the multilibs...

I don't know how GCC behaves when compiled for i386/x86_64, the situation may be similar...

--
Vincent Rivière