Hi Greg,

On Wed, Dec 28, 2011 at 06:53, Greg Ungerer <[email protected]> wrote:
> If we are compiling specifically for a 68040 machine, where we put
> a -m68040 switch on the command line, isn't all these ".chip 68k"
> lines going to undo the CPU choice - and result in us now compiling
> large parts of the code for the default 68020 instead of the chosen
> 68040?

No, it's a directive for the assembler, not for the compiler.
It may cause issues for mnemonics (generated by the compiler) that
exist for both classic and coldfire, but have different opcodes.
Do these actually exist?

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to