What I would do at this point if I were faced with the
problem is to write a hello-world program in user-space C++
and I would determine if atexit were being called in the
startup. I would do this by one of three ways:
1. gdb
2. write a substitute in which I set a global flag if
it was called and then in the main program I would write
out something that indicated whether my atexit function was
called or not.
3. Use objdump on the .o file created from my .cpp and
look at the function calls in it. This is no guarantee
because it ignores the C++ startup routine but it would be
an indicator.
Norm
----- Original Message -----
From: Ivan Martinez <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; Ish Rattan
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: Dresner, Norman A. <[EMAIL PROTECTED]>
Sent: Monday, November 12, 2001 4:55 AM
Subject: Re: [rtl] unresolved symbol atexit
> Not really. After reducing my includes to <rtl_cpp.h> and
my <testclass.h> I
> still have the same problem.
> Ivan
>
> On Friday 09 November 2001 16:32, Ish Rattan wrote:
> > On Fri, 9 Nov 2001, Ivan Martinez wrote:
> > > I don't call atexit() at all. This is my list of
includes:
> >
> > May be something that you are calling does :-) Some
function declared in
> > math.h or sys/stat.h is doing it chase it down (it is a
little tedious
> > but can be done).
> >
> > -ishwar
> >
> > -- [rtl] ---
> > To unsubscribe:
> > echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> > echo "unsubscribe rtl <Your_email>" | mail
[EMAIL PROTECTED]
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail
[EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/
>
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/