🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

C++ with gcc on IRIX 6.2

#373
From: Hermann Lauer
Date: Wed, 05 Mar 1997 00:00
55 lines
2382 bytes
Hello,

I have installed gcc on IRIX 6.2 after MKN's receipt, and it works
for C files.

When I tried to build groff, the configure script fails:

1) ./configure 
loading cache ./config.cache
checking for prefix by ... checking for grops... /net/sharesgi/bin/grops
checking for gcc... gcc
checking whether we are using GNU C... yes
checking whether gcc accepts -g... no
checking for c++... c++
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... no
checking whether cross-compiling... no
checking that C++ compiler can compile simple program... no
configure: error: a working C++ compiler is required

If I gave gcc explicitly as c++ compiler:

2)CXX=gcc ./configure 
loading cache ./config.cache
checking for prefix by ... checking for grops... /net/sharesgi/bin/grops
checking for gcc... gcc
checking whether we are using GNU C... yes
checking whether gcc accepts -g... no
checking for c++... gcc
checking whether we are using GNU C++... yes
checking whether gcc accepts -g... no
checking whether cross-compiling... no
checking that C++ compiler can compile simple program... yes
checking that C++ static constructors and destructors are called... no
configure: error: a working C++ compiler is required

Have anybody used gcc with C++ static constructors and destructors on
IRIX 6.2 ?

Maybe it's only an installation problem, but it would be nice to know if
anybody
has got this working before I waste a lot of time on this.

Thanks for any reply.

Hermann

-- 
	Hermann Lauer

Bildverarbeitungsgruppe des Interdiziplinaeren Zentrums fuer
wissenschaftliches Rechnen, Universitaet Heidelberg
INF 368; 69120 Heidelberg; Tel: (06221)548826  Fax: (06221)545224
Email: Hermann.Lauer@iwr.uni-heidelberg.de
Technical Details
Message-ID: <331D9761.41C6@iwr.uni-heidelberg.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,b6d4924fc8d9ed51,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 100159,b6d4924fc8d9ed51,start
X-Google-Attributes: gid100159,public
X-Google-Thread: 10ba33,b6d4924fc8d9ed51,start
X-Google-Attributes: gid10ba33,public
From: Hermann Lauer <Hermann.Lauer@iwr.uni-heidelberg.de>
Subject: C++ with gcc on IRIX 6.2
Date: 1997/03/05
Message-ID: <331D9761.41C6@iwr.uni-heidelberg.de>
X-Deja-AN: 223288092
Organization: University of Heidelberg, Germany
Newsgroups: comp.sys.sgi.misc,gnu.gcc.help,gnu.g++.help