Xref: utzoo comp.sys.hp:2062 gnu.gcc.bug:1105 Path: utzoo!censor!becker!ziebmef!ross From: ross@ziebmef.uucp (Ross Ridge) Newsgroups: comp.sys.hp,gnu.gcc.bug Subject: Re: GCC on HPUX - is it possible? Summary: Sure, no problem. Keywords: GCC 1.34 HPUX Message-ID: <1989May17.084607.12300@ziebmef.uucp> Date: 17 May 89 12:46:06 GMT References: <1263@mmm.UUCP> Reply-To: ross@ziebmef.UUCP (Ross Ridge) Organization: Ziebmef Public Access Unix, Toronto, Ontario Lines: 28 In article <1263@mmm.UUCP> you write: >Trying to compile GCC 1.34 on HPUX (Version 6.something) fails in >toplev.c seemingly because the macro definitions are too long for the >HPUX compiler. Does anyone have suggestions? patches? sympathy? Well, I got GCC 1.34 going on an old HP 9000 Series 200 computer running HP-UX 2.1 (quite different from the 2.1 they had for the 800 series). Our compiler would acctually dump core trying to compile toplev.c (we managed to convince it to pre-process the file no problems, however.) Our solution was to cross compile the compiler on another computer (a VAX running BSD4.3). You probably don't have to go to that extream with your system. Try using GCC's cpp to pre-process toplev.c and pass that code to your normal compiler. If you're only having problems with toplev.c you can make GCC's cpp by entering "make cpp". >In addition to the normal reasons for using GCC, twm (Tom's Window >Manager) for X11 won't compile under the HPUX compiler and we were >hoping gcc would do better. Actually the only thing we ever gave our compiler trouble was GCC itself... Ross Ridge -- l/ attcan!tmsoft!ziebmef!ross // [OO] [oo] -()- -()- db 6502 assembly forever! //