digitalmars.D.dwt - What's the status on Linux/amd64 ?
- Marco Leise (4/4) Feb 27 2013 Has anyone used it successfully there? I'd like to try it
- Jacob Carlborg (9/11) Feb 27 2013 I doesn't compile. There are two problems (at least) here:
- Marco Leise (13/25) Feb 28 2013 Figured that out!
- Jacob Carlborg (7/13) Feb 28 2013 Yes, Gtk. There's probably other native libraries used as well. These
- Marco Leise (8/18) Mar 01 2013 That list is missing gnomevfs. And some of the others I think
- Jacob Carlborg (5/9) Mar 02 2013 How?
- Calin Grosan (10/21) May 29 2013 I want to build dwt on linux x86_64 and I want you input before I
- Jacob Carlborg (5/11) May 29 2013 No reason for the second cast. Just do this:
Has anyone used it successfully there? I'd like to try it since it has no dependencies. -- Marco
Feb 27 2013
On 2013-02-28 05:43, Marco Leise wrote:Has anyone used it successfully there? I'd like to try it since it has no dependencies.I doesn't compile. There are two problems (at least) here: * Using "int" when "size_t" should have been used and similar type issues * Using the native API I have no idea if the same native API can be used both for 32 and 64bit. Any help would be appreciated if you want to port it to 64bit. BTW, it's perfectly possible to use 32bit executables on 64bit. -- /Jacob Carlborg
Feb 27 2013
Am Thu, 28 Feb 2013 08:28:23 +0100 schrieb Jacob Carlborg <doob me.com>:On 2013-02-28 05:43, Marco Leise wrote:Figured that out!Has anyone used it successfully there? I'd like to try it since it has no dependencies.I doesn't compile. There are two problems (at least) here: * Using "int" when "size_t" should have been used and similar type issues* Using the native API I have no idea if the same native API can be used both for 32 and 64bit.On Linux... what's the native API for a windowing toolkit? If you refer to Gtk, I think it will just work.Any help would be appreciated if you want to port it to 64bit.Sorry, suddenly Gtk dependencies on Windows started to look not so bad. :p Really I would have ported it if it wasn't for GtkD.BTW, it's perfectly possible to use 32bit executables on 64bit.That's right and I tried that, but I don't have a 32-bit version of libgnomeui installed. These .so files often come in larger 32-bit compatibility package bundles. Looks like it wasn't important enough to make it in. -- Marco
Feb 28 2013
On 2013-02-28 17:18, Marco Leise wrote:On Linux... what's the native API for a windowing toolkit? If you refer to Gtk, I think it will just work.Yes, Gtk. There's probably other native libraries used as well. These are needed by DWT Linux: http://dsource.org/projects/dwt/wiki/ImportLibrariesThat's right and I tried that, but I don't have a 32-bit version of libgnomeui installed. These .so files often come in larger 32-bit compatibility package bundles. Looks like it wasn't important enough to make it in.I see, which distribution are you using. -- /Jacob Carlborg
Feb 28 2013
Am Thu, 28 Feb 2013 22:24:36 +0100 schrieb Jacob Carlborg <doob me.com>:Yes, Gtk. There's probably other native libraries used as well. These are needed by DWT Linux: http://dsource.org/projects/dwt/wiki/ImportLibrariesThat list is missing gnomevfs. And some of the others I think are pulled in by Gtk already or not strictly needed. But I'm not sure.You can see that I use Gentoo ? -- MarcoThat's right and I tried that, but I don't have a 32-bit version of libgnomeui installed. These .so files often come in larger 32-bit compatibility package bundles. Looks like it wasn't important enough to make it in.I see, which distribution are you using.
Mar 01 2013
On 2013-03-01 21:04, Marco Leise wrote:That list is missing gnomevfs. And some of the others I think are pulled in by Gtk already or not strictly needed. But I'm not sure.Ok, good to know. I guess I'll have to verify that list someday.You can see that I use Gentoo ?How? -- /Jacob Carlborg
Mar 02 2013
On Thursday, 28 February 2013 at 07:28:24 UTC, Jacob Carlborg wrote:On 2013-02-28 05:43, Marco Leise wrote:I want to build dwt on linux x86_64 and I want you input before I cast my way to hell. Is it ok if, for example, I use double cast as in : java\nonstandard\UtfBase.d(193): Error: cannot cast from ulong to UTF8index UTF8index endIndex(in char[] s) { return cast(UTF8index) cast(int)s.length; }Has anyone used it successfully there? I'd like to try it since it has no dependencies.I doesn't compile. There are two problems (at least) here: * Using "int" when "size_t" should have been used and similar type issues * Using the native API I have no idea if the same native API can be used both for 32 and 64bit. Any help would be appreciated if you want to port it to 64bit. BTW, it's perfectly possible to use 32bit executables on 64bit.
May 29 2013
On 2013-05-29 14:42, Calin Grosan wrote:I want to build dwt on linux x86_64 and I want you input before I cast my way to hell. Is it ok if, for example, I use double cast as in : java\nonstandard\UtfBase.d(193): Error: cannot cast from ulong to UTF8index UTF8index endIndex(in char[] s) { return cast(UTF8index) cast(int)s.length; }No reason for the second cast. Just do this: return UTF8index(cast(int) s.length); -- /Jacob Carlborg
May 29 2013