🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41921

Problems compiling gcc 2.7.2 for SunOS 4.1.3_U1 on Sparc 2

#41921
From: Jacob Parnas
Date: Thu, 01 Feb 1996 00:00
138 lines
5991 bytes
Hi, I get the following problems compiling gcc 2.7.2 for the Sun as above..
Hi, I found these problems compiling gcc.2.7-2:

All problems on 4.1.3_U1 version of Sun with all patches I could find on
sparcstation 2 with 64 meg of ram and 3 1/2 GB disk space

1. version 2.7.2 of gcc first stage right after configure
   line 401 of Makefile under confifgure
   MULTILIB####host overrides
    
-->   commented out  MULTILIB####host override


2. line 637
   same stage as problem 11
   lang.start.encap has no rule 
   start.encap: native xgcc specs $(LIBGCC1) xlimits.h lang.start.encap

-->   lang.start.encap commented out.

3. In make stage1:
make: *** No rule to make target `lang.stage1', needed by `stage1'.  Stop.

218 << jparnas >>  make stage1
if [ -d stage1 ] ; then true ; else mkdir stage1 ; fi
for dir in . cp ; \
 do \
   if [ -d stage1/$dir ] ; then true ; else mkdir stage1/$dir ; fi ; \
 done
mv *.o insn-flags.h insn-config.h insn-codes.h insn-output.c insn-recog.c insn-emit.c insn-extract.c insn-peep.c insn-attr.h insn-attrtab.c insn-opinit.c stamp-flags stamp-config stamp-codes stamp-output stamp-recog stamp-emit stamp-extract stamp-peep stamp-attr stamp-attrtab stamp-opinit stamp-proto stamp-crt stamp-crtS genemit genoutput genrecog genextract genflags gencodes genconfig genpeep genattrtab genattr genopinit bc-arity.h bc-opcode.h bc-opname.h stamp-bcarity stamp-bcopcode stamp-bcopname bi-ari
ty bi-opcode bi-opname xgcc cc1 cpp    gcc-cross cccp cc1obj enquire protoize unprotoize specs collect2  underscore.c *.greg *.lreg *.combine *.flow *.cse *.jump *.rtl *.tree *.loop *.dbr *.jump2 *.sched *.cse2 *.sched2 *.stack *.[si] g++ g++-cross cc1plus stage1
mv: stamp-proto: Cannot access: No such file or directory
mv: stamp-crt: Cannot access: No such file or directory
mv: stamp-crtS: Cannot access: No such file or directory
mv: gcc-cross: Cannot access: No such file or directory
mv: protoize: Cannot access: No such file or directory
mv: unprotoize: Cannot access: No such file or directory
mv: collect2: Cannot access: No such file or directory
mv: underscore.c: Cannot access: No such file or directory
mv: *.greg: Cannot access: No such file or directory
mv: *.lreg: Cannot access: No such file or directory
mv: *.combine: Cannot access: No such file or directory
mv: *.flow: Cannot access: No such file or directory
mv: *.cse: Cannot access: No such file or directory
mv: *.jump: Cannot access: No such file or directory
mv: *.rtl: Cannot access: No such file or directory
mv: *.tree: Cannot access: No such file or directory
mv: *.loop: Cannot access: No such file or directory
mv: *.dbr: Cannot access: No such file or directory
mv: *.jump2: Cannot access: No such file or directory
mv: *.sched: Cannot access: No such file or directory
mv: *.cse2: Cannot access: No such file or directory
mv: *.sched2: Cannot access: No such file or directory
mv: *.stack: Cannot access: No such file or directory
mv: *.[si]: Cannot access: No such file or directory
mv: g++: Cannot access: No such file or directory
mv: g++-cross: Cannot access: No such file or directory
mv: cc1plus: Cannot access: No such file or directory
make: [stage1-start] Error 1 (ignored)
if [ -f as ] ; then ln -s ../as stage1 || cp as stage1 ; else true ; fi
if [ -f ld ] ; then ln -s ../ld stage1 || cp ld stage1 ; else true ; fi
if [ -f collect-ld ] ; then ln -s ../collect-ld stage1 || cp collect-ld stage1 ; else true ; fi
rm -f stage1/libgcc.a
cp libgcc.a stage1
if [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then ranlib stage1/libgcc.a; else true; fi
make: *** No rule to make target `lang.stage1', needed by `stage1'.  Stop.

--> stage 1 commented out 


4. To  make diskclean :

make: *** No rule to make target `lang.mostlyclean', needed by `mostlyclean'.  Stop.
>> make: 2


make: *** No rule to make target `lang.clean', needed by `clean'.  Stop.

--> commented out lang.mostlyclean.


5. lang.rest.enacap commented out after:

....
make: *** No rule to make target `lang.rest.encap', needed by `rest.encap'.  Stop.

commented out lang.rest.encap.

2376.770u 587.320s 57:01.19 86.6% 0+275k 1831+14640io 1826pf+0w
>> make: 2


6. 

make: *** No rule to make target `c++', needed by `native'.  Stop.
150.850u 28.970s 3:31.70 84.9% 0+1558k 630+687io 912pf+0w

--> commented out rule c++

7. needed to comment out lange.stage2 of (stage 13 part 1)

stage2: force stage2-start # lang.stage2

8.

 make CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O2" (stage 13 part 2)


commented it out for time being on LANGUAGES.

9.  In stage 15

I commented them out

install-common: native install-dir $(EXTRA_PARTS) # lang.install-common

make: *** No rule to make target `lang.install-man', needed by `install-man'.  Stop.

make: *** No rule to make target `lang.info', needed by `info'.  Stop.

make: *** No rule to make target `lang.install-info', needed by `install-info'.  Stop.

make: *** No rule to make target `lang.install-normal', needed by `install-normal'.  Stop.



Jacob Parnas
(617) 566-4496
Brookline, MA
jparnas@jparnas.cybercom.net

--

------------------------------------------------------------------------------
| Jacob M. Parnas                                                            |
| IBM Thomas J. Watson Research Ctr.                                         |
| Internet: jparnas@jparnas.cybercom.net                                     |
------------------------------------------------------------------------------
Technical Details
Message-ID: <4ereu6$4gg@orion.cybercom.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,1f18e6f4eb3b3aa3,start
X-Google-Attributes: gid11318c,public
From: jparnas@cybercom.net (Jacob Parnas)
Subject: Problems compiling gcc 2.7.2 for SunOS 4.1.3_U1 on Sparc 2
Date: 1996/02/01
Message-ID: <4ereu6$4gg@orion.cybercom.net>
X-Deja-AN: 137804269
organization: Cyber Access Internet Communications, Inc.
newsgroups: gnu.gcc.help