This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

linking with __CTOR_LIST__


Hello all,

i am writing an application (linux) where i am trying to reference
__CTOR_LIST__ ?
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?
abby.

-- 
View this message in context: http://www.nabble.com/linking-with-__CTOR_LIST__-tf2253354.html#a6249809
Sent from the gcc - Help forum at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]