gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building GNUstep for Windows using Clang


From: Frederik Seiffert
Subject: Re: Building GNUstep for Windows using Clang
Date: Fri, 22 Jan 2021 22:06:36 +0100

Hi David,

Am 21.01.2021 um 15:00 schrieb David Chisnall <gnustep@theravensnest.org>:

It looks as if you are missing the dllimport attribute on the classes that you're referencing from another DLL.

Thanks so much, that was indeed it! My little DLL test setup is working now. I thought I had tried that before, but apparently not (correctly). This also removes the need for a module definition file. I’ll annotate all the classes in GNUstep with something like "GS_EXPORT_CLASS".

I did a first build of the GNUstep Base DLL with a couple classes annotated like this, but just got various crashes trying to use it in a test program so far. I’ll dig into those further next week.

Meanwhile on the MinGW side I’m also still working on creating steps for you to build Clang with the MinGW patches and will let you know when I have those ready.

Thanks again and have a good weekend.

Frederik


reply via email to

[Prev in Thread] Current Thread [Next in Thread]