From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5f134b791f197836 X-Google-Attributes: gidfee84,public From: lar3ry@zk3.dec.com (lar3ry gensch) Subject: Re: building gcc with Tru64 cc: fails Date: 1999/11/12 Message-ID: <80h4n2$n29$1@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 547835629 References: <38275E47.5796F329@plk.af.mil> To: "franks@plk.af.mil" Content-Type: text/plain; charset=us-ascii Organization: Compaq Computer Corporation Mime-Version: 1.0 Reply-To: larry.gensch@digital.com Newsgroups: comp.unix.osf.osf1 [Posted and mailed] In article <38275E47.5796F329@plk.af.mil>, "franks@plk.af.mil" writes: > Hi, > > I read the recent thread about how the default Tru64 cc will > build gcc... I decided to try it. > > Well, I am having trouble... > 1. tried Larry Gensch's recommended-in-a-recent-posting command: > > "CC-cc CFLAGS="-fast -O4" ./configure [SNIP] > -aux-info SYSCALLS.c.X -S -o tmp-SYSCALLS.s SYSCALLS.c > cc1: Invalid option `-fast' > make[1]: *** [SYSCALLS.c.X] Error 1 > make: *** [all-gcc] Error 2 This error message is from gcc, which doesn't understand Compaq C's "-fast" option. cc1 is one of gcc's internal programs. > 2. OK, so gcc/xgcc don't like "-fast", lets retry that... > > make clean > CC=cc CFLAGS="-O4" ./configure > /usr/local/freeware/bin/make > [SNIP] > ... > cc -c -DIN_GCC -O4 -W -Wall -I. -I.. -I. -I./.. -I./../config > -I./../../include bad.c > cc: Error: Syntax error on -W switch: form is -Wpassname,switch > make[2]: *** [bad.o] Error 2 > make[1]: *** [f771] Error 2 > make: *** [all-gcc] Error 2 > Mon Nov 8 16:16:16 MST 1999 In this case, Compaq C is complaining about a GCC option. This is strange. > Stumped! What hack do I try next? > > Or maybe someone can save me time by pointing to that URL > where a precompiled gcc for Tru64 lives? I'll download gcc-2.95 this morning and try to build it here at work (I am running Tru64 Unix 5.0), and I'll pass on any information that I glean from the attempt. -- Larry Gensch Larry.Gensch@compaq.com Compaq Computer Corporation As usual, the standard 110 Spit Brook Road ZKO3-2/W17 disclaimers apply, etc. Nashua, NH 03062 Yada yada yada