[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Libraries for exception handling?
From: |
Guy Harrison |
Subject: |
Re: Libraries for exception handling? |
Date: |
Wed, 22 Sep 2004 11:00:09 GMT |
User-agent: |
KNode/0.7.7 |
David Olsson wrote:
> Maurizio Loreti <mlo@foobar.it> wrote in message
> news:<rmu0tr8zto.fsf@mlinux.pd.infn.it>...
>> You invoke g++, not gcc, in the command line --- right?
>
> Yes I invoke g++, but it really wouldn't matter if I invoked gcc since
> I explicitly use ld to link and don't link with any of the default
> libararies (like -lstdc++ and -lsupc++) since, in the case of
> -lstdc++, I don't use any of its functonalities (at least not
> explicitly) and should thus not require it(?), and, in the case of
> -lsupc++, it makes use of malloc() and free() which defintately is off
> limits on this platform.
Why?
> What I really need is a way to be able to use exception handling (if I
> remove all exceptions from the code, the linking works just fine)
> without having to link with a library that uses malloc() and free().
> Any ideas?
Implement your own malloc.