🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42281

Re: Need help building on hp 385 / hpux 9.10

#42281
From: Dan Smisko
Date: Wed, 20 Dec 1995 00:00
25 lines
1506 bytes
David D Kilzer (ddkilzer@iastate.edu) wrote:

: Did you compile and install the GNU linker, too (when you compiled gas
: in GNU binutils)?  You must do that so that gcc can be linked.  Also,
: put the path to the GNU ld and as in your path BEFORE the system
: default.  A `which ld' and `which as' should return the GNU versions.

: If you still have problems, remove all traces of the gnu stuff, and
: start over with binutils, then gcc.  It took me a while when I did it,
: but I finally got it to work.  It always has problems with enquire.o if
: it doesn't work.

I re-compiled and re-installed gas and ld.  I tried both linking them
to the gcc source directory and changing the PATH so the compiler can
find them.  The INSTALL instructions say either is ok.  Now I get:

>         ./xgcc -B./  -DIN_GCC -I../hp-include  -g -I./include  enquire.o -o enquire
> enquire.o: In function `main':
> /users/smisko/src/gcc-2.7.2/./enquire.c:649: undefined reference to `__main'
> *** Error code 1
> 
> Stop.


Dan Smisko
Technical Details
Message-ID: <4b9prf$sgh@hpavua.lf.hp.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4amqrq$9fe@hpavua.lf.hp.com> <ddkilzer.818999930@tbp.eng.iastate.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,817058ebc772d703
X-Google-Attributes: gid11318c,public
From: smisko@hpavdq.lf.hp.com (Dan Smisko)
Subject: Re: Need help building on hp 385 / hpux 9.10
Date: 1995/12/20
Message-ID: <4b9prf$sgh@hpavua.lf.hp.com>
X-Deja-AN: 122498331
references: <4amqrq$9fe@hpavua.lf.hp.com> <ddkilzer.818999930@tbp.eng.iastate.edu>
organization: Hewlett-Packard Little Falls Site
newsgroups: gnu.gcc.help