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]

What happens during optimization


Hi,

I have run my system on a debug version of eCos but now i want to try some optimization. I removed all debug info (-gdwarf) and added the flag -O2.

When i link my application to the new eCos then i get some "undefined reference" regarding some thread functions like Cyg_Thread::self.

The above function are probably removed due to the optimization and i was wondering if there are any way of forcing it to be a part of the final library?

Regards, Daniel

--
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]