tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [SUMMARY] gcc 2.7.2.2
@ 1997-03-28  8:07 Stavros A. Papadakis
  0 siblings, 0 replies; only message in thread
From: Stavros A. Papadakis @ 1997-03-28  8:07 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="--------------167E2781446B", Size: 8087 bytes --]

This is a multi-part message in MIME format.

--------------167E2781446B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

First of all thanks to those who replied:
 Olle Eriksson <olle@cb.uu.se>,
 Walter Mueller <walt@pi4.informatik.uni-mannheim.de>,
 Kurt Knochner <Kurt.Knochner@physik.tu-muenchen.de>.

  The question posted from me was:
>        
>  We have some Alphas [DEC 3000/300 LX] and we have been trying
> to install DU 4.0A. Besides all other problems, we are having
> trouble with gcc. The compiled version for 3.2D was not
> working properly (it reported `parse errors' while compiling
> some programs at any workstation with DU 4.0A).
> 
>  Finally I downloaded gcc2.7.2.2 and compiled it for DU4.0A.
> It seems to be working allright (of course there are those warnings
> about declaration mismatch for strlen, strcpy, etc., for which
> I have allready read about in previous postings here).
>         
>  What I want to ask is why I get messages for `unrecognized options'.
> I've noticed that neither `-std1' nor `-R<somepath>' are recognized
> (haven't tried all of them to see if there are other options not
> recognized as well). Am I missing something at the installation
> process?
>         
> Any hints will be very appreciated.
> Thank you all for reading this.
>

  Well it seems that there are no such options for gcc running on
 DEC machines... gcc uses -ansi instead of -std1 and -Wl,-r<path>
 instead of -R<path>.

  The answers I received...

  Thanks again.
-- 
Stavros

--------------167E2781446B
Content-Type: text/plain; charset=us-ascii; name="gcc-response-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="gcc-response-1"

From olle@cb.uu.se Thu Mar 27 09:35:03 1997
Received: from columba.udac.uu.se by nemesis.csi.forth.gr (ICS mailhost);
	on Thu, 27 Mar 1997 09:35:00 +0200 (EET DST); with id AA17497
Organization:  
Received: from puh.cb.uu.se ([130.238.150.20]) by columba.its.uu.se with SMTP id <7260-42676>; Thu, 27 Mar 1997 08:34:53 +0100
Received: from jagularen.cb.uu.se by puh.cb.uu.se; (5.65/1.1.8.2/21Oct96-9.1MPM)
	id AA12760; Thu, 27 Mar 1997 08:34:49 +0100
Received: by jagularen.cb.uu.se; (5.65/1.1.8.2/19Dec96-9.1MAM)
	id AA15191; Thu, 27 Mar 1997 08:34:47 +0100
Date: 	Thu, 27 Mar 1997 08:34:47 +0100
From: Olle Eriksson <olle@cb.uu.se>
Message-Id: <9703270734.AA15191@jagularen.cb.uu.se>
To: spapad@csi.forth.gr
Subject: Re:  [Q] gcc 2.7.2.2
X-Mozilla-Status: 0011
Content-Length: 97

-std1 isn't a valid gcc switch
-R isn't used by Digital Unix and is probably diabled by purpose



--------------167E2781446B
Content-Type: text/plain; charset=us-ascii; name="gcc-response-2"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="gcc-response-2"

From walt@pi4.informatik.uni-mannheim.de Thu Mar 27 10:54:36 1997
Received: from pi4.informatik.uni-mannheim.de by nemesis.csi.forth.gr (ICS mailhost);
	on Thu, 27 Mar 1997 10:54:32 +0200 (EET DST); with id AA18539
Organization:  
Received: from sirius.informatik.uni-mannheim.de (sirius [134.155.48.252])
	by pi4.informatik.uni-mannheim.de (8.8.5/8.8.5) with ESMTP id JAA02078
	for <spapad@csi.forth.gr>; Thu, 27 Mar 1997 09:54:27 +0100
Received: (from walt@localhost)
	by sirius.informatik.uni-mannheim.de (8.8.5/8.8.5) id JAA21596;
	Thu, 27 Mar 1997 09:54:27 +0100 (MET)
Date: Thu, 27 Mar 1997 09:54:27 +0100 (MET)
Message-Id: <199703270854.JAA21596@sirius.informatik.uni-mannheim.de>
From: Walter Mueller <walt@pi4.informatik.uni-mannheim.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: "Stavros A. Papadakis" <spapad@csi.forth.gr>
Subject: Re: [Q] gcc 2.7.2.2
In-Reply-To: <333A1B09.15FB@csi.forth.gr>
References: <333A1B09.15FB@csi.forth.gr>
X-Mailer: VM 6.22 under Emacs 19.34.1
X-No-Archive: yes
X-Pgp-Public-Key: finger walt@pi4.informatik.uni-mannheim.de
X-Pgp-Fingerprint: DA C6 77 91 A6 C2 FB 3D  59 1D 2E 0D 94 0D 18 32
X-Pgp-Use: Don't send postcards, use envelopes
X-Mozilla-Status: 0011
Content-Length: 1920

Stavros A. Papadakis writes:
> Greetings OSF managers.
> 
>   We have some Alphas [DEC 3000/300 LX] and we have been trying
>  to install DU 4.0A. Besides all other problems, we are having
>  trouble with gcc. The compiled version for 3.2D was not
>  working properly (it reported `parse errors' while compiling
>  some programs at any workstation with DU 4.0A).
> 
>   Finally I downloaded gcc2.7.2.2 and compiled it for DU4.0A.
>  It seems to be working allright (of course there are those warnings
>  about declaration mismatch for strlen, strcpy, etc., for which
>  I have allready read about in previous postings here).
> 
>   What I want to ask is why I get messages for `unrecognized options'.
>  I've noticed that neither `-std1' nor `-R<somepath>' are recognized
>  (haven't tried all of them to see if there are other options not
>  recognized as well). Am I missing something at the installation
>  process?
> 
gcc does not understand all the options the DEC supplied cc knows
about. The option  -std1 tells cc to use strict ISO C and ANSI C
conformance, gcc uses -ansi .
I haven't found -R for DEC cc and DEC ld, but on Solaris 2.x this
option is used to compile in a colon separated list where to look for
for shared libraries. On DigitalUnix this is done by the option
-Wl,-rpath,<somepath

>   Any hints will be very appreciated.
>   Thank you all for reading this.
> 
> ps. I have built a `stage3' compiler that accepts all available
>     languages (C, C++ and Objective-C)
> 
> --
> Stavros

-- 
Walter Mueller
Universitaet Mannheim		email: walt@pi4.informatik.uni-mannheim.de
Praktische Informatik IV	tel  : +49 621 292 5056
L15,16 Raum 413			fax  : +49 621 292 5745
68131 Mannheim
------------------------------------------------------------------------
Unix *IS* user friendly; It's just selective about who it's friends are!
------------------------------------------------------------------------


--------------167E2781446B
Content-Type: text/plain; charset=us-ascii; name="gcc-response-3"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="gcc-response-3"

From kurt@physik.tu-muenchen.de Thu Mar 27 16:34:10 1997
Received: from srv.cip.physik.tu-muenchen.de by nemesis.csi.forth.gr (ICS mailhost);
	on Thu, 27 Mar 1997 16:33:53 +0200 (EET DST); with id AA25841
Organization:  
Received:  from omega.cip.physik.tu-muenchen.de
	by srv.cip.physik.tu-muenchen.de with SMTP id AA13914
	for <spapad@csi.forth.gr> (5.67a/IDA-1.5/bs04);
	Thu, 27 Mar 1997 15:33:50 +0100
Message-Id: <199703271433.AA13914@srv.cip.physik.tu-muenchen.de>
To: "Stavros A. Papadakis" <spapad@csi.forth.gr>
Subject: Re: [Q] gcc 2.7.2.2 
In-Reply-To: Your message of Thu, 27 Mar 1997 09:00:25 +0200.
             <333A1B09.15FB@csi.forth.gr> 
Date: Thu, 27 Mar 1997 15:33:50 +0100
From: Kurt Knochner <Kurt.Knochner@physik.tu-muenchen.de>
X-Mozilla-Status: 0011
Content-Length: 1104


	 Greetings OSF managers.
	 
	   We have some Alphas [DEC 3000/300 LX] and we have been trying
	  to install DU 4.0A. Besides all other problems, we are having
	  trouble with gcc. The compiled version for 3.2D was not
	  working properly (it reported `parse errors' while compiling
	  some programs at any workstation with DU 4.0A).
	 
	   Finally I downloaded gcc2.7.2.2 and compiled it for DU4.0A.
	  It seems to be working allright (of course there are those warnings
	  about declaration mismatch for strlen, strcpy, etc., for which
	  I have allready read about in previous postings here).
	 
	   What I want to ask is why I get messages for `unrecognized options'.
	  I've noticed that neither `-std1' nor `-R<somepath>' are recognized
	  (haven't tried all of them to see if there are other options not
	  recognized as well). Am I missing something at the installation
	  process?
	 
	   Any hints will be very appreciated.
	   Thank you all for reading this.

There are no such options in gcc. That are options of the native DU cc.
The equivalent option for -std0 might be -W...

Regards
Kurt


--------------167E2781446B--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-03-28  8:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-28  8:07 [SUMMARY] gcc 2.7.2.2 Stavros A. Papadakis

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