Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: cc1plus?



>>>>> "Stephen" == Stephen J Turnbull <turnbull@example.com> writes:

>>>>> "mike" == mike fabian <mike.fabian@example.com> writes:
mike> Maybe the reason for this new kind of error message is
mike> that g++ is now egcs:

Stephen> You got it.

mike> mike@example.com ~/cpp$ gcc --version 
mike> 2.7.2.3 
mike> mike@example.com ~/cpp$ g++ --
mike> version egcs-2.90.29 980515 (egcs-1.0.3 release)

Stephen> Aaaaargh!

Why ``Aaaaargh!''? Is this not ok?

Stephen> Uhm.  Try `ls -l /usr/bin | grep egc'.  Probably you have a
Stephen> binary (I'm betting on `egcc') which invokes the egcs
Stephen> instance of gcc rather than gcc 2.7.2.3.  This may pick up a
Stephen> symlink or perhaps a alias like i386-pc-linux-gnu-egcs-gcc,
Stephen> too.

mike@example.com ~$ ls -l /usr/bin | grep egc
-rwxr-xr-x   2 root     root        55312 Oct 14 13:23 egcs*
-rwxr-xr-x   2 root     root        55312 Oct 14 13:23 i386-redhat-linux-egcs*
mike@example.com ~$ ll /usr/bin/g++
-rwxr-xr-x   2 root     root        56556 Oct 14 13:23 /usr/bin/g++*
mike@example.com ~$ ll /usr/bin/gcc
-rwxr-xr-x   2 root     root        44580 Sep  3 05:59 /usr/bin/gcc*

???

I'm quite confused about  gcc and egcs.   Which libstdc++ should I use
now? Can  the  same libstdc++ be  used by  both, gcc and  egcs, or are
there different versions of   libstdc++?  I  have the  following   one
installed:

mike@example.com mnt/cdrom/RedHat/RPMS$ rpm -qi libstdc++-devel-2.8.0-14           
Name        : libstdc++-devel             Distribution: Manhattan 
Version     : 2.8.0                             Vendor: Red Hat Software
Release     : 14                            Build Date: Wed Oct 14 13:24:14 1998
Install date: Sat Jan  9 19:02:43 1999      Build Host: porky.redhat.com
Group       : Development/Libraries         Source RPM: egcs-1.0.3a-14.src.rpm
Size        : 1116526                          License: GPL
Packager    : Red Hat Software <bugs@example.com>
URL         : http://egcs.cygnus.com/
Summary     : Header files and libraries for C++ development
Description :
This is the GNU implementation of the standard C++ libraries.  This
package includes the header files and libraries needed for C++
development.

Because ``egcs'' and ``cygnus''   are mentioned here, I   am wondering
whether this is a special version of libstdc++ only for egcs.

Also   strange  is  that   the  info-files  /usr/info/libg++.info* and
/usr/info/iostream.info* were gone after I upgraded from Redhat 5.0 to
Redhat 5.2. I copied the old ones from Redhat  5.0 into /usr/info, but
maybe  they  were  removed  on purpose,  because they  give misleading
information when using egcs as the C++ compiler?

Does egcs have its own info-files for the standard C++ library? If so,
why are they missing on Redhat 5.2?

Mike

-------------------------------------------------------------------
Next Nomikai: March 19 (Fri), 19:30  Tengu TokyoEkiMae 03-3275-3691
Next Technical Meeting: April 10 (Sat), 12:30   place: Temple Univ.
-------------------------------------------------------------------
more info: http://tlug.linux.or.jp                     Sponsor: PHT


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links