[ILUG] C++ woes...
nearyd at khumbu.eeng.dcu.ie
Mon Oct 4 15:28:13 IST 1999
Thanks for the suggestion, but I'm not altogether sure that mixed rpms is
the source of the problem...libstdc++.so is linked to the RH6 library, and
I'm pretty sure that I installed all the c++ stuff from the RH6
distro...it seems odd to me that the compile process is looking for a
symbol which is included in a library in /usr/lib, and I can't see any
libstdc++-devel package with headers in the RH6 RPMs...
As a matter of interest, why did redhat opt for egcs over gcc for RH6? I
have a sneaking suspicion that the problem's there. I wish I knew more about
the internal workings of the compiler... the oddest thing about the whole
story is that every write/read up to the last works, and the programs only
core dump for the last one (it seems). And unfortunately the last one is
the one of interest in most cases :)
What packages are needed to successfully compile a c++ program?
Are egcs, egcs-c++ and libstdc++ all that's needed?
Thanks a lot,
On Mon, 4 Oct 1999, David Neary wrote:
> 1) First run, I got a number of "Undefined reference to `__eh_pc'" errors,
> with "more to follow". Eventually, I figured that __eh_pc is part of
> libstdc++.so, which is in /usr/lib, which was a little odd...
More information about the ILUG