Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: lar3ry@zk3.dec.com (lar3ry gensch)
To: "franks@plk.af.mil" <franks@plk.af.mil>
Subject: Re: building gcc with Tru64 cc: fails
Date: 1999/11/12	[thread overview]
Message-ID: <80h4n2$n29$1@nntpd.lkg.dec.com> (raw)
In-Reply-To: 38275E47.5796F329@plk.af.mil

[Posted and mailed]

In article <38275E47.5796F329@plk.af.mil>,
	"franks@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



  parent reply	other threads:[~1999-11-12  5:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-08  5:00 building gcc with Tru64 cc: fails franks
1999-11-09  5:00 ` Jesper Frank Nemholt
1999-11-12  5:00 ` lar3ry gensch [this message]
1999-11-12  5:00 ` Tim Mooney
1999-11-18  5:00 ` Erik Braun
1999-11-18  5:00   ` Jeff Sullivan
1999-11-19  5:00     ` Erik Braun
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox