Re: __cxa_atexit and __dso_handle

2003-07-06 Thread Martin v. Löwis
David N. Welton wrote: The problem is that despite using -nostdlib whilst compiling, I still get __cxa_atexit and __dso_handle defined in my .o files (yes, eCos utilizes C++ in places). I think the problem is not that you are getting definitions, but that you are getting references

Re: __cxa_atexit and __dso_handle

2003-07-06 Thread David N. Welton
Martin v. Löwis [EMAIL PROTECTED] writes: [ Please CC replies to me - thankyou ] David N. Welton wrote: The problem is that despite using -nostdlib whilst compiling, I still get __cxa_atexit and __dso_handle defined in my .o files (yes, eCos utilizes C++ in places). I think the problem

Re: __cxa_atexit and __dso_handle

2003-07-06 Thread Martin v. Lwis
[EMAIL PROTECTED] (David N. Welton) writes: Since I don't have shared libraries, is it ok if I just define it, just so it's there? void* __dso_handle = (void*) __dso_handle; That should work, yes. BTW, can you also confirm that this is for C++ only? In GCC, it is for C++ only, yes.

__cxa_atexit and __dso_handle

2003-07-05 Thread David N. Welton
[ Please CC replies to me. ] Hi guys, I am developing a project with eCos from my i386 host, with the target system being a PC floppy (and therefore i386 as well). The problem is that despite using -nostdlib whilst compiling, I still get __cxa_atexit and __dso_handle defined in my .o files