From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,32e9ad318e6045c9 X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,32e9ad318e6045c9 X-Google-Attributes: gid1164f8,public From: Miles Davies Subject: Re: gcc problem compiling groff on Ultrix 4.3 Date: 1996/08/16 Message-ID: <840183137snz@froude.demon.co.uk>#1/1 X-Deja-AN: 175031792 x-nntp-posting-host: froude.demon.co.uk references: <4uvei1$kt1@larch.cc.swarthmore.edu> x-mail2news-path: froude.demon.co.uk organization: Myorganisation reply-to: mdavies@froude.demon.co.uk newsgroups: comp.unix.ultrix,comp.sys.dec In article <4uvei1$kt1@larch.cc.swarthmore.edu> sasha@allspice.cs.swarthmore.edu "Alexandre Vorobiev" writes: > 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)? > > Thanks, > Sasha / sasha@cs.swarthmore.edu > > The libc and libc++ are not part of the gnu c distribution but are available from the same sources. -- Miles Davies (my Boss probably wouldn't agree with what I just said.)