[LLVMdev] Fwd: wxGTK sample app compiled by llvm crashes on arm

Anton Korobeynikov anton at korobeynikov.info
Wed Dec 8 05:31:25 PST 2010


---------- Forwarded message ----------
From: Anton Korobeynikov <anton at korobeynikov.info>
Date: Wed, Dec 8, 2010 at 16:31
Subject: Re: [LLVMdev] wxGTK sample app compiled by llvm crashes on arm
To: ankur jain <samyak3 at gmail.com>


Hello,

> I still have a query. Using llvm-gcc as cross-arm compiler will generate
> bytecode specific to arm.
> These bytecodes will work only on arm based platforms.Is it so ??
Yes, as you already checked for x86 bytecode on ARM :)

> This would
> mean that we cannot have platform independent bytecodes as found in case of
> java. We would be grateful to you for any comment on this.
That's correct. C/C++ are not target neutral languages. You can read
http://llvm.org/docs/FAQ.html#platformindependent for some more info.

--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list