This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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] |
Hi Im using g++ (PowerPC version
provided by Montavista - ppc_8xx-g++, ppc_8xx-ld,
--library stdc++) to generate code for a MPC860
target system. The target system
is running without OS and I upload the programs (srec
format) with a BOOT LOADER via RS232 port. The generated code
works fine when I do not utilize Dynamic allocation of objects. Static: (works fine) CBlink
MyBlink(500,500); MyBlink.BlinkNow(); Dynamic: (crashes) CBlink*
pMyBlink; pMyBlink = new CBlink(500,500); pMyBlink->BlinkNow(); Im
not sure why the target crashes... Maybe I have to implement some routines in
my target like malloc and etc... Anyone
tryed to do this? [ ]´s Evandro Luiz Hauenstein |
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |