This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: ARM EABI port / static constructor priority removal
> So back to my original question, what is your concept for replacing
> them with something else. How are you going to ensure things happen in
> the right order.
One possibility is to put them all in one translation unit. They are
constructed in the order that they appear, although that's kind of a big
kludge.
Another is to add explicit initialization calls to the various bits to invoke
the constructors at runtime.
--Chris
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss