digitalmars.D.learn - Windows *.exe
- johnny (2/2) Apr 23 2007 Hello,
- Daniel Keep (14/17) Apr 23 2007 Yes. As long as your program has a main function, DMD will spit out an
- david (2/14) Apr 23 2007 Daniel, you know the martians - you can never be sure...
- david (6/9) Apr 23 2007 short answer: yes
- johnny (3/15) Apr 23 2007 ah, ok thank you. I was only trying D under Linux, ... stupid question s...
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (4/8) Apr 23 2007 You can compile Windows programs in Linux, by using the MinGW compiler.
Hello, is there a way to compile *.exe files for windows with d?
Apr 23 2007
johnny wrote:Hello, is there a way to compile *.exe files for windows with d?Yes. As long as your program has a main function, DMD will spit out an executable. Out of curiosity, what did you think it output? :) -- Daniel -- int getRandomNumber() { return 4; // chosen by fair dice roll. // guaranteed to be random. } http://xkcd.com/ v2sw5+8Yhw5ln4+5pr6OFPma8u6+7Lw4Tm6+7l6+7D i28a2Xs3MSr2e4/6+7t4TNSMb6HTOp5en5g6RAHCP http://hackerkey.com/
Apr 23 2007
Daniel Keep schrieb:johnny wrote:Daniel, you know the martians - you can never be sure...Hello, is there a way to compile *.exe files for windows with d?Yes. As long as your program has a main function, DMD will spit out an executable. Out of curiosity, what did you think it output? :) -- Daniel
Apr 23 2007
johnny schrieb:Hello, is there a way to compile *.exe files for windows with d?short answer: yes long answer: Download the official compiler package from digitalmars.com (or gdc), write your program and compile it with dmd mysource.d - that will get you an exe. david
Apr 23 2007
david Wrote:johnny schrieb:ah ok thank you. I was only trying D under Linux... thats it with the stupid questionsHello, is there a way to compile *.exe files for windows with d?short answer: yes long answer: Download the official compiler package from digitalmars.com (or gdc), write your program and compile it with dmd mysource.d- that will get you an exe. davidah, ok thank you. I was only trying D under Linux, ... stupid question sure.
Apr 23 2007
johnny wrote:You can compile Windows programs in Linux, by using the MinGW compiler. Some older precompiled packages are at http://gdcwin.sourceforge.net/ --anderslong answer: Download the official compiler package from digitalmars.com (or gdc), write your program and compile it with dmd mysource.dah, ok thank you. I was only trying D under Linux, ... stupid question sure.
Apr 23 2007