help-gplusplus
[Top][All Lists]
Advanced

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

Re: No standard library compilation


From: Paul Pluzhnikov
Subject: Re: No standard library compilation
Date: Fri, 02 Jun 2006 19:03:57 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

"ernesto" <ebasconp@gmail.com> writes:

> I want to develop a C++ application (or shared library) [using objects,
> inheritance, polymorphism, RTTI, templates, exception handling, etc.]
> but I do not want to use the libstdc++ library.

Why not?

Whatever the reason, you'll have to implement *a lot* of C++
runtime support, which is quite non-trivial.

> I know that I can avoid linking with the default libraries telling
> "-nodefaultlibs" to the compiler, but then a lot of errors are raised.
>
> So, what basic methods should I implement in order to have full C++
> features on my application without using the libstdc++?

Whichever methods are reported as unresolved when you link with
-nodefaultlibs.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]