This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gethostbyname function


Using "gcc",  I call gethostbyname.  It compiles fine,  but when I run it, I
get a core dump.  I am running Solaris.

I can put that same code on another Solaris box and using the Solaris
compiler ("cc"),  it compiles and runs fine.  Does anyone know what may be
happing here?

	Rick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]