Commandline compatibility with Clang?
Kai Nacke via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Sat Oct 24 14:47:29 PDT 2015
On Friday, 23 October 2015 at 08:37:38 UTC, Kagamin wrote:
> On Thursday, 22 October 2015 at 19:16:00 UTC, Kai Nacke wrote:
>> There are 2 reasons for the naming of command line options.
>> First, ldc predates Clang. Second, ldc links against LLVM and
>> inherits all the command line options which are also not
>> compatible with Clang.
>
> How is that? AFAIK all llvm tools use gcc-like -o option.
You not only want the -o option but also all of the -f/-m
options. The LLVM libraries do not use -f/-m options.
Regards,
Kai
More information about the digitalmars-d-ldc
mailing list