An example Makefile is included with the NDK examples shipped in the NDK sub directory of the Documentation installed with NUKE.
On all platforms we use the Intel compiler, but building with GCC 4.1 will work just as well.
If you want to build with the Intel compiler, just substitute it for g++ in your makefile.
On Linux, NUKE 64 was built on a RHEL 5 Linux 64 bit machine, using GCC 4.1. We
recommend third party developers to use the same version of GCC.
The resulting shared object file (.so) should then be moved to your ~/.nuke directory
(or otherwise into the nuke plugin_path).
See Building & Installing Plug-ins for information on creating your first plug-in.