I Did It! Calling D Library from Objective C in XCode on OSX

pizza_dox_9999 hanzmeier70 at web.de
Fri Jan 5 22:02:44 UTC 2024


On Friday, 5 January 2024 at 05:22:54 UTC, Mike Shah wrote:
> On Thursday, 4 January 2024 at 14:17:01 UTC, pizza_dox_9999 
> wrote:
>> On Monday, 14 December 2015 at 10:09:29 UTC, Mike McKee wrote:
>>> I finally managed to get it working, using some help from 
>>> this forum and stackoverflow.com, and a little bit of random 
>>> luck with tests.
>>>
>>> [...]
>>
>> Hello dlang forum,
>>
>> I tried to replicate the shown, but I failed at the dmd 
>> compile stage. The dmd compiler for windows only puts out .obj 
>> files and no .o files. Is there another flag to set that makes 
>> the dmd compiler behave differently? Or is there another way 
>> to produce .o files from dlang source code?
>>
>> Best regards pizza_dox_9999
>
> I haven't tried, but ldc2 may also be an option if dmd does not 
> support this functionality.

Thank you for the response. But it was a silly mistake on my 
side. On debian all compilers produce .o files. I think it was 
the thing that I used them on Windows.
Best regards pizza_dox_9999


More information about the Digitalmars-d-learn mailing list