How to build a set of toolchains for cross-compiling for LDC?
Kai Nacke via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Mon May 16 22:54:02 PDT 2016
On Thursday, 12 May 2016 at 19:59:15 UTC, Majestio wrote:
> 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++)
Hi Majestio!
The MinGW target is currently broken. Therefore you get the
compile errors in Phobos/druntime (the missing FILE type etc.)
Regards,
Kai
More information about the digitalmars-d-ldc
mailing list