This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gethostbyname function
- From: "Rivera, Richard" <Richard dot Rivera at chron dot com>
- To: "'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>
- Date: Fri, 5 Jul 2002 13:37:44 -0500
- Subject: 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