Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* gcc problem compiling groff on Ultrix 4.3
@ 1996-08-15  4:00 Alexandre Vorobiev
  1996-08-16  4:00 ` Miles Davies
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alexandre Vorobiev @ 1996-08-15  4:00 UTC (permalink / raw)



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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc problem compiling groff on Ultrix 4.3
  1996-08-15  4:00 gcc problem compiling groff on Ultrix 4.3 Alexandre Vorobiev
  1996-08-16  4:00 ` Miles Davies
@ 1996-08-16  4:00 ` Georg Schwarz
  1996-08-19  4:00 ` Robert Stockmann
  2 siblings, 0 replies; 4+ messages in thread
From: Georg Schwarz @ 1996-08-16  4:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 882 bytes --]


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

I have experience exactly the same problem (both on Ultrix 4.3 and 4.2,
with gcc 2.7.2). With gcc 2.6.3 it works though. I've no idea whose
fault it is.

anyway, I could not get groff built even after getting though the
configuration process due to errors that occured in the subsequent
'make' process.  
-- 
Georg Schwarz (schwarz@physik.tu-berlin.de, kuroi@cs.tu-berlin.de, PGP 2.6ui)
Institut f�r Theoretische Physik  +49 30 314-24254   FAX -21130   IRC kuroi
Technische Universit�t Berlin  http://itp1.physik.tu-berlin.de/~schwarz/



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc problem compiling groff on Ultrix 4.3
  1996-08-15  4:00 gcc problem compiling groff on Ultrix 4.3 Alexandre Vorobiev
@ 1996-08-16  4:00 ` Miles Davies
  1996-08-16  4:00 ` Georg Schwarz
  1996-08-19  4:00 ` Robert Stockmann
  2 siblings, 0 replies; 4+ messages in thread
From: Miles Davies @ 1996-08-16  4:00 UTC (permalink / raw)



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.)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc problem compiling groff on Ultrix 4.3
  1996-08-15  4:00 gcc problem compiling groff on Ultrix 4.3 Alexandre Vorobiev
  1996-08-16  4:00 ` Miles Davies
  1996-08-16  4:00 ` Georg Schwarz
@ 1996-08-19  4:00 ` Robert Stockmann
  2 siblings, 0 replies; 4+ messages in thread
From: Robert Stockmann @ 1996-08-19  4:00 UTC (permalink / raw)



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...  ||
++---------------------------++----------------------------------------++



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-08-19  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-15  4:00 gcc problem compiling groff on Ultrix 4.3 Alexandre Vorobiev
1996-08-16  4:00 ` Miles Davies
1996-08-16  4:00 ` Georg Schwarz
1996-08-19  4:00 ` Robert Stockmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox