You don't need to compile for SMP, or shouldn't do. How you install the developer tools varies from distro to distro, on Fedora you just check the boxes in Add/Remove Packages.
Are you *sure* you need to compile? Gimp will use multiple processors with no special compiling necessary.
|