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
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
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
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'
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",,"
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
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.
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
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!
I really don't know what you're doing.
Running 'make -f GNUmakefile -j' works flawlessly with dmd 2.054 and svn
gtkD.
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
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
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).
13 matches
Mail list logo