dynamic_cast problem

2007-11-13 Thread ganesh subramonian
I have this example program below. #include #include using namespace std; class Base { public: Base() {} Base(int aa) { a = aa; } int a; char c; virtual void show() { cout << "a=" << a << endl; } }; class Derived:

Re: relation between gcc/glibc version and linux kernel version??

2007-06-25 Thread ganesh subramonian
Hi For example i hear that native posix threads has portions of it implemented in kernel and also requires glibc support. In such cases if i attempt to run an application compiled with gcc-4 on a linux-2.4 kernel, wont there be problems?? With changes in binutils, would there be changes in the ba

relation between gcc/glibc version and linux kernel version??

2007-06-24 Thread ganesh subramonian
Hi I have a very basic doubt regarding gcc,binutils and kernel. How closely tied are the linux kernel version and the gcc/glibc versions? and where exactly does binutils come in? What kind of changes usually require that version x of kernel requires version y of binutils and gcc-z. And is there

Re: how to convince someone about migrating from gcc-2.95 to gcc-3.x

2007-04-02 Thread ganesh subramonian
gt; To: Joe Buck <[EMAIL PROTECTED]> Cc: Marcin Dalecki <[EMAIL PROTECTED]>; Paul Brook <[EMAIL PROTECTED]>; gcc@gcc.gnu.org; Dave Korn <[EMAIL PROTECTED]>; ganesh subramonian <[EMAIL PROTECTED]> Sent: Monday, April 2, 2007 11:32:43 AM Subject: Re: how to convince some

how to convince someone about migrating from gcc-2.95 to gcc-3.x

2007-03-31 Thread ganesh subramonian
Hi I work in a company where we have been using gcc-2.95.4 (based cross compiler) for compiling our code. Most of the code is written in c++ and makes extensive use of the stl libraries. We would not be changing our operating system or processor architecture (so portability is not a very