Is there any way to run ./configure so that it builds using the Sun compiler and linker? I have got as far as: CC=cc ./configure But it is trying to make a shared library using: SHLD=cc -shared What I need is: SHLD=cc -G