[LLVMdev] llvm 32bit with 64bit output?
Krzysztof Parzyszek
kparzysz at codeaurora.org
Thu Dec 20 17:48:37 PST 2012
On 12/20/2012 7:18 PM, Flexicat01 wrote:
> At the moment i have set up cygwin using its llvm package to learn with and,
> as i prefer developing in that unix style environment and using the command
> line i will stick with that for a bit. Since you say a 32bit llvm can
> generate 64bit binaries i also assume that they shouldnt require the cygwin
> runtime (cygwin1.dll) but if it does i could at that point switch to mingw
> with cygwin hopefully or if all else fails msvc.
LLVM will only generate object files. You will need to link them to get
the final executable. This will determine whether (and if) you need any
special DLLs. If your language allows the programmer to call functions
provided by the OS, or some emulation of Unix's libc, then you will need
to have some sort of a runtime library. In the simplest scenario, the
runtime will simply be the standard Windows DLLs (kernel32.dll, etc.).
-Krzysztof
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the llvm-dev
mailing list