digitalmars.D - Winelib: DFL -> Linux?
- dsimcha <dsimcha yahoo.com> Jul 10 2010
- Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> Jul 10 2010
- cemiller <chris dprogramming.com> Jul 11 2010
- dsimcha <dsimcha yahoo.com> Jul 11 2010
- Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> Jul 11 2010
- Philippe Sigaud <philippe.sigaud gmail.com> Jul 11 2010
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
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 only
Ok, 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
--0015175cfd88bb2ce6048b1bd6e9 Content-Type: text/plain; charset=ISO-8859-1 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 --0015175cfd88bb2ce6048b1bd6e9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <br><br><div class=3D"gmail_quote">On Sun, Jul 11, 2010 at 08:48, Andrei Al= exandrescu <span dir=3D"ltr"><<a href=3D"mailto:SeeWebsiteForEmail erdan= i.org">SeeWebsiteForEmail erdani.org</a>></span> wrote:<br><blockquote c= lass=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px s= olid rgb(204, 204, 204); padding-left: 1ex;"> <div><div></div><div class=3D"h5"><br></div></div> I'm regularly unittesting Phobos on wine.<font color=3D"#888888"></font=</blockquote><div><br>Now, _that_ may explain some Phobos unit tests :-)<b=
.<br> <br><br>Philippe<br>=A0<br></div></div> --0015175cfd88bb2ce6048b1bd6e9--
Jul 11 2010









dsimcha <dsimcha yahoo.com> 