[ECOS] Default init_priority for C++ c'tors ??
jyl087@netscape.net
jyl087@netscape.net
Fri Sep 27 15:31:00 GMT 2002
I'm having some trouble with static C++ constructors. It seems that
without the __attribute__((init_priority (xxx)) modifier, my
C++ globals don't get initialized.
I tried setting CYGSEM_LIBC_INVOKE_DEFAULT_STATIC_CONSTRUCTORS
in my ecos.ecc file to "1", but that didn't seem to help.
According to the eCos documentation, C++ globals without the
init_priority attribute get initialized last. In my case, they're
never initialized.
Any ideas on what I'm doing wrong?
Thanks,
/Jim
__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list