www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D Cross Platform Status + OpenGL Status ?

reply Jakob Jenkov <jakob jenkov.com> writes:
Hi,

What is the status of cross compiling D to multiple platforms? I 
know it is possible, but how easy is it? How many issues do you 
have to mess with on different platforms?

What about ARM / Android support?

And what about OpenGL support? Is that easy? And does it work 
easily across platforms?
Jan 09 2016
next sibling parent Joakim <dlang joakim.fea.st> writes:
On Saturday, 9 January 2016 at 19:43:03 UTC, Jakob Jenkov wrote:
 Hi,

 What is the status of cross compiling D to multiple platforms? 
 I know it is possible, but how easy is it? How many issues do 
 you have to mess with on different platforms?

 What about ARM / Android support?

 And what about OpenGL support? Is that easy? And does it work 
 easily across platforms?
I can only speak to Android as I've been working on getting ldc on there, take a look at this release on github: https://github.com/joakim-noah/android/releases/tag/runners There are a few small issues with inlining and CTFE in a couple modules left, but most everything works. I'll have a new release out this week.
Jan 09 2016
prev sibling next sibling parent reply wobbles <grogan.colin gmail.com> writes:
On Saturday, 9 January 2016 at 19:43:03 UTC, Jakob Jenkov wrote:
 And what about OpenGL support? Is that easy? And does it work 
 easily across platforms?
http://code.dlang.org/packages/derelict-gl3 This is the OpenGL binary. Have used it on both Windows and Linux, I just got a window up and running on both, and it works well. Read more here on how to get it up and running: http://derelictorg.github.io/
Jan 09 2016
parent Rikki Cattermole <alphaglosined gmail.com> writes:
On 10/01/16 9:17 AM, wobbles wrote:
 On Saturday, 9 January 2016 at 19:43:03 UTC, Jakob Jenkov wrote:
 And what about OpenGL support? Is that easy? And does it work easily
 across platforms?
http://code.dlang.org/packages/derelict-gl3 This is the OpenGL binary. Have used it on both Windows and Linux, I just got a window up and running on both, and it works well. Read more here on how to get it up and running: http://derelictorg.github.io/
Yup, as long as you have a context it will work fine.
Jan 09 2016
prev sibling parent Adam D. Ruppe <destructionator gmail.com> writes:
On Saturday, 9 January 2016 at 19:43:03 UTC, Jakob Jenkov wrote:
 What is the status of cross compiling D to multiple platforms? 
 I know it is possible, but how easy is it? How many issues do 
 you have to mess with on different platforms?
The desktop ones are easy. ARM linux isn't to bad (use gdc or ldc). Android, iOS are in the works and have some support. idk about Windows Phone, but I plan to take a look soonish.
 And what about OpenGL support? Is that easy? And does it work 
 easily across platforms?
You can call opengl functions the same as C.
Jan 10 2016