In message <19980311200649.A15782@kailash.cse.iitb.ernet.in>you write: > Does egcs support shared libs on the hp or not? While building X11R6.3, Yes, egcs supports shared libraries on hpux. Re: select problem -- does your program also use libcurses? There's a bug in certain versions of libcurses which manifests itself with programs segfaulting when calling select. Jeff