This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
linking with __CTOR_LIST__
- From: Abby <abs621 at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 11 Sep 2006 09:10:58 -0700 (PDT)
- Subject: 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.