davidw@dedasys.com (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. However, it is a general ABI feature, so application code may want to use this directly as well. Regards, Martin