🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51421

as error in Gcc version 2.4.2 on Sun SS2

#51421
From: Arthur Castonguay
Date: Tue, 01 Jun 1993 16:07
44 lines
1857 bytes
I'm getting an error from as whenever I try to compile a C++ program
using gcc version 2.4.2 (also on version 2.4.0 last Friday).

The test program is:

	#include <stream.h>

	main()
	{
	  cout << "Hello world\n";
	}

The compiler invocation line is:

	 g++ test.cc -o test-cc

The error returned is:

	as: "/usr/tmp/cca26475.s", line 8: error: statement syntax
	as: "/usr/tmp/cca26475.s", line 14: error: statement syntax
	collect: gcc returned 1 exit status

My environment is as follows:

	Sun Sparc II
	SunOS 4.1.2
	Configured as:  configure --target=sparc-sun-sunos4.1.2
	libg++ version 2.2
	
The compiler source was completely unmodified and we're running SunOS 4.1.2
right off the CD (no patches installed).  There seems to be no problem with
the C compiler.  During installation I build stage 2 and 3 and compared them.
No differences were reported.

If there is anyone out there that knows a fix I'd love to here it.

Thanks in advance,
Arthur

---
Arthur Castonguay		Email: arthurc@doe.carleton.ca
CAD System Administrator
Department of Electronics
Carleton University
Technical Details
Message-ID: <ARTHURC.93Jun1110722@keiko.doe.carleton.ca>
Path: arc1-ca.pugleaf.net!gmd.de!rrz.uni-koeln.de!news.dfn.de!darwin.sura.net!bogus.sura.net!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!spool.mu.edu!torn!nott!cunews!bertrand.ccs.carleton.ca!arthurc

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,91c8ac48f8305a3d,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-06-01 08:36:48 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!rrz.uni-koeln.de!news.dfn.de!darwin.sura.net!bogus.sura.net!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!spool.mu.edu!torn!nott!cunews!bertrand.ccs.carleton.ca!arthurc
From: arthurc@doe.carleton.ca (Arthur Castonguay)
Subject: as error in Gcc version 2.4.2 on Sun SS2
Message-ID: <ARTHURC.93Jun1110722@keiko.doe.carleton.ca>
Sender: news@cunews.carleton.ca (News Administrator)
Organization: Carleton University, Electronics Department.
Distribution: gnu
Date: Tue, 1 Jun 1993 16:07:22 GMT
Lines: 47