linking with __CTOR_LIST__

Grigory Zagorodnev grigory_zagorodnev@linux.intel.com
Tue Sep 12 05:53:00 GMT 2006


Abby wrote:
> i am writing an application (linux) where i am trying to reference
> __CTOR_LIST__ ?
> /tmp/cc2rTvyB.o(.data+0x0): undefined reference to `__CTOR_LIST__'
> 
> any idea?
> abby.

__CTOR_LIST__ is a local symbol, it can't be referenced from outside 
crtbegin*.o startup object file.

- Grigory



More information about the Gcc-help mailing list