🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++
Article #370

Re: g++ and gdb+

#370
From: Gregory Sorensen
Date: Thu, 23 Feb 1989 23:48
34 lines
1761 bytes
Two questions:

1.  Has anyone gotten g++ to compile on a Sun4 running os4?

Although I can successfully compile gcc, trying to make g++ chokes on
the file fold-const.c, with the following error messages:

"fold-const.c", line 848: syntax error at or near variable name "d1"
"fold-const.c", line 849: redeclaration of REAL_VALUE_TYPE
"fold-const.c", line 849: syntax error at or near variable name "d2"
"fold-const.c", line 850: redeclaration of REAL_VALUE_TYPE
"fold-const.c", line 850: syntax error at or near variable name "value"
"fold-const.c", line 862: value undefined
"fold-const.c", line 862: d1 undefined
"fold-const.c", line 862: d2 undefined
"fold-const.c", line 893: value undefined
*** Error code 1
make: Fatal error: Command failed for target `fold-const.o'

This is gcc 1.33 and g++ 1.31 with the 1.32 diffs run on it, 
sources directly from prep.ai.mit.edu yesterday or so.

I get the same error messages using cc or gcc. Since fold-const.c was
successfully compiled for gcc 1.33, what am I doing wrong?

2. gdb+ doesn't include a machine description for sun4-os4, while gdb
does.  Should I use sun4-os4 for gdb+ from the gdb distribution?
Has anyone gotten gdb+ running on a sun4 under os4?

Thanks,

Greg Sorensen
sorensen@hstbme.mit.edu  or
sorensen@imager.mit.edu
Technical Details
Message-ID: <9425@bloom-beacon.MIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!bloom-beacon!hstbme.mit.edu!sorensen

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!bloom-beacon!hstbme.mit.edu!sorensen
From: sorensen@hstbme.mit.edu (Gregory Sorensen)
Newsgroups: gnu.g++
Subject: Re: g++ and gdb+
Message-ID: <9425@bloom-beacon.MIT.EDU>
Date: 23 Feb 89 23:48:26 GMT
Sender: daemon@bloom-beacon.MIT.EDU
Reply-To: sorensen@hstbme.mit.edu.UUCP (Gregory Sorensen)
Distribution: gnu
Organization: Massachusetts Institute of Technology
Lines: 34