[14629] in Athena Bugs

home help back first fref pref prev next nref lref last post

sgi 8.0F:

daemon@ATHENA.MIT.EDU (petros@MIT.EDU)
Tue Sep 3 17:02:46 1996

From: petros@MIT.EDU
To: bugs@MIT.EDU, petros@MIT.EDU
Date: Tue, 03 Sep 1996 17:02:43 EDT

System name:		m11-113-16
Type and version:	IP22 8.0F
Display type:		GR3-XZ

What were you trying to do?
	Compile some c++ programs using cygnus g++
 Although, the files have been successfully be compiled with GNU g++
when cygnus is used either theyu dont compile or give ecxecution errors.


What's wrong:
To show what is wrong I  have tried to compile several
 programs using cygnus and either it does not successfully 
compile or does not run if it compiles.
Below, I am adding GNU compiler first and compiling without a problem
the same program that does not run when cygnus is added (with -f to
have higher priority). The following  have been cut and pasted from
an INDY as I was trying to resolve this issue.

Using gnu compiler  ---> compiles & runs ok
==================

% add -f gnu

% where g++
/mit/gnu/arch/sgi_53/bin/g++
/mit/cygnus/arch/sgi_53/bin/g++

% g++ ps1_1.C -o ps1_1
% ps1_1
 Global:   x = 
 Local:    x = 

 Object P: x = 


Using cygnus compiler   ---> either does not compile or does not run
=======================

% add -f cygnus

% where g++
/mit/cygnus/arch/sgi_53/bin/g++
/mit/gnu/arch/sgi_53/bin/g++

% g++ ps1_1.C -o ps1_1
% ps1_1
 3580:ps1_1: rld: Fatal Error: cannot map soname 'libstdc++.so.2.8.0' using any of the filenames /usr/lib/libstdc++.so.2.8.0:/lib/libstdc++.so.2.8.0:/lib/cmplrs/cc/libstdc++.so.2.8.0:/usr/lib/cmplrs/cc/libstdc++.so.2.8.0: -- either the file does not exist or the file is not mappable (with reason indicated in previous msg)
~/MIT_Courses/CAE_1.124/F96/Problem_Sets/PS1% 

What should have happened:
  Compile and run without problems

Please describe any relevant documentation references:
????

Please let me know if cygnus is avaolable for both
SGI's and SUN's and what is wrong. I am preparing some
course notes, programs and makefiles that will be distributed
to students and  want to make sure that the cygnus compiler
can be reliably used (at leats for the  SGI's and SUN's.  
      Thanks in advance
      Petros Komodromos
(TA for 1.124 Computer Aided Engineering)

 


  



home help back first fref pref prev next nref lref last post