Please keep in mind that GNU tools are GNU, not NXP software.
I described above what NXP recommends. The SDK provides
you a verified toolchain and an automated build
procedure. You can do everything from scratch, following generic
GNU build instructions, but if you encounter any problem, either
during build or using the tools you generated to compile other code,
our first recommendation will be to resort to the SDK.