Wong, Ken wrote:
Thanks for advice Maxim, our builds are currently omitting any type of -mcpu flag so that has me wondering even more which default flags I'm compiling with. :) I'll setup the mcpu flag correctly today and see if the generating objects differ significantly from my usual build. If anyone else has any advice about how to figure out what the default flags are for the toolchain, I'm all ears.
Default -mcpu= setting depends on target you use; e.g., it's -mcpu=m5475 for m68k-linux and -mcpu=5206 for m68k-elf.
One way to figure out precisely which compiler flags are being used is to let gcc compile a simple file with '-v' option and then inspect command line for cc1. Gcc is actually a driver that invokes compiler (cc1) and/or assembler (as) and/or linker (ld) depending on the parameters given.
-- Maxim