🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42407

can't compile gcc on Solaris 2.4

#42407
From: Mike Denka
Date: Wed, 06 Dec 1995 00:00
73 lines
2772 bytes
Helpers,

Please help if you can.  I have been trying for some time now to 
get gcc-2.7.2. installed on my system.  I am running Solaris 2.4 on
a sparc20.  I have Sun's SparcWorks Pro C and have downloaded the
gcc 2.5.6 binaries.  When I run with the  Sun Pro compiler, I get 
several warnings in programs that complain about semantics of ">" 
and "<=" changing in ANSI C and that I should use explicit
cast.  I also get enum type mismatches in arg #2 in several programs.  And
I get warnings in cpplib.c that argument #1 is incompatible with prototype.


I have tried compiling with /usr/ucb completely elliminated from my path with
no improvement.    

In any case, the compiler seems to just jump out after an attempt to compile
opstack.  The last lines read:

cc -DIN_GCC -DSR4 -g obstack.o `case "cc" in "cc . . .
   cxmain.o underscore.o getopt.o getopt1.o 

after which the make process just stops.

Then if I try to make stage1, I get the following files not found during the
move:

mv: cannot access stamp-proto
mv: cannot access stamp-crtS
mv: cannot access crt1.o
mv: cannot access crti.o
mv: cannot access crtn.o
mv: cannot access gmon.o
mv: cannot access crtbegin.o
mv: cannot access crtend.o
mv: cannot access gcc-cross
mv: cannot access cc1obj
mv: cannot access protoize
mv: cannot access unprotoize
mv: cannot access collect2
mv: cannot access *.greg
mv: cannot access *.lreg
mv: cannot access *.combine
mv: cannot access *.flow
mv: cannot access *.cse
mv: cannot access *.jump
mv: cannot access *.rtl
mv: cannot access *.tree
mv: cannot access *.loop
mv: cannot access *.dbr
mv: cannot access *.jump2
mv: cannot access *.sched
mv: cannot access *.cse2
mv: cannot access *.sched2
mv: cannot access *.stack
mv: cannot access *.[si]
mv: cannot access g++-cross
mv: cannot access cc1plus
*** Error code 2 (ignored)


I have tried to run the make using gcc as the compiler (using the version
2.5.6 that I downloaded as a binary).  I get none of the error messages
mentioned above during compilation.  But the make bombs out at the same 
place and the above list of files that make stage1 cannot find is the
same.

If anyone has any suggestions, I would be much obliged to hear them.

Thanks very much for listening to me whine,

Mike Denka
Whidbey Connections
mdenk@whidbey.net
Technical Details
Message-ID: <199512070329.AA28699@whidbey.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,af2f6224965dbc0e,start
X-Google-Attributes: gid11318c,public
From: mdenk@whidbey.net (Mike Denka)
Subject: can't compile gcc on Solaris 2.4
Date: 1995/12/06
Message-ID: <199512070329.AA28699@whidbey.net>
X-Deja-AN: 121389202
distribution: gnu
sender: daemon@cis.ohio-state.edu
organization: GNUs Not Usenet
newsgroups: gnu.gcc.help