🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #54204

gcc-1.38 install problem!!!

#54204
From: "Vijaya Singh (Vij)"
Date: Fri, 11 Jan 1991 21:54
29 lines
1695 bytes
Has anyone stumbled into the following problem when installing GNU CC
on a Sun3/50 (Sun Unix 4.2):

	Compiling gcc-1.38 using cc (stage 1) works fine.

	Compiling gcc-1.38 using gcc (stage 2) blows up...

stage1/gcc -g -O -Bstage1/ -I. -I/u1/singhvk/MASc/gcc-1.38/src -I/u1/singhvk/
MASc/gcc-1.38/src/config \
  -DSTANDARD_STARTFILE_PREFIX=\"/u1/singhvk/MASc/gcc-1.38/lib/\" \
  -DSTANDARD_EXEC_PREFIX=\"/u1/singhvk/MASc/gcc-1.38/lib/gcc-\" -c \
  `echo /u1/singhvk/MASc/gcc-1.38/src/gcc.c | sed 's,^\./,,'`
stage1/gcc -c -g -O -Bstage1/  -I. -I/u1/singhvk/MASc/gcc-1.38/src -I/u1/
singhvk/MASc/gcc-1.38/src/config ../src/version.c
stage1/gcc -c -g -O -Bstage1/  -I. -I/u1/singhvk/MASc/gcc-1.38/src -I/u1/
singhvk/MASc/gcc-1.38/src/config ../src/obstack.c
stage1/gcc -g -O -Bstage1/  -o gccnew gcc.o version.o obstack.o   
ld: -c: bad flag
*** Error code 1

	Seems that a "-c" flag is being passed to ld ?!?  I've
	compiled a small program using "stage1/gcc -C ..." 
	(ie: compile, assemble, don't link) without a problem
	so the compiler itself is probably fine.
	Any help would be GREATLY appreciated!

	VIJ...
	singhvk@eecg.toronto.edu
Technical Details
Message-ID: <91Jan11.164436est.3249@godzilla.eecg.toronto.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!rutgers!news-server.csri.toronto.edu!singhvk

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,b33c6d7210178048,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1991-01-11 13:54:30 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!rutgers!news-server.csri.toronto.edu!singhvk
From: singhvk@eecg.toronto.edu ("Vijaya Singh (Vij)")
Newsgroups: gnu.gcc.help
Subject: gcc-1.38 install problem!!!
Message-ID: <91Jan11.164436est.3249@godzilla.eecg.toronto.edu>
Date: 11 Jan 91 21:54:30 GMT
Organization: EECG, University of Toronto
Lines: 29