Rajat Mahajan
2014-May-16 13:53 UTC
[LLVMdev] Code generation support in llvm for windows phone
Hi, Is there support available in llc to convert llvm bytecode to Windows Mobile binary? I have tried triples like arm-pc-win32 , thumbv7-window ... but the object file generated is not getting linked to the windows native project. Any pointers will be greatly appreciated? Thanks, ~rajat -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140516/a5469928/attachment.html>
David Blaikie
2014-May-16 15:24 UTC
[LLVMdev] Code generation support in llvm for windows phone
On Fri, May 16, 2014 at 6:53 AM, Rajat Mahajan <rmahajan at adobe.com> wrote:> Hi, > > > > Is there support available in llc to convert llvm bytecode to Windows Mobile > binary? > I have tried triples like arm-pc-win32 , thumbv7-window … but the object > file generated is not getting linked to the windows native project. > Any pointers will be greatly appreciated?No - to my knowledge no one has suggested or attempted any such project/support. - David
Reid Kleckner
2014-May-16 17:06 UTC
[LLVMdev] Code generation support in llvm for windows phone
I think Saleem has been working on this. It's in a pretty early stage, so far as I know. On Fri, May 16, 2014 at 8:24 AM, David Blaikie <dblaikie at gmail.com> wrote:> On Fri, May 16, 2014 at 6:53 AM, Rajat Mahajan <rmahajan at adobe.com> wrote: > > Hi, > > > > > > > > Is there support available in llc to convert llvm bytecode to Windows > Mobile > > binary? > > I have tried triples like arm-pc-win32 , thumbv7-window … but the object > > file generated is not getting linked to the windows native project. > > Any pointers will be greatly appreciated? > > No - to my knowledge no one has suggested or attempted any such > project/support. > > - David > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140516/f51fa977/attachment.html>
Saleem Abdulrasool
2014-May-16 17:53 UTC
[LLVMdev] Code generation support in llvm for windows phone
On May 16, 2014, at 6:53 AM, Rajat Mahajan <rmahajan at adobe.com> wrote:> Hi, > > Is there support available in llc to convert llvm bytecode to Windows Mobile binary? > I have tried triples like arm-pc-win32 , thumbv7-window … but the object file generated is not getting linked to the windows native project. > Any pointers will be greatly appreciated?As Reid mentioned, I have been working on this recently. Just to make sure that we are talking about the same environment, I assume that you are talking about Windows 8 (ARM NT) rather than the Windows CE based environment. Can you please explain what exactly you mean by “the object file generated is not getting linked to the windows native project”. The object file that we generate should be pretty compatible with MSVC. If you have specific cases where we are generating something that is incompatible, I would be quite interested in hearing about that.> Thanks, > ~rajat > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu https://urldefense.proofpoint.com/v1/url?u=http://llvm.cs.uiuc.edu/&k=ZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=CchYc4lrV44%2BZqxZADw0BQ%3D%3D%0A&m=4sS%2FRJsOxjeRZpxwDsr85CHzLMrTV5IeD%2Bf2OnxlCFY%3D%0A&s=64253b311de373a46904eada51eb8c9f732f8f65d14f0551223b2a7c769f135a > https://urldefense.proofpoint.com/v1/url?u=http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev&k=ZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=CchYc4lrV44%2BZqxZADw0BQ%3D%3D%0A&m=4sS%2FRJsOxjeRZpxwDsr85CHzLMrTV5IeD%2Bf2OnxlCFY%3D%0A&s=5c75919fb4cc3458c6e733d0d672d937dca015122c56ab7b826bc6b5ae74a594-- Saleem Abdulrasool abdulras (at) fb (dot) com
Rajat Mahajan
2014-May-28 12:18 UTC
[LLVMdev] Code generation support in llvm for windows phone
I am talking about Windows Mobile 8 and 8.1 and not CE. Not sure though that the Windows 8 (ARM NT) is similar to Windows Mobile 8 platform. I used the following command to generate the obj file Llc.exe -mtriple=thumbv7-windows -filetype=obj <some_name>.bc The object file generated in the above object doesn't get linked when I try to link it with the windows mobile library as it fails to recognize the object format. ( Not a valid object file ) Hope I am clear. ~rajat -----Original Message----- From: Saleem Abdulrasool [mailto:abdulras at fb.com] Sent: Friday, May 16, 2014 11:23 PM To: Rajat Mahajan Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] Code generation support in llvm for windows phone On May 16, 2014, at 6:53 AM, Rajat Mahajan <rmahajan at adobe.com> wrote:> Hi, > > Is there support available in llc to convert llvm bytecode to Windows Mobile binary? > I have tried triples like arm-pc-win32 , thumbv7-window ... but the object file generated is not getting linked to the windows native project. > Any pointers will be greatly appreciated?As Reid mentioned, I have been working on this recently. Just to make sure that we are talking about the same environment, I assume that you are talking about Windows 8 (ARM NT) rather than the Windows CE based environment. Can you please explain what exactly you mean by "the object file generated is not getting linked to the windows native project". The object file that we generate should be pretty compatible with MSVC. If you have specific cases where we are generating something that is incompatible, I would be quite interested in hearing about that.> Thanks, > ~rajat > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu https://urldefense.proofpoint.com/v1/url?u=http://llvm.cs.uiuc.edu/&k=ZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=CchYc4lrV44%2BZqxZADw0BQ%3D%3D%0A&m=4sS%2FRJsOxjeRZpxwDsr85CHzLMrTV5IeD%2Bf2OnxlCFY%3D%0A&s=64253b311de373a46904eada51eb8c9f732f8f65d14f0551223b2a7c769f135a > https://urldefense.proofpoint.com/v1/url?u=http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev&k=ZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=CchYc4lrV44%2BZqxZADw0BQ%3D%3D%0A&m=4sS%2FRJsOxjeRZpxwDsr85CHzLMrTV5IeD%2Bf2OnxlCFY%3D%0A&s=5c75919fb4cc3458c6e733d0d672d937dca015122c56ab7b826bc6b5ae74a594-- Saleem Abdulrasool abdulras (at) fb (dot) com