The CodeWarrior Suite contains the following tools, among others:
The same compiler executable supports both object-file formats. Use the -F (-Fh, -F1, -F1o, -F2, -F2o,-F6, or -F7): Object-File Format compiler option to switch the object-file format.
Note that not all compiler backends support both ELF/DWARF and the HIWARE object-file formats. Some only support one of the two.
Use the same executable, decoder.exe, for both the HIWARE and the ELF/DWARF object-file formats.
Use the same executable, linker.exe, for both the HIWARE and the ELF/DWARF object-file formats.
The simulator and the debugger support both object-file formats.