Anders F Björklund wrote:
Jacob Carlborg wrote:
The problem is if compile like this for example: "dmd -L-framework
Carbon main.d" dmd complains that it can't find Carbon.d. It seems
that it takes everything as a D source file if it doesn't recognize it
as a compiler switch.
Seems it needs the -L flag on each: dmd -L-framework -LCarbon main.d
Because -Xlinker is being used, "-Wl,-framework,Carbon" doesn't work.
--anders
It worked. Thanks. It's a little annoying that all three compilers have
to use different commands for this.