In message < Pine.HPP.3.96.971219133552.12226A-100000@sunburst.rose.hp.com >you write: > This is an intersting bug it occurs on HPUX, not sure if this happens on > One other note, how is one suppose to correctly generate a shared library > on HPUX with egcs generated o files. I tried > bash-2.01$ g++ -shared -o libtest.sl *.o Add -fPIC/-fpic to the line to link the shared library too. jeff