DMD Mac and linking with frameworks
Anders F Björklund
afb at algonet.se
Mon Mar 9 14:47:12 PDT 2009
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
More information about the Digitalmars-d
mailing list