I cross compile for ARM using LLVM. I actually have better success with LLVM than with CodeSourcery's gcc cross compiler. I've also used LLVM to compile for X86 and Sparc, run on M5, and it worked fine. LLVM is just a compiler. There's no reason it shouldn't work just as well as any other compiler, even with M5 now being gem5.
On Tue, May 17, 2011 at 11:37 PM, Korey Sewell <[email protected]> wrote: > I believe people have use llvm and arm and it has worked. But it doesnt > hurt to try it out right? Makes sure you compile your binary statically and > give it a go. If it doesnt work, I'm sure that others would want llvm > support in gem5 so you can post your problem to the mailing list and see > what the community says. > > Also, "gem5" is what I believe is the appropriate term (rather than ge/m5). > > > On Wed, May 18, 2011 at 12:27 AM, Tarek Chammah <[email protected]>wrote: > >> Hello, >> >> All of the postings on the home page mentioned using GE/M5 with GCC, >> as in compiling the simulator, as well as cross compiling programs for >> target architectures to run on the simulator. Though no mention is >> made of LLVM in this context. >> >> Is is not preferred to use LLVM or has it never been attempted before? >> If it is possible to use LLVM to cross compile programs, are there >> reported successful instances where this has occurred? >> >> Sincerely, >> >> Tarek Chammah >> _______________________________________________ >> gem5-users mailing list >> [email protected] >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> > > > > -- > - Korey > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
