This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Compiling & Running C++ Progs without standard libc.
- To: emiruner at hotmail dot com
- Subject: Re: Compiling & Running C++ Progs without standard libc.
- From: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Fri, 30 Jul 1999 00:32:46 +0200
- CC: gcc at gcc dot gnu dot org
- References: <19990729131148.53943.qmail@hotmail.com>
> 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