[cfe-dev] Trying again - building 64bit code on Windows
Edward Diener via cfe-dev
cfe-dev at lists.llvm.org
Mon Aug 24 15:57:18 PDT 2015
On 8/24/2015 6:27 PM, Hans Wennborg via cfe-dev wrote:
> On Mon, Aug 24, 2015 at 2:36 PM, Edward Diener via cfe-dev
> <cfe-dev at lists.llvm.org> wrote:
>> Is clang built form the latest svn source capable of creating 64-bit code on
>> a Microsoft Windows 64-bit OS ?
>
> Yes. We build 64-bit Chromium on Windows with Clang continuously.
I am building for a mingw-64/gcc target. Do I need to build using a
64-bit version of mingw-64/gcc in order to have clang be able to create
64-bit code ?
>
>> If yes, is this done through the -m64 option
>> or do I have to build clang from source in some particular way to enable the
>> functionality ?
>
> Yes, using clang-cl -m64 is how we do it.
Does this work as:
clang -m64 when targeting mingw(-64)/gcc ?
More information about the cfe-dev
mailing list