This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Cygwin Hosted arm-elf-gcc and virtual functions


Hi,

I used the absolute latest and greatest cygwin and the latest ecos
arm-elf-gcc to compile a simple C++ program into arm-elf, arm7tdmi,
interwork, no-rtti, no exceptions, and everything went almost alright.  My
program ran on target, but alas, the virtual functions (incl.destructors) do
not work.  As soon as a virtual function is called, the program crashed.

Anyone knows a reason why?   Did I forget a switch, a library of some sort?

Thanks,
Anh



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe at sources dot redhat dot com


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