The compiler currently has an option -shared for generating a shared library. It also has an option -fPIC for generating position independent code. If option -shared is selected, will it automatically generate as PIC, or do you have to also specify -fPIC? --rt