Re: Release: GDC for Windows

2011-03-27 Thread Kagamin
Daniel Green Wrote: I was hoping to make some headway into the auto import warning. it would be nice to have all crt declarations qualified with `export`, this way they will be bound directly to __imp_ symbols, though, D provides no easy way to do this, only another version block.

Re: Release: GDC for Windows

2011-03-26 Thread Kagamin
writeln(hello world) compiles to 3MB exe which is approx 1/3 of libgphobos2. object file is just 3KB. It doesn't. The following sizes I think use shared libgcc. Might be a couple hundred more for a static build. A lot of the size is overhead. 856 hello.o 682,987 hello.exe 112,128

Re: Release: GDC for Windows

2011-03-26 Thread Daniel Green
On 3/26/2011 12:27 PM, Kagamin wrote: gdc -v2 test4.d -o test4.exe dir test4* 26.03.2011 19:1778 test4.d 26.03.2011 19:18 2Â 835Â 758 test4.exe 2 File(s) 2Â 835Â 836 bytes Apparently, I used core.std.stdio. When I retested using

Re: Release: GDC for Windows

2011-03-26 Thread Kagamin
Daniel Green Wrote: nm test4.exe | grep ModuleInfo lol, winsock, regex, regexp, random(?) Well, std.datetime and std.complex can be understandable: they can be used by writeln... with gdc -v2 test4.d -o test4.exe -s it's 454kb From the GCC manual. -s Remove all symbol table and

Re: Release: GDC for Windows

2011-03-26 Thread Kagamin
Daniel Green Wrote: Please post any issues at https://bitbucket.org/goshawk/gdc/issue/170 got it https://bitbucket.org/goshawk/gdc/issue/170/problems-relating-to-windows-binaries#comment-417100

Re: Release: GDC for Windows

2011-03-26 Thread Kagamin
Daniel Green Wrote: nm test4.exe | grep ModuleInfo as to std.random, in std.algorithm we have version(unittest) { import std.random, std.stdio, std.string; mixin(dummyRanges); } is phobos compiled with unittests enabled?

Re: Release: GDC for Windows

2011-03-26 Thread Daniel Green
On 3/26/2011 5:28 PM, Kagamin wrote: Daniel Green Wrote: Please post any issues at https://bitbucket.org/goshawk/gdc/issue/170 got it https://bitbucket.org/goshawk/gdc/issue/170/problems-relating-to-windows-binaries#comment-417100

Re: Release: GDC for Windows

2011-03-26 Thread Daniel Green
On 3/26/2011 6:09 PM, Kagamin wrote: Daniel Green Wrote: nm test4.exe | grep ModuleInfo as to std.random, in std.algorithm we have version(unittest) { import std.random, std.stdio, std.string; mixin(dummyRanges); } is phobos compiled with unittests enabled? I'm not sure.

Re: Release: GDC for Windows

2011-03-25 Thread Nick Sabalausky
Kagamin s...@here.lot wrote in message news:imha5f$2tke$1...@digitalmars.com... Daniel Green Wrote: On 3/24/2011 6:53 PM, Kagamin wrote: Is the AIX problem valid for windows too? What is the AIX problem? https://bitbucket.org/goshawk/gdc/wiki/UserDocumentation#!known-issues

Re: Release: GDC for Windows

2011-03-25 Thread Kagamin
Andrej Mitrovic Wrote: for /F %%G in ('dir /B /S *.exe;*.a;*.so') do strip --strip-unneeded %%G Now libgphobos2 will be 3.5 megs in size, and a test project with a writeln() will compile to 966Kb. Forgot about that, thanks.

Re: Release: GDC for Windows

2011-03-25 Thread Daniel Green
On 3/25/11, Kagamins...@here.lot wrote: Daniel Green Wrote: On 3/24/2011 6:53 PM, Kagamin wrote: Is the AIX problem valid for windows too? What is the AIX problem? https://bitbucket.org/goshawk/gdc/wiki/UserDocumentation#!known-issues writeln(hello world) compiles to 3MB exe which is

Re: Release: GDC for Windows

2011-03-25 Thread Andrej Mitrovic
Apparently there is a way to strip the debuggin info and put it in another file, and then link the executable to the debug file so GDB can automatically load it. But this doesn't seem to work for me: gdc -g foo.d -o foo.exe objcopy --only-keep-debug foo.exe foo.debug strip -g foo.exe objcopy

Re: Release: GDC for Windows

2011-03-24 Thread Kagamin
Daniel Green Wrote: D2 has been released for testing. Now in a zip file. https://bitbucket.org/goshawk/gdc/downloads gcc-4.5.1-tdm-1-gdc-r499-20110322.zip From here on out, D1 and D2 will be combined into a single release. Since D1 appears more stable it is the default. Use -v2 to

Re: Release: GDC for Windows

2011-03-24 Thread Kagamin
Daniel Green Wrote: D2 has been released for testing. Now in a zip file. https://bitbucket.org/goshawk/gdc/downloads gcc-4.5.1-tdm-1-gdc-r499-20110322.zip From here on out, D1 and D2 will be combined into a single release. Since D1 appears more stable it is the default. Use -v2 to

Re: Release: GDC for Windows

2011-03-24 Thread Daniel Green
On 3/24/2011 6:53 PM, Kagamin wrote: Is the AIX problem valid for windows too? What is the AIX problem?

Re: Release: GDC for Windows

2011-03-24 Thread Kagamin
Daniel Green Wrote: On 3/24/2011 6:53 PM, Kagamin wrote: Is the AIX problem valid for windows too? What is the AIX problem? https://bitbucket.org/goshawk/gdc/wiki/UserDocumentation#!known-issues writeln(hello world) compiles to 3MB exe which is approx 1/3 of libgphobos2. object file is just

Re: Release: GDC for Windows

2011-03-23 Thread Jérôme M. Berger
dsimcha wrote: On 3/22/2011 8:22 PM, Daniel Green wrote: D2 has been released for testing. Now in a zip file. https://bitbucket.org/goshawk/gdc/downloads gcc-4.5.1-tdm-1-gdc-r499-20110322.zip From here on out, D1 and D2 will be combined into a single release. Since D1 appears more stable

Re: Release: GDC for Windows

2011-03-23 Thread dsimcha
On 3/23/2011 3:46 PM, Jérôme M. Berger wrote: dsimcha wrote: On 3/22/2011 8:22 PM, Daniel Green wrote: D2 has been released for testing. Now in a zip file. https://bitbucket.org/goshawk/gdc/downloads gcc-4.5.1-tdm-1-gdc-r499-20110322.zip From here on out, D1 and D2 will be combined into a

Re: Release: GDC for Windows

2011-03-23 Thread Daniel Green
On 3/23/2011 7:15 PM, dsimcha wrote: Ok, did that and moved the GDC binaries into the bin/ directory of this installation. Now, I get: gdc.exe: CreateProcess: No such file or directory Did you move any of the files in libexec? You may want to extract the zip file to your TDM installation.

Re: Release: GDC for Windows

2011-03-23 Thread Andrej Mitrovic
I think you need to add GDC's /bin to path.

Re: Release: GDC for Windows

2011-03-22 Thread dsimcha
Excellent! Now that you've apparently got a build process working, are you going to make new builds frequently (nightly/weekly/etc.) until GDC has a stable release? On 3/21/2011 11:26 PM, Daniel Green wrote: GDC D1 binaries are now available for Windows. The binaries are packaged as an addon

Re: Release: GDC for Windows

2011-03-22 Thread SiegeLord
Does it work with Tango or will that need to be patched? -SiegeLord

Re: Release: GDC for Windows

2011-03-22 Thread Daniel Green
On 3/22/2011 12:50 AM, Caligo wrote: Is Iain Buclaw really the only one who is contributing to GDC source? That's the impression I got too. I've recently joined to keep Windows supported and to learn more about GCC/GDC. On 3/22/2011 8:53 AM, dsimcha wrote: Excellent! Now that you've

Re: Release: GDC for Windows

2011-03-22 Thread Daniel Green
D2 has been released for testing. Now in a zip file. https://bitbucket.org/goshawk/gdc/downloads gcc-4.5.1-tdm-1-gdc-r499-20110322.zip From here on out, D1 and D2 will be combined into a single release. Since D1 appears more stable it is the default. Use -v2 to access D2. gdc dummy.d #

Re: Release: GDC for Windows

2011-03-22 Thread dsimcha
On 3/22/2011 8:22 PM, Daniel Green wrote: D2 has been released for testing. Now in a zip file. https://bitbucket.org/goshawk/gdc/downloads gcc-4.5.1-tdm-1-gdc-r499-20110322.zip From here on out, D1 and D2 will be combined into a single release. Since D1 appears more stable it is the default.

Re: Release: GDC for Windows

2011-03-21 Thread Andrej Mitrovic
Woho!

Re: Release: GDC for Windows

2011-03-21 Thread Caligo
On Mon, Mar 21, 2011 at 10:26 PM, Daniel Green ven...@gmail.com wrote: GDC D1 binaries are now available for Windows.  The binaries are packaged as an addon for TDM-GCC 4.5.1. D2 will follow in the next couple of days.  Both versions are being compiled to coexist.  So a single installation