digitalmars.D - Winelib: DFL -> Linux?
- dsimcha (4/4) Jul 10 2010 Just an idea that popped into my head: I love DFL's API, but I hate the...
- Andrei Alexandrescu (3/7) Jul 10 2010 I'm regularly unittesting Phobos on wine.
- Philippe Sigaud (5/6) Jul 11 2010 Now, _that_ may explain some Phobos unit tests :-)
- cemiller (5/15) Jul 11 2010 If you attempt to build a windows app with DMD on linux and link against...
- dsimcha (9/12) Jul 11 2010 Ok, well let's say you fixed all these nagging little issues. Where doe...
- Andrei Alexandrescu (4/21) Jul 11 2010 I think I inadvertently misled you there. I'm not writing Windows code
Just an idea that popped into my head: I love DFL's API, but I hate the fact that it only works on Windows. Would it be feasible, or even easy, to use Winelib to port DFL to Linux? Has anyone here succeeded in using Winelib to port a Windows app to Linux before?
Jul 10 2010
dsimcha wrote:Just an idea that popped into my head: I love DFL's API, but I hate the fact that it only works on Windows. Would it be feasible, or even easy, to use Winelib to port DFL to Linux? Has anyone here succeeded in using Winelib to port a Windows app to Linux before?I'm regularly unittesting Phobos on wine. Andrei
Jul 10 2010
On Sun, Jul 11, 2010 at 08:48, Andrei Alexandrescu < SeeWebsiteForEmail erdani.org> wrote:I'm regularly unittesting Phobos on wine.Now, _that_ may explain some Phobos unit tests :-) I prefer Belgian beer myself, when writing unittests, but to each its own. Philippe
Jul 11 2010
If you attempt to build a windows app with DMD on linux and link against winelib, the first thing you hit is std.c.windows.windows static assert(0); // Windows only On Sat, 10 Jul 2010 23:48:05 -0700, Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> wrote:dsimcha wrote:Just an idea that popped into my head: I love DFL's API, but I hate the fact that it only works on Windows. Would it be feasible, or even easy, to use Winelib to port DFL to Linux? Has anyone here succeeded in using Winelib to port a Windows app to Linux before?I'm regularly unittesting Phobos on wine. Andrei
Jul 11 2010
== Quote from cemiller (chris dprogramming.com)'s articleIf you attempt to build a windows app with DMD on linux and link against winelib, the first thing you hit is std.c.windows.windows static assert(0); // Windows onlyOk, well let's say you fixed all these nagging little issues. Where does this stand feasibility-wise? It's not something I'm going to actually try to do in the near future (I have too much on my plate), but I might do it eventually, or if someone else wants to do it, it'd be a great way to give D a cross-platform GUI lib with a nice API. I'm just trying to feel out how feasible this is, whether anyone is willing to make a serious attempt at it, and whether winelib is mature enough to be taken seriously for near-term practical use.
Jul 11 2010
I think I inadvertently misled you there. I'm not writing Windows code and link against libwine; I'm just running wine dmd.exe to build Phobos. Andrei On 07/11/2010 04:47 PM, cemiller wrote:If you attempt to build a windows app with DMD on linux and link against winelib, the first thing you hit is std.c.windows.windows static assert(0); // Windows only On Sat, 10 Jul 2010 23:48:05 -0700, Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> wrote:dsimcha wrote:Just an idea that popped into my head: I love DFL's API, but I hate the fact that it only works on Windows. Would it be feasible, or even easy, to use Winelib to port DFL to Linux? Has anyone here succeeded in using Winelib to port a Windows app to Linux before?I'm regularly unittesting Phobos on wine. Andrei
Jul 11 2010