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

Re: [MiNT] how to build native gcc for coldfire/68020



Miro Kropacek wrote:
    Do not mess build, host and target options.

We probably don't understand each other. CFLAGS changes compiler flags
globally, i.e. for gcc binary, for libgcc targets, libstdc++ targets
etc.

Sorry, I didn't tried myself.
The GCC makefiles are rather complicated, I hope there is a good variable to change somewhere to do what you want.

Another commonly used trick is to use the CC variable.
configure --host=m68k-atari-mint CC="m68k-atari-mint-gcc -mcpu=5475"

I don't know if this could work when building GCC. Probably yes.

--
Vincent Rivière