🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52642

help on porting gcc-2.1 to MIPS

#52642
From: Gala Murali Mohan Reddy
Date: Fri, 19 Jun 1992 04:31
112 lines
8532 bytes
I am trying to port the gcc-2.1 to my mips box which has SYS-V3 with
BSD 4.3 extension.  I am using mips version of BSD4.3 c compiler.  It
is not ANSI C.  Following is the script.  Am I doing something
seriously wrong.  I appreciate your help.

Script started on Fri Jun 19 08:43:29 1992
ee21% configure --host=mips-bsd4.3 --target=mips-bsd4.3
Linked `config.h' to `./config/xm-mips.h'
Linked `tm.h' to `./config/mips.h'
Linked `md' to `./config/mips.md'
Linked `aux-output.c' to `./config/mips.c'
Linked `tconfig.h' to `./config/xm-mips.h'
Merged x-mips.
Merged t-mips.
Created `Makefile'.
Links are now set up for target mips-bsd4.3.

ee23% make LANGUAGES=c
        /usr/bsd43/bin/cc -Wf,-XNg1500  -O1  -g     -I. -I. -I./config \
          -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/mips-bsd4.3/`awk '{printf "%s", substr ($4, 2, length ($4) - 3); }' ./version.c`/include\" \
          -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
          -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
          -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/mips-bsd4.3/`awk '{printf "%s", substr ($4, 2, length ($4) - 3); }' ./version.c`/sys-include\" \
          -c `echo ./cccp.c | sed 's,^\./,,'`
        /usr/bsd43/bin/cc -Wf,-XNg1500  -O1  -g     -I. -I. -I./config -c ./cexp.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config version.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config obstack.c
        /usr/bsd43/bin/cc -Wf,-XNg1500  -O1  -g   -o cccp cccp.o cexp.o version.o obstack.o ` case "/usr/bsd43/bin/cc -Wf,-XNg1500" in "/usr/bsd43/bin/cc -Wf,-XNg1500") echo  ;; esac `  -lmld
        rm -f cpp
        ln cccp cpp
        /usr/bsd43/bin/cc -Wf,-XNg1500  -O1  -g     -I. -I. -I./config -c ./c-parse.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config c-lang.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config c-lex.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config c-decl.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config c-typeck.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config c-convert.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config c-aux-info.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config c-common.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config ./genattr.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config rtl.c
        /usr/bsd43/bin/cc -Wf,-XNg1500  -O1  -g   -o genattr \
         genattr.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "/usr/bsd43/bin/cc -Wf,-XNg1500"@"" in "/usr/bsd43/bin/cc -Wf,-XNg1500"@?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac `   -lmld
        ./genattr md > tmp-attr.h
        ./move-if-change tmp-attr.h insn-attr.h
        touch stamp-attr
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config toplev.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config tree.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config print-tree.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config stor-layout.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config fold-const.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config ./genflags.c
        /usr/bsd43/bin/cc -Wf,-XNg1500  -O1  -g   -o genflags \
         genflags.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "/usr/bsd43/bin/cc -Wf,-XNg1500"@"" in "/usr/bsd43/bin/cc -Wf,-XNg1500"@?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac `   -lmld
        ./genflags md > tmp-flags.h
        ./move-if-change tmp-flags.h insn-flags.h
        touch stamp-flags
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config ./gencodes.c
        /usr/bsd43/bin/cc -Wf,-XNg1500  -O1  -g   -o gencodes \
         gencodes.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "/usr/bsd43/bin/cc -Wf,-XNg1500"@"" in "/usr/bsd43/bin/cc -Wf,-XNg1500"@?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac `   -lmld
        ./gencodes md > tmp-codes.h
        ./move-if-change tmp-codes.h insn-codes.h
        touch stamp-codes
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config ./genconfig.c
        /usr/bsd43/bin/cc -Wf,-XNg1500  -O1  -g   -o genconfig \
          genconfig.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "/usr/bsd43/bin/cc -Wf,-XNg1500"@"" in "/usr/bsd43/bin/cc -Wf,-XNg1500"@?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac `   -lmld
        ./genconfig md > tmp-config.h
        ./move-if-change tmp-config.h insn-config.h
        touch stamp-config
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config function.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config stmt.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config expr.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config calls.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config expmed.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config explow.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config optabs.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config varasm.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config print-rtl.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config rtlanal.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config emit-rtl.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config dbxout.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config sdbout.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config dwarfout.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config xcoffout.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config integrate.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config jump.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config cse.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config loop.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config unroll.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config flow.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config stupid.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config combine.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config regclass.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config local-alloc.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config global-alloc.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config reload.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config reload1.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config caller-save.c
        /usr/bsd43/bin/cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config ./genpeep.c
        /usr/bsd43/bin/cc -Wf,-XNg1500  -O1  -g   -o genpeep \
         genpeep.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "/usr/bsd43/bin/cc -Wf,-XNg1500"@"" in "/usr/bsd43/bin/cc -Wf,-XNg1500"@?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac `   -lmld
        ./genpeep md > tmp-peep.c
        ./move-if-change tmp-peep.c insn-peep.c
        touch stamp-peep
        /usr/bsd43/bin/cc -Wf,-XNg1500  -O1  -g     -I. -I. -I./config -c insn-peep.c
cfe: Fatal: insn-peep.c: Segmentation violation
*** Error code 1

Stop.
ee24%

script done on Fri Jun 19 08:52:47 1992
Technical Details
Message-ID: <9206191431.AA05894@ee.tamu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ee.tamu.edu!gala

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,61179a96cbd1c4e3,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-06-19 03:15:18 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ee.tamu.edu!gala
From: gala@ee.tamu.edu (Gala Murali Mohan Reddy)
Subject: help on porting gcc-2.1 to MIPS
Message-ID: <9206191431.AA05894@ee.tamu.edu>
Sender: daemon@cis.ohio-state.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 19 Jun 1992 04:31:26 GMT
Lines: 114