Re: Building GtkD app on Win32 results in 111 MiB file mostly from zeroes (compressed size - 324 KiB)

2011-08-04 Thread Denis Shelomovskij
04.08.2011 17:57, Trass3r пишет: dmd -oftestGtkD.exe -release -IgtkD-1.4.1-release\headers main.d gtkD-1.4.1-release\library.lib Gives the same result. Ok, could you try with Unilink to see if it's a linker problem? ftp://ftp.styx.cabel.net/pub/UniLink/ http://www.digitalmars.com/d/archives/di

Re: Building GtkD app on Win32 results in 111 MiB file mostly from zeroes (compressed size - 324 KiB)

2011-08-04 Thread Trass3r
dmd -oftestGtkD.exe -release -IgtkD-1.4.1-release\headers main.d gtkD-1.4.1-release\library.lib Gives the same result. Ok, could you try with Unilink to see if it's a linker problem? ftp://ftp.styx.cabel.net/pub/UniLink/ http://www.digitalmars.com/d/archives/digitalmars/D/learn/Need_OMF_MySQL

Re: Building GtkD app on Win32 results in 111 MiB file mostly from zeroes (compressed size - 324 KiB)

2011-08-04 Thread Denis Shelomovskij
04.08.2011 15:33, Trass3r пишет: doCompile.bat: dmd -c -release -IgtkD-1.4.1-release\headers main.d doLink.bat: link main,"testGtkD.exe",,"gtkD-1.4.1-release\library.lib"+user32+kernel32/noi; Don't invoke optlink directly like that. Just use something like 'dmd -release main.obj gtkD-1.4.1-re

Re: Building GtkD app on Win32 results in 111 MiB file mostly from zeroes (compressed size - 324 KiB)

2011-08-04 Thread Trass3r
doCompile.bat: dmd -c -release -IgtkD-1.4.1-release\headers main.d doLink.bat: link main,"testGtkD.exe",,"gtkD-1.4.1-release\library.lib"+user32+kernel32/noi; Don't invoke optlink directly like that. Just use something like 'dmd -release main.obj gtkD-1.4.1-release\library.lib -oftestGtkD'

Re: Building GtkD app on Win32 results in 111 MiB file mostly from zeroes (compressed size - 324 KiB)

2011-08-04 Thread Denis Shelomovskij
I use dmd with default configuration. Files from huge-build.zip: zeroCount.exe: counts zero bytes main.d: module main; import gtk.Main; void main(string[] args) { Main.init(args); } doCompile.bat: dmd -c -release -IgtkD-1.4.1-release\headers main.d doLink.bat: link main,"testGtkD.exe",,"

Re: Building GtkD app on Win32 results in 111 MiB file mostly from zeroes (compressed size - 324 KiB)

2011-08-04 Thread Marco Leise
Am 04.08.2011, 11:07 Uhr, schrieb Denis Shelomovskij : AFAIK GtkD is the only mature crossplatform GUI for D. So the question is: 111 MiB *.exe file mostly from zeroes is good/acceptable? Is it a bug or it's how dmd2+OPTLINK works? It looks like dmd1 hasn't this issue. Files (dmd 2.054 co

Building GtkD app on Win32 results in 111 MiB file mostly from zeroes (compressed size - 324 KiB)

2011-08-04 Thread Denis Shelomovskij
AFAIK GtkD is the only mature crossplatform GUI for D. So the question is: 111 MiB *.exe file mostly from zeroes is good/acceptable? Is it a bug or it's how dmd2+OPTLINK works? It looks like dmd1 hasn't this issue. Files (dmd 2.054 compiled) are here: http://deoma-cmd.ru/files/other/huge-build.

Re: Building gtkD

2011-07-21 Thread Trass3r
It was mainly a comment on what happened to me when I read the instructions. It really shouldn't be necessary to edit those version()'s. They are still in the svn version and I compiled with vanilla 2.054 and it worked fine. So I guess it is caused by your dmd package somehow. Give me a br

Re: Building gtkD

2011-07-21 Thread Steve Teale
It was mainly a comment on what happened to me when I read the instructions. I know from archive discussions that others have had similar problems. Give me a break - I was trying to help!

Re: Building gtkD

2011-07-21 Thread Trass3r
I really don't know what you're doing. Running 'make -f GNUmakefile -j' works flawlessly with dmd 2.054 and svn gtkD.

Re: Building gtkD

2011-07-21 Thread Trass3r
Too bad the makefile is for linux and I have to stick with dsss which is practically abondoned. See the similar thread in D.learn on how to compile your program with rdmd. I still don't get why dmd -lib -O -release -inline -I.. -I../../srcgl -I../../srcsv -I../../srcgda gtkD.d completely fails

Re: Building gtkD

2011-07-21 Thread maarten van damme
Great, I'm going to try it on linux mint. Too bad the makefile is for linux and I have to stick with dsss which is practically abondoned. I still don't get why dmd -lib -O -release -inline -I.. -I../../srcgl -I../../srcsv -I../../srcgda gtkD.d completely fails, it spits out a 34 kb executable

Building gtkD

2011-07-20 Thread Steve Teale
If there are still people out there who are struggling with this, I have just gone through the process on Ubuntu, and made some notes as a result. They can be found at http://britseyeview.com/software (most recent post).