From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9ce273cd438d3c01,start X-Google-Attributes: gid103376,public From: Charlie Gage Subject: How to use gcc for gnat and C/C++? Date: 1997/07/16 Message-ID: <33CD621E.7D18@codenet.net>#1/1 X-Deja-AN: 257321555 Newsgroups: comp.lang.ada Date: 1997-07-16T00:00:00+00:00 List-Id: Greetings, I have installed gnat version 3.09 for Redhat linux 4.2, which has the GNU C/C++ compiler version 2.7.2.1 installed. My problem is that after installing gnat, the "gcc" for C was replaced with the version for gnat. Now the gnat version of "gcc" does not work with C compiles. I think it might be that the version of gnat I got was compiled for i486-linux, and my C compiler was for version i386-linux. At least this is what I discovered after looking in /usr/lib/gcc-lib. Do I need to find a new version of gnat, or am I doing something wrong here? Is there a way to separate the two compilers, such as, gcc (for C), and gada (for gnat)? Thanks, Charlie email: cgage@codenet.net