[SUMMARY] gcc 2.7.2.2

From: Stavros A. Papadakis <spapad_at_csi.forth.gr>
Date: Fri, 28 Mar 1997 10:07:38 +0200

First of all thanks to those who replied:
 Olle Eriksson <olle_at_cb.uu.se>,
 Walter Mueller <walt_at_pi4.informatik.uni-mannheim.de>,
 Kurt Knochner <Kurt.Knochner_at_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


>From olle_at_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_at_cb.uu.se>
Message-Id: <9703270734.AA15191_at_jagularen.cb.uu.se>
To: spapad_at_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




>From walt_at_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_at_csi.forth.gr>; Thu, 27 Mar 1997 09:54:27 +0100
Received: (from walt_at_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_at_sirius.informatik.uni-mannheim.de>
From: Walter Mueller <walt_at_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_at_csi.forth.gr>
Subject: Re: [Q] gcc 2.7.2.2
In-Reply-To: <333A1B09.15FB_at_csi.forth.gr>
References: <333A1B09.15FB_at_csi.forth.gr>
X-Mailer: VM 6.22 under Emacs 19.34.1
X-No-Archive: yes
X-Pgp-Public-Key: finger walt_at_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_at_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!
------------------------------------------------------------------------


>From kurt_at_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_at_csi.forth.gr> (5.67a/IDA-1.5/bs04);
        Thu, 27 Mar 1997 15:33:50 +0100
Message-Id: <199703271433.AA13914_at_srv.cip.physik.tu-muenchen.de>
To: "Stavros A. Papadakis" <spapad_at_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_at_csi.forth.gr>
Date: Thu, 27 Mar 1997 15:33:50 +0100
From: Kurt Knochner <Kurt.Knochner_at_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
Received on Fri Mar 28 1997 - 09:34:37 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT