I had a little time on my hands this afternoon, so I stole the Clang/LLVM demo and modified it to allow compiling for several other targets: http://ellcc.org/demo I did notice one flaw in the LLVM demo, there doesn't seem to be a way to upload a file to compile, at least with Firefox. I modified the cgi script slightly to clear the $source variable if a upload file has been selected. -Rich
Hi Richard,> I had a little time on my hands this afternoon, so I stole the Clang/LLVM demo > and modified it to allow compiling for several other targets: > http://ellcc.org/demodoes it use the correct header files for the target etc? Ciao, Duncan.
On Monday, March 05, 2012 02:29:56 AM Duncan Sands wrote:> Hi Richard, > > > I had a little time on my hands this afternoon, so I stole the Clang/LLVM > > demo and modified it to allow compiling for several other targets: > > http://ellcc.org/demo > > does it use the correct header files for the target etc? > > Ciao, Duncan.Yes, it does. The header files are from my port of the NetBSD C library. I'm tempted to add an option to execute the result under QEMU, but I shudder to think about the security holes that would open. ;-) -Rich