linking with __CTOR_LIST__

Abby abs621@yahoo.com
Mon Sep 11 16:11:00 GMT 2006


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.



More information about the Gcc-help mailing list