Thanx again ..<br>By the way I wanted to tell you that we have the same platform(linux) on host and target.<br><br><div class="gmail_quote">On Mon, Dec 6, 2010 at 1:42 PM, Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info">anton@korobeynikov.info</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">> memory. As  I mentioned earlier, If I explicitly allocate memory using new<br>

> operation then everything works fine. Please let me know why do we actually<br>
> fail without using new, that to a arbitrary pointer which is never used in<br>
> the program.<br>
</div>x86 and ARM have different ABIs, so you was just lucky. You can read<br>
e.g. <a href="http://llvm.org/docs/FAQ.html#platformindependent" target="_blank">http://llvm.org/docs/FAQ.html#platformindependent</a> for more<br>
information.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">With best regards, Anton Korobeynikov<br>
Faculty of Mathematics and Mechanics, Saint Petersburg State University<br>
</div></div></blockquote></div><br>