www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - why "dwt-linux" instead of "dwt-gtk" ?

reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Is there anything specific to Linux in that
DWT variant, or would it work on other Unix ?

For instance FreeBSD and Mac OS X have support
for running GTK+ on either X11 or even Aqua...

--anders
Feb 21 2008
parent reply Frank Benoit <keinfarbton googlemail.com> writes:
Anders F Björklund schrieb:
 
 Is there anything specific to Linux in that
 DWT variant, or would it work on other Unix ?
 
 For instance FreeBSD and Mac OS X have support
 for running GTK+ on either X11 or even Aqua...
 
 --anders
SWT has these variants: 1.) win32-win32-x86 => dwt-win 2.) wpf-win32-x86 3.) win32-wce_ppc-arm-j2se 4.) win32-wce_ppc-arm-j2me 5.) gtk-linux-x86 => dwt-linux 6.) gtk-linux-x86_64 7.) gtk-linux-ppc 8.) motif-linux-x86 9.) gtk-solaris-sparc 10.) motif-solaris-sparc 11.) photon-qnx-x86 12.) motif-aix-ppc 13.) carbon-macosx So, the project names could have been choosen more precisely like dwt-win32-win32-x86 and dwt-linux-gtk-x86. But I found this a bit too explicit. Perhaps, if we decide to also do a WPF or 64 bit port, we have to rethink the project names. If you could use the dwt-linux for anything different from Linux, i don't know.
Feb 21 2008
parent =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Frank Benoit wrote:

 Is there anything specific to Linux in that
 DWT variant, or would it work on other Unix ?

 For instance FreeBSD and Mac OS X have support
 for running GTK+ on either X11 or even Aqua...
SWT has these variants: 1.) win32-win32-x86 => dwt-win 2.) wpf-win32-x86 3.) win32-wce_ppc-arm-j2se 4.) win32-wce_ppc-arm-j2me 5.) gtk-linux-x86 => dwt-linux 6.) gtk-linux-x86_64 7.) gtk-linux-ppc 8.) motif-linux-x86 9.) gtk-solaris-sparc 10.) motif-solaris-sparc 11.) photon-qnx-x86 12.) motif-aix-ppc 13.) carbon-macosx So, the project names could have been choosen more precisely like dwt-win32-win32-x86 and dwt-linux-gtk-x86. But I found this a bit too explicit. Perhaps, if we decide to also do a WPF or 64 bit port, we have to rethink the project names. If you could use the dwt-linux for anything different from Linux, i don't know.
I see, just my ignorance about available SWT versions then. :-) And if you do decide to support 64-bit, that could probably fit within the existing projects (even if needing different binaries) While FreeBSD can run the Linux binaries, it doesn't help the Mac. Then again the GTK+ port does look a bit "alien" on it anyway... --anders
Feb 21 2008