From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,81e692aad13cae3 X-Google-Attributes: gidfee84,public From: Steve VanDevender Subject: Re: GCC (2.7.2) on DEC UNIX 3.2 Date: 1996/12/17 Message-ID: #1/1 X-Deja-AN: 204575744 references: <59472d$74l@chaos.dac.neu.edu> <5967h1$4po@nyx10.cs.du.edu> organization: University of Oregon newsgroups: comp.unix.osf.osf1 mbartz@nyx10.cs.du.edu (Michael Bartz) writes: > rmhadley@lynx.dac.neu.edu (Bob Hadley) writes: > > > Am I the only person having fits trying to get GCC > >to compile and set itself up under Dec UNIX 3.2? I am not > > Probably not. I can't get it to compile at all under v4.0a. I hope > someone has some ideas! > > Mike The only problem I had with compiling GCC 2.7.2.1 under DU 4.0A was with g++. I got it to compile with this little patch, which works around a prototype conflict: *** gcc-2.7.2.1/cp/errfn.c~ Wed Oct 11 19:28:54 1995 --- gcc-2.7.2.1/cp/errfn.c Wed Sep 11 10:59:52 1996 *************** *** 195,201 **** char *format; arglist_dcl { ! extern errorfn sprintf; cp_thing (sprintf, 0, format, arglist); } --- 195,201 ---- char *format; arglist_dcl { ! extern int sprintf(); cp_thing (sprintf, 0, format, arglist); } -- Steve VanDevender stevev@hexadecimal.uoregon.edu http://jcomm.uoregon.edu/~stevev "bash awk grep perl sed df du, du-du du-du, vi troff su fsck rm * halt LART LART LART!" -- the Swedish BOFH