How to build a set of toolchains for cross-compiling for LDC?

Majestio via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Thu May 12 12:59:15 PDT 2016


On Thursday, 12 May 2016 at 16:51:54 UTC, Majestio wrote:
> 
> # set(CMAKE_SYSTEM_NAME Linux)
> # set(CMAKE_C_COMPILER aarch64-pc-linux-gnu-gcc)
> # set(CMAKE_CXX_COMPILER aarch64-pc-linux-gnu-c++)
> #

misspelled, it was written:

set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_C_COMPILER x86_64-w64-mingw32.static-gcc)
set(CMAKE_CXX_COMPILER x86_64-w64-mingw32.static-g++)



More information about the digitalmars-d-ldc mailing list