🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sgi.misc
Article #372

Re: C++ with gcc on IRIX 6.2

#372
From: Shankar Unni
Date: Fri, 07 Mar 1997 00:00
18 lines
1302 bytes
Hermann Lauer (Hermann.Lauer@iwr.uni-heidelberg.de) wrote:

> If I gave gcc explicitly as c++ compiler:
> 2)CXX=gcc ./configure 

You have to say "CXX=g++" (or "c++"), don't you? gcc is the C compiler, and
while it may know how to compile .c++ files, it won't attempt to link .o's
as C++ objects.

In fact, your original configure seems to have found g++ ("checking for
c++... c++"): "c++" is one of the names by which g++ is installed. The SGI
C++ compiler is actually called "CC".


-- 
Shankar Unni                                  shankar@chromatic.com
Chromatic Research                            (408) 752-9488
Technical Details
Message-ID: <5fq2n4$roo@news.zocalo.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <331D9761.41C6@iwr.uni-heidelberg.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,b6d4924fc8d9ed51
X-Google-Attributes: gid11318c,public
X-Google-Thread: 100159,b6d4924fc8d9ed51
X-Google-Attributes: gid100159,public
X-Google-Thread: 10ba33,b6d4924fc8d9ed51
X-Google-Attributes: gid10ba33,public
From: shankar@chromatic.com (Shankar Unni)
Subject: Re: C++ with gcc on IRIX 6.2
Date: 1997/03/07
Message-ID: <5fq2n4$roo@news.zocalo.net>
X-Deja-AN: 223903266
References: <331D9761.41C6@iwr.uni-heidelberg.de>
Followup-To: comp.sys.sgi.misc,gnu.gcc.help,gnu.g++.help
Organization: Chromatic Research, Sunnyvale, CA
Newsgroups: comp.sys.sgi.misc,gnu.gcc.help,gnu.g++.help