This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Compiling & Running C++ Progs without standard libc.


> Hi, I want to ask a question. Now I am trying to develop an
> experimental OS in C++ and I am using EGCS 1.1.2. As the C++ used in
> kernel I cannot link the code with the standard libc. The programs
> compile link fine.(I supplied some needed functions like malloc,
> free myself and linked with libg++). The code runs well but two C++
> features don't work: RTTI and Exceptions. What must I do?

It depends on the way in which it does not work. Linking with the
relevant libgcc functions might be a start.

Regards,
Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]