Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* GCC ??
@ 1994-07-18 16:17 Woody Lee
  1994-07-18 17:42 ` Paul Southworth
  1994-08-01 14:41 ` Mr Takis Asproulis
  0 siblings, 2 replies; 9+ messages in thread
From: Woody Lee @ 1994-07-18 16:17 UTC (permalink / raw)



Is Gcc available (in com\x7filed form) for AXP OSF2.0 ???

If not is there some trick to get it to compile?  I get pretty far
along but it chokes and dies on mips-tfile.c with this error messages:

/usr/lib/cmplrs/cc/cfe: Error: /usr/include/unistd.h, line 482: redeclaration of
'sbrk'; previous declaration at line 60 in file './config.h'
 extern char *sbrk();
 -------------^
/usr/lib/cmplrs/cc/cfe: Error: /usr/include/unistd.h, line 482: Incompatible
function return type for this function
 extern char *sbrk();
 -----------------^
*** Exit 1
Stop.


Any help is appreciated.

--
Woody Lee    -=-=-   woody@gergu2.tamu.edu   -=-=-   (409) 862-2321 
GERG - Latex/A Data Office   |"That's the whole problem with science.
Texas A&M University         | You've got a bunch of empiricists trying 
Department of Oceanography   | to describe things of unimaginable wonder."
College Station, TX 77845    |                - Calvin (& Hobbes)


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: GCC ??
  1994-07-18 16:17 GCC ?? Woody Lee
@ 1994-07-18 17:42 ` Paul Southworth
  1994-07-18 21:02   ` Jerome P. McDonough
  1994-08-01 14:45   ` Mr Takis Asproulis
  1994-08-01 14:41 ` Mr Takis Asproulis
  1 sibling, 2 replies; 9+ messages in thread
From: Paul Southworth @ 1994-07-18 17:42 UTC (permalink / raw)


In article <30e9ub$2eh@news.tamu.edu>, Woody Lee <poster> wrote:
>Is Gcc available (in com\x7filed form) for AXP OSF2.0 ???
>
>If not is there some trick to get it to compile?  I get pretty far
>along but it chokes and dies on mips-tfile.c with this error messages:

There is a patch for gcc 2.5.8, but have you tried building 2.6.0 yet?
Gcc 2.6 was just released and it may very well compile out of the box
(haven't tried yet).  Supposedly some of the Alpha problems were to
be fixed in that release (hopefully g++)

--
Paul Southworth
CICNet Systems Support
pauls@cic.net



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: GCC ??
  1994-07-18 17:42 ` Paul Southworth
@ 1994-07-18 21:02   ` Jerome P. McDonough
  1994-07-22 13:05     ` Thomas E. Van Lenten
  1994-08-01 14:45   ` Mr Takis Asproulis
  1 sibling, 1 reply; 9+ messages in thread
From: Jerome P. McDonough @ 1994-07-18 21:02 UTC (permalink / raw)


In article <30eeu3$nci@spruce.cic.net> pauls@locust.cic.net (Paul Southworth) writes:
>In article <30e9ub$2eh@news.tamu.edu>, Woody Lee <poster> wrote:
>>Is Gcc available (in com\x7filed form) for AXP OSF2.0 ???
>>
>>If not is there some trick to get it to compile?  I get pretty far
>>along but it chokes and dies on mips-tfile.c with this error messages:
>
>There is a patch for gcc 2.5.8, but have you tried building 2.6.0 yet?
>Gcc 2.6 was just released and it may very well compile out of the box
>(haven't tried yet).  Supposedly some of the Alpha problems were to
>be fixed in that release (hopefully g++)
>

I just compiled gcc 2.6.0 on an Alpha 3000/400 running OSF/1 v.2.0.
It compiled out of the box without any errors or hassles, and has
so far compiled xcd and a few other programs I've got without any
problems at all.  Definitely worth giving a try.  Source is 
available at prep.ai.mit.edu in the subdirectory /pub/gnu.


Jerry McDonough -- jmcd@info.Berkeley.EDU             |    (......)
UCB Sch. of Lib. & Info. Studies                      |    \ *  * /
                                                      |    \  <>  /
"Don't worry.  I know what I'm doing!"                |     \ -- /  SGNORMPF!!!
         -- From the Famous Last Words file           |      ||||



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: GCC ??
  1994-07-18 21:02   ` Jerome P. McDonough
@ 1994-07-22 13:05     ` Thomas E. Van Lenten
  1994-07-23 18:30       ` Jerome P. McDonough
  1994-07-24  1:20       ` Peter da Silva
  0 siblings, 2 replies; 9+ messages in thread
From: Thomas E. Van Lenten @ 1994-07-22 13:05 UTC (permalink / raw)


 jerry> I just compiled gcc 2.6.0 on an Alpha 3000/400 running OSF/1
 jerry> v.2.0.  It compiled out of the box without any errors or
 jerry> hassles, and has so far compiled xcd and a few other programs
 jerry> I've got without any problems at all.  Definitely worth giving
 jerry> a try.  Source is available at prep.ai.mit.edu in the
 jerry> subdirectory /pub/gnu.

i built 2.6 here, and give it a test on some code we have hear.  the
optimizer has some troubles.  it compiled things fine, the the
resulting code wasn't.  the problems i found were with -O and -O2, if
you don't use any optimizing it seems fine.  (we sent a bug report in
to prep already)

has anyone had luck getting it top pass the compare self test?
someone else here keeps trying, even building with -save-temps, but
the stage 2 and 3 usually differ.

TVL


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: GCC ??
  1994-07-22 13:05     ` Thomas E. Van Lenten
@ 1994-07-23 18:30       ` Jerome P. McDonough
  1994-07-24  1:20       ` Peter da Silva
  1 sibling, 0 replies; 9+ messages in thread
From: Jerome P. McDonough @ 1994-07-23 18:30 UTC (permalink / raw)


In article <TVL.94Jul22090549@boss429.visix.com> tvl@visix.com (Thomas E. Van Lenten) writes:
>
>has anyone had luck getting it top pass the compare self test?
>someone else here keeps trying, even building with -save-temps, but
>the stage 2 and 3 usually differ.
>
It passed the compare test when I built it.  Didn't have to invoke
any of the extra flags.  One of the other admins here also built it on
an Alpha 3000/400 (osf1 v2) and has been using it without incident
(even managed to build CLISP with it).  Strange.

Jerry McDonough -- jmcd@info.Berkeley.EDU             |    (......)
UCB Sch. of Lib. & Info. Studies                      |    \ *  * /
                                                      |    \  <>  /
"Don't worry.  I know what I'm doing!"                |     \ -- /  SGNORMPF!!!
         -- From the Famous Last Words file           |      ||||



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: GCC ??
  1994-07-22 13:05     ` Thomas E. Van Lenten
  1994-07-23 18:30       ` Jerome P. McDonough
@ 1994-07-24  1:20       ` Peter da Silva
  1 sibling, 0 replies; 9+ messages in thread
From: Peter da Silva @ 1994-07-24  1:20 UTC (permalink / raw)


In article <TVL.94Jul22090549@boss429.visix.com>,
Thomas E. Van Lenten <tvl@visix.com> wrote:
> has anyone had luck getting it top pass the compare self test?
> someone else here keeps trying, even building with -save-temps, but
> the stage 2 and 3 usually differ.

I compiled and built it in a 4000/710 running OSF/1 version 2.0.

It passed the compare self-test without my specifying -save-temps.

I haven't compiled anything but GCC with it yet.

It's not a high priority with me. We do not use GCC for production work,
but I'm interested in seeing how the new GCC compares to DEC's compiler.
-- 
Peter da Silva                                            `-_-'
Network Management Technology Incorporated                 'U`
1601 Industrial Blvd.     Sugar Land, TX  77478  USA
+1 713 274 5180                       "Hast Du heute schon Deinen Wolf umarmt?"


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: GCC ??
  1994-07-18 16:17 GCC ?? Woody Lee
  1994-07-18 17:42 ` Paul Southworth
@ 1994-08-01 14:41 ` Mr Takis Asproulis
  1994-08-03 21:39   ` Randy M. Hayman 222 Bunnell 474-6331
  1 sibling, 1 reply; 9+ messages in thread
From: Mr Takis Asproulis @ 1994-08-01 14:41 UTC (permalink / raw)



In article <30e9ub$2eh@news.tamu.edu>, woody@gergu2.tamu.edu (Woody Lee) writes:
|> 
|> Is Gcc available (in com\x7filed form) for AXP OSF2.0 ???
|> 
|> If not is there some trick to get it to compile?  I get pretty far
|> along but it chokes and dies on mips-tfile.c with this error messages:
|> 
|> /usr/lib/cmplrs/cc/cfe: Error: /usr/include/unistd.h, line 482: redeclaration of
|> 'sbrk'; previous declaration at line 60 in file './config.h'
|>  extern char *sbrk();
|>  -------------^
|> /usr/lib/cmplrs/cc/cfe: Error: /usr/include/unistd.h, line 482: Incompatible
|> function return type for this function
|>  extern char *sbrk();
|>  -----------------^
|> *** Exit 1
|> Stop.
 
 I have compiled GCC version 2.6.0 for AXP OSF/1 2.0 without
 any problems. Are you sure the version of GCC you have is
 2.6.0 ?

-- 



|----------------------------------------------------|          _
| DEPARTMENT OF AERONAUTICS                          |         / \
|----------------------------------------------------|         | | 
| Imperial College of Science, Technology & Medicine |         | |
| Prince Consort Road, London SW7 2AY, U.K.          |         | |
|----------------------------------------------------|        /| |\ 
| Telephone : (071) 225 8580 Ext. 55051 (Room E256)  |       / | | \
| E-Mail    : p.asproulis@uk.ac.ic.ae                |      / /| |\ \
|----------------------------------------------------|     / / | | \ \
| P. N. Asproulis, D.Eng., M.Sc.(Hon), DIC           |    (_/ /| |\ \_)
|----------------------------------------------------|       (_|_|_)


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: GCC ??
  1994-07-18 17:42 ` Paul Southworth
  1994-07-18 21:02   ` Jerome P. McDonough
@ 1994-08-01 14:45   ` Mr Takis Asproulis
  1 sibling, 0 replies; 9+ messages in thread
From: Mr Takis Asproulis @ 1994-08-01 14:45 UTC (permalink / raw)



In article <30eeu3$nci@spruce.cic.net>, pauls@locust.cic.net (Paul Southworth) writes:
|> In article <30e9ub$2eh@news.tamu.edu>, Woody Lee <poster> wrote:
|> >Is Gcc available (in comiled form) for AXP OSF2.0 ???
|> >
|> >If not is there some trick to get it to compile?  I get pretty far
|> >along but it chokes and dies on mips-tfile.c with this error messages:
|> 
|> There is a patch for gcc 2.5.8, but have you tried building 2.6.0 yet?
|> Gcc 2.6 was just released and it may very well compile out of the box
|> (haven't tried yet).  Supposedly some of the Alpha problems were to
|> be fixed in that release (hopefully g++)
|> 

 I have compiled GCC version 2.6.0 for OSF/1 2.0, together with
 g++ without any problems. There is a problem with the libg++
 library for OSF/1 2.0. Only the latest version (2.6) compiles
 and runs correctly.
 
-- 



|----------------------------------------------------|          _
| DEPARTMENT OF AERONAUTICS                          |         / \
|----------------------------------------------------|         | | 
| Imperial College of Science, Technology & Medicine |         | |
| Prince Consort Road, London SW7 2AY, U.K.          |         | |
|----------------------------------------------------|        /| |\ 
| Telephone : (071) 225 8580 Ext. 55051 (Room E256)  |       / | | \
| E-Mail    : p.asproulis@uk.ac.ic.ae                |      / /| |\ \
|----------------------------------------------------|     / / | | \ \
| P. N. Asproulis, D.Eng., M.Sc.(Hon), DIC           |    (_/ /| |\ \_)
|----------------------------------------------------|       (_|_|_)


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: GCC ??
  1994-08-01 14:41 ` Mr Takis Asproulis
@ 1994-08-03 21:39   ` Randy M. Hayman 222 Bunnell 474-6331
  0 siblings, 0 replies; 9+ messages in thread
From: Randy M. Hayman 222 Bunnell 474-6331 @ 1994-08-03 21:39 UTC (permalink / raw)



I decided to install bison-1.22 before making gcc-2.6.0:
(in my bison-1.22 directory)
/configure
make
su root
make install

gcc-2.6.0 compiled in under 2 hours without fail on my DEC7000-610 (although it
indeed works, I did get 'char 5 line 1' differences using the compare command
in the installation docs).

I simply did the following:

configure --target=alpha-dec-osf
make LANGUAGES=c
make bootstrap LANGUAGES=c BOOT_CFLAGS="-g -O"
for file in *.o ; do cmp $file stage2/$file ; done
make install CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O" LANGUAGES=c


-- 
Randy M. Hayman					HaymanR@icefog.uacn.alaska.edu
	"Ethernet works in practice but not in theory" -- Bob Metcalfe


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~1994-08-03 21:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-07-18 16:17 GCC ?? Woody Lee
1994-07-18 17:42 ` Paul Southworth
1994-07-18 21:02   ` Jerome P. McDonough
1994-07-22 13:05     ` Thomas E. Van Lenten
1994-07-23 18:30       ` Jerome P. McDonough
1994-07-24  1:20       ` Peter da Silva
1994-08-01 14:45   ` Mr Takis Asproulis
1994-08-01 14:41 ` Mr Takis Asproulis
1994-08-03 21:39   ` Randy M. Hayman 222 Bunnell 474-6331

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