Article View: gnu.gcc.help
Article #52653Re: GCC 2.2.2 on hp9k360-hpux8.0
From: Mike O'Connor
Date: Mon, 22 Jun 1992 14:07
Date: Mon, 22 Jun 1992 14:07
23 lines
1497 bytes
1497 bytes
In article <1992Jun21.062803.16523@eng.umd.edu> cross@eng.umd.edu (Chris P. Ross) writes: : My first attempt failed, not producing an executable, because the linker :couldn't find _getrusage and _getwd. I was lookin through, and realized :these were protected by an #ifdef USG. So, I looked at xm-hp320.h, and :saw the that #def was commented out. Does anyone know why it was commented :out? I realize HPUX is BSDish in places, but it is mostly sysV... : : At any rate, after uncommenting this line, it would compile. It produced getrusage() is accessible via syscall() -- unsupported. Check out /usr/include/sys/syscall.h, for more information. getwd() is in the BSD library in /usr/lib. As an interim solution, I suggest you tweak things a little so that these calls are found. -- Mike O'Connor "The NNTP Administrator" <mjo@snclib.snc.edu>
Technical Details
Message-ID:
<1992Jun22.140713.16726@meteor.wisc.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!uwm.edu!daffy!uwvax!meteor!snclib.snc.edu!mjoReferences:
<1992Jun21.062803.16523@eng.umd.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,dbfa7a55c3a8ec07 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-06-22 02:27:50 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!uwm.edu!daffy!uwvax!meteor!snclib.snc.edu!mjo From: mjo@snclib.snc.edu (Mike O'Connor) Subject: Re: GCC 2.2.2 on hp9k360-hpux8.0 Message-ID: <1992Jun22.140713.16726@meteor.wisc.edu> Sender: @meteor.wisc.edu Reply-To: Mike O'Connor <mjo@snclib.snc.edu> Organization: :noitazinagrO References: <1992Jun21.062803.16523@eng.umd.edu> Date: Mon, 22 Jun 92 14:07:13 GMT Lines: 23