Article View: gnu.gcc.help
Article #52569Re: GCC 2.2.2 on hp9k360-hpux8.0
From: Chris P. Ross
Date: Mon, 22 Jun 1992 21:17
Date: Mon, 22 Jun 1992 21:17
40 lines
2321 bytes
2321 bytes
In article <1992Jun22.140713.16726@meteor.wisc.edu>, mjo@snclib.snc.edu (Mike O'Connor) writes:
>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.
The include file doesn't help much. But, more acurately, that does tell
me that if I can find a manual, I can probably get that to work, assuming
that there aren't bugs in it...
>getwd() is in the BSD library in /usr/lib.
Yeah, but I don't like using BSD compat libs. At a matter of common
fact, they are usually buggy...
>As an interim solution, I suggest you tweak things a little so that
>these calls are found.
It seems to work just fine if I #define USG. If I don't #def USG, will
that activate one of the debugging types?
>--
>Mike O'Connor
>"The NNTP Administrator"
><mjo@snclib.snc.edu>
- Chris
--
Chris P. Ross University Of Maryland
cross@eng.umd.edu Engineering Computer Facility
Work#: (301)/405-3689 Project GLUE
Technical Details
Message-ID:
<1992Jun22.211726.19993@eng.umd.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!wupost!darwin.sura.net!mojo.eng.umd.edu!crossReferences:
<1992Jun21.062803.16523@eng.umd.edu> <1992Jun22.140713.16726@meteor.wisc.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 09:31:48 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!wupost!darwin.sura.net!mojo.eng.umd.edu!cross From: cross@eng.umd.edu (Chris P. Ross) Subject: Re: GCC 2.2.2 on hp9k360-hpux8.0 Message-ID: <1992Jun22.211726.19993@eng.umd.edu> Date: Mon, 22 Jun 92 21:17:26 GMT Organization: College of Engineering, Maryversity von Uniland, College Park References: <1992Jun21.062803.16523@eng.umd.edu> <1992Jun22.140713.16726@meteor.wisc.edu> Originator: cross@fomalhaut.eng.umd.edu Lines: 41