linking with __CTOR_LIST__

Mon Sep 11 16:11:00 GMT 2006

Hello all,

i am writing an application (linux) where i am trying to reference
i get a error while linking... please help..

extern void (*__CTOR_LIST__[])(void);

trying to reference as follows..

__CTOR_LIST__[index] != NULL; index = 0, 1, 2... 

gcc try.c

/tmp/cc2rTvyB.o(.data+0x0): undefined reference to `__CTOR_LIST__'

any idea?

View this message in context:
Sent from the gcc - Help forum at

More information about the Gcc-help mailing list