🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #307

Building gcc 2.2.2 on HP-UX 8.0 --- Some questions

#307
From: Michael Bryan
Date: Thu, 20 Aug 1992 08:05
30 lines
1842 bytes
While compiling gcc 2.2.2 on an HP9000/380 running HP-UX 8.0, the following
two symbols were undefined:
        _getrusage
        _getwd

I was able to fix the problem by hacking getpwd.c and toplev.c, but I
was wondering if there were any "official"/preferred fixes for this?

Also, the INSTALL file mentions that HP Patch PHCO_0800 is required
to fix a problem with /bin/as.  While waiting on the patch last
week, I went ahead and verified that after about an hour of building
gcc, it died with the expected error.  Yesterday I got the patch,
and in looking at it, it only replaces /lib/libc.a, /lib/libc.sl, and
/lib/libp/libc.a, and no mention is made of /bin/as.  Is this indeed
the correct patch for the indicated problem?  What exactly is the problem
that gcc triggers in this case?  (I won't be loading the patch until
later in the week, due to other constraints.)

Thanks...
-- 
Michael Bryan        michael@resonex.com                     |     ,_,
Milk and Cheese in '92!!!                                    |    /oo \
"What the world needs now are some true words of wisdom,     |    <>__|
like 'La-la-la-la-la-la-la-la-la-la'."  -- Cracker           |    |  U|

-- 
Michael Bryan        michael@resonex.com                     |     ,_,
Milk and Cheese in '92!!!                                    |    /oo \
"What the world needs now are some true words of wisdom,     |    <>__|
like 'La-la-la-la-la-la-la-la-la-la'."  -- Cracker           |    |  U|
Technical Details
Message-ID: <1992Aug20.080530.18351@resonex.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!csus.edu!netcom.com!netcomsv!resonex!michael

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!csus.edu!netcom.com!netcomsv!resonex!michael
From: michael@resonex.com (Michael Bryan)
Subject: Building gcc 2.2.2 on HP-UX 8.0 --- Some questions
Message-ID: <1992Aug20.080530.18351@resonex.com>
Organization: Resonex Inc., Sunnyvale CA
Date: Thu, 20 Aug 1992 08:05:30 GMT
Lines: 30