This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
initialization priority workaround
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: [ECOS] initialization priority workaround
- From: James Robertson <James dot Robertson at eng dot sun dot com>
- Date: Thu, 17 Feb 2000 11:42:30 -0800 (PST)
- Reply-To: James Robertson <James dot Robertson at eng dot sun dot com>
Hi,
I'm building eCos using gcc 2.8.1. Yes, this gcc doesn't support the
initialization priority feature that eCos uses for constructor ordering.
Unfortunately, this is a custom modified gcc, and I'm not able to upgrade to
2.95 at this time. I've written a perl script to reorder the __CTOR_LIST__ by
hand, but I was wondering if there were any better workarounds. Did you have any
workaround before you put the constructor ordering in gcc?
James