[LLVMdev] Port succesful
Žiga Osolin
ziga.osolin at gimb.org
Sat Nov 4 11:50:31 PST 2006
I made the windows port, the first example compiled and executed correctly.
I am sending a patch so you can test it if i didn't break linux
compatibility.
Otherwise, I will look into deja-gnu testing, perhaps can compile it on
windows. I will
also add other beckend in the future (Sparc, PowerPC). I hope windows using
Visual C++ will be soon officially supported :)
About the problem I had with system and ltdl.c, it was resolved preaty
easily by defining
__WINDOWS__ globally in project. I also added a global macro for strtoll
because the
windows version is strtol (not strtoll). macro replaces strtoll with
strtol and it compiles.
I found really a lot of warnings in the project. Should I clean them?
GCC probably doesn't
throw them, so I don't know ... I don't even want to try to compile with
VS8 which is even better at warnings ...
Otherwise, I hope to use llvm (and of course also the port) for my
project, baadengine (www.baadengine.org). llvm would
serve as a script compiler (could be static or to bytecodes and JIT-ed
at execution). I have already made the compiler
(parsing, code extraction), all I need is to send it to LLVM to process
it for me. So you can soon expect a new
frontend for BSF scripts (Baadengine scripts format - java/C# like
language, used for this project).
Reegards,
Žiga Osolin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: llvm.patch
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20061104/aa5915d3/attachment.ksh>
More information about the llvm-dev
mailing list