This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

static class initilization order


Hi,
I am trying to use malloc function from malloc.cxx
file. Inside that file cyg_memalloc_mallocpool class
gets initilized and there is an initialization
condition on this class.

Is there any gcc any flag I need to set to keep the
proper initilization order.


Right now when ever I use malloc in my code, my
simulator just crashes, even though I am not making
the actual "malloc" call. I figured this is  something
to do  with my constructor.

Can someone please help.
        Mike

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]