From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,32e9ad318e6045c9 X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,32e9ad318e6045c9 X-Google-Attributes: gid10b612,public From: stock@infomagic.nl (Robert Stockmann) Subject: Re: gcc problem compiling groff on Ultrix 4.3 Date: 1996/08/19 Message-ID: #1/1 X-Deja-AN: 175021189 references: <4uvei1$kt1@larch.cc.swarthmore.edu> followup-to: comp.unix.ultrix,comp.sys.dec organization: Infomagic Nederland VOF newsgroups: comp.unix.ultrix,comp.sys.dec Alexandre Vorobiev (sasha@allspice.cs.swarthmore.edu) wrote: : I have gcc 2.7.2.1 compiled with LANGUAGES="c c++" on Ultrix 4.3 : (DECstation 500/133). : When I try to configure groff, I get the following error: : checking that C++ compiler can compile simple program... no : configure: error: a working C++ compiler is required : : When I try to compile conftest.C (that came with the groff distribution) : manually, I get: : /usr/local/src/groff-1.10 # c++ conftest.C : collect2: ld returned 1 exit status : /usr/lib/cmplrs/cc/ld: : Can't locate file for: -lstdc++ : Even though I compiled and installed gcc with LANGUAGES="c c++" paramater, : there was no libstdc++.a or anything remotely similar. Do you get that : library with gcc 2.7.2.1 (I mean, is it supposed to get created, or is my : linker confused)? compile also libg++ 2.7.1 on your ultrix box.... it contains libg++ and libstdc++ Robert -- ++---------------------------++----------------------------------------++ || R.M. Stockmann || InfoMagic Nederland VOF || || stock@infomagic.nl || Unix administration & support || || tel: +31 162 421747 || P.O.Box 4375 || || fax: +31 23 5354442 || NL-4900 CJ Oosterhout || || http://www.infomagic.nl || The Netherlands || ++---------------------------++----------------------------------------++ || Make it idiot-proof and someone will invent a better idiot... || ++---------------------------++----------------------------------------++