August 18, 2005 Re: DWT windows version 0.3 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Shawn Liu | DWT Windows version 0.3 update: Some bugs fixed. 1) Canvas refresh problem. Thanks to zwang! 2) Removed the ripples in the CTabFolder in "DummyEclipse" example. The source location moved into a "win32" subfolder since we may have Linux version port in the future. http://svn.dsource.org/projects/dwt/downloads/win32/dwt-win32.rar binary examples and screenshot http://svn.dsource.org/projects/dwt/downloads/win32/examples/ Forum on DSource http://www.dsource.org/forums/viewforum.php?f=1 Any comments and bug report are welcome. - Shawn Liu |
August 18, 2005 Re: DWT windows version 0.3 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Shawn Liu | Shawn Liu wrote:
> DWT Windows version 0.3 update:
> Some bugs fixed.
> 1) Canvas refresh problem. Thanks to zwang!
> 2) Removed the ripples in the CTabFolder in "DummyEclipse" example.
>
> The source location moved into a "win32" subfolder since we may have Linux version port in the future.
> http://svn.dsource.org/projects/dwt/downloads/win32/dwt-win32.rar
>
> binary examples and screenshot
> http://svn.dsource.org/projects/dwt/downloads/win32/examples/
>
> Forum on DSource
> http://www.dsource.org/forums/viewforum.php?f=1
>
> Any comments and bug report are welcome.
>
> - Shawn Liu
>
>
Also, any D programmers interested in improving the project, and generally helping out in any way, are very welcome.
We're looking at starting the linux-GTK port shortly. It will be exciting to see DWT become trully cross-platform.
Report in on dsource DWT forum if you are interested. :-)
-JJR
|
August 19, 2005 Executable size (was: Re: DWT windows version 0.3) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Shawn Liu | Shawn Liu wrote: > DWT Windows version 0.3 update: > Some bugs fixed. > 1) Canvas refresh problem. Thanks to zwang! > 2) Removed the ripples in the CTabFolder in "DummyEclipse" example. > > The source location moved into a "win32" subfolder since we may have Linux version port in the future. > http://svn.dsource.org/projects/dwt/downloads/win32/dwt-win32.rar > > binary examples and screenshot > http://svn.dsource.org/projects/dwt/downloads/win32/examples/ > > Forum on DSource > http://www.dsource.org/forums/viewforum.php?f=1 > > Any comments and bug report are welcome. > > - Shawn Liu > > One thing puzzles me is that "run-build.bat" generates bigger executable files than "run-dmd.bat" does. For example: | controlexample.exe | dummyeclipse.exe | --------------+--------------------+------------------| run-build.bat | 2.0 MB | 1.2 MB | run-dmd.bat | 1.2 MB | 0.8 MB | "run-build.bat" also runs waaaaaay more slowly. Why is it so? |
August 19, 2005 Re: Executable size | ||||
---|---|---|---|---|
| ||||
Posted in reply to zwang | zwang wrote:
> Shawn Liu wrote:
>
>> DWT Windows version 0.3 update:
>> Some bugs fixed.
>> 1) Canvas refresh problem. Thanks to zwang!
>> 2) Removed the ripples in the CTabFolder in "DummyEclipse" example.
>>
>> The source location moved into a "win32" subfolder since we may have Linux version port in the future.
>> http://svn.dsource.org/projects/dwt/downloads/win32/dwt-win32.rar
>>
>> binary examples and screenshot
>> http://svn.dsource.org/projects/dwt/downloads/win32/examples/
>>
>> Forum on DSource
>> http://www.dsource.org/forums/viewforum.php?f=1
>>
>> Any comments and bug report are welcome.
>>
>> - Shawn Liu
>>
>
> One thing puzzles me is that "run-build.bat" generates bigger executable files than "run-dmd.bat" does. For example:
>
> | controlexample.exe | dummyeclipse.exe |
> --------------+--------------------+------------------|
> run-build.bat | 2.0 MB | 1.2 MB |
> run-dmd.bat | 1.2 MB | 0.8 MB |
>
>
> "run-build.bat" also runs waaaaaay more slowly.
> Why is it so?
>
>
I noticed this too. I'm not sure what's going on there either, but it looks like dmd/link automatically removes redundant symbols/objects from the final build. The build tool doesn't seem to do that: it seems to include every import referenced/compiled. I also noticed that if you try to use the build tool for some of the examples, the resulting executable is invalid. I not quite sure what to make of it.
I ran across a similar problem with build while I was working on a dyndui package.
-JJR
|
August 19, 2005 Re: Executable size | ||||
---|---|---|---|---|
| ||||
Posted in reply to zwang | zwang wrote:
> Shawn Liu wrote:
>
>> DWT Windows version 0.3 update:
>> Some bugs fixed.
>> 1) Canvas refresh problem. Thanks to zwang!
>> 2) Removed the ripples in the CTabFolder in "DummyEclipse" example.
>>
>> The source location moved into a "win32" subfolder since we may have Linux version port in the future.
>> http://svn.dsource.org/projects/dwt/downloads/win32/dwt-win32.rar
>>
>> binary examples and screenshot
>> http://svn.dsource.org/projects/dwt/downloads/win32/examples/
>>
>> Forum on DSource
>> http://www.dsource.org/forums/viewforum.php?f=1
>>
>> Any comments and bug report are welcome.
>>
>> - Shawn Liu
>>
>
> One thing puzzles me is that "run-build.bat" generates bigger executable files than "run-dmd.bat" does. For example:
>
> | controlexample.exe | dummyeclipse.exe |
> --------------+--------------------+------------------|
> run-build.bat | 2.0 MB | 1.2 MB |
> run-dmd.bat | 1.2 MB | 0.8 MB |
>
>
> "run-build.bat" also runs waaaaaay more slowly.
> Why is it so?
>
>
Did you try running the dummeclipse.exe after building it with run-build.bat? Mine wouldn't run.
-JJR
|
August 19, 2005 Re: Executable size | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Reimer | On Fri, 19 Aug 2005 11:19:27 -0700, John Reimer wrote: > zwang wrote: >> Shawn Liu wrote: >> >>> DWT Windows version 0.3 update: >>> Some bugs fixed. >>> 1) Canvas refresh problem. Thanks to zwang! >>> 2) Removed the ripples in the CTabFolder in "DummyEclipse" example. >>> >>> The source location moved into a "win32" subfolder since we may have Linux version port in the future. http://svn.dsource.org/projects/dwt/downloads/win32/dwt-win32.rar >>> >>> binary examples and screenshot http://svn.dsource.org/projects/dwt/downloads/win32/examples/ >>> >>> Forum on DSource http://www.dsource.org/forums/viewforum.php?f=1 >>> >>> Any comments and bug report are welcome. >>> >>> - Shawn Liu >>> >> >> One thing puzzles me is that "run-build.bat" generates bigger executable files than "run-dmd.bat" does. For example: >> >> | controlexample.exe | dummyeclipse.exe | >> --------------+--------------------+------------------| >> run-build.bat | 2.0 MB | 1.2 MB | run-dmd.bat | 1.2 MB | 0.8 MB | >> >> >> "run-build.bat" also runs waaaaaay more slowly. >> Why is it so? >> >> > > I noticed this too. I'm not sure what's going on there either, but it looks like dmd/link automatically removes redundant symbols/objects from the final build. The build tool doesn't seem to do that: it seems to include every import referenced/compiled. I also noticed that if you try to use the build tool for some of the examples, the resulting executable is invalid. I not quite sure what to make of it. > > I ran across a similar problem with build while I was working on a dyndui package. Oh! Can I do anything to help here? I don't want Build being an inferior choice. Can you show be the contents of these .BAT files and maybe the resulting .RSP and .KSP files that Build creates. -- Derek Parnell Melbourne, Australia 20/08/2005 8:32:54 AM |
August 19, 2005 Re: Executable size | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Reimer | On Fri, 19 Aug 2005 11:19:27 -0700, John Reimer wrote: > zwang wrote: >> Shawn Liu wrote: >> >>> DWT Windows version 0.3 update: >>> Some bugs fixed. >>> 1) Canvas refresh problem. Thanks to zwang! >>> 2) Removed the ripples in the CTabFolder in "DummyEclipse" example. >>> >>> The source location moved into a "win32" subfolder since we may have Linux version port in the future. http://svn.dsource.org/projects/dwt/downloads/win32/dwt-win32.rar >>> >>> binary examples and screenshot http://svn.dsource.org/projects/dwt/downloads/win32/examples/ >>> >>> Forum on DSource http://www.dsource.org/forums/viewforum.php?f=1 >>> >>> Any comments and bug report are welcome. >>> >>> - Shawn Liu >>> >> >> One thing puzzles me is that "run-build.bat" generates bigger executable files than "run-dmd.bat" does. For example: >> >> | controlexample.exe | dummyeclipse.exe | >> --------------+--------------------+------------------| >> run-build.bat | 2.0 MB | 1.2 MB | run-dmd.bat | 1.2 MB | 0.8 MB | >> >> >> "run-build.bat" also runs waaaaaay more slowly. >> Why is it so? >> >> > > I noticed this too. I'm not sure what's going on there either, but it looks like dmd/link automatically removes redundant symbols/objects from the final build. The build tool doesn't seem to do that: it seems to include every import referenced/compiled. One quick difference is that the run-dmd uses the -release and -O switches but the run-build doesn't. That would have an effect of the .exe sizes. -- Derek Parnell Melbourne, Australia 20/08/2005 8:44:07 AM |
August 19, 2005 Re: Executable size | ||||
---|---|---|---|---|
| ||||
Posted in reply to Derek Parnell | On Sat, 20 Aug 2005 08:45:08 +1000, Derek Parnell wrote: >> I noticed this too. I'm not sure what's going on there either, but it looks like dmd/link automatically removes redundant symbols/objects from the final build. The build tool doesn't seem to do that: it seems to include every import referenced/compiled. > > One quick difference is that the run-dmd uses the -release and -O switches but the run-build doesn't. That would have an effect of the .exe sizes. Just noticed another difference. The run-build uses the -debug switch but the run-dmd doesn't. That would mean the run-build includes debugging code into the exe but run-dmd removes that. -- Derek Parnell Melbourne, Australia 20/08/2005 8:46:26 AM |
August 20, 2005 Re: Executable size | ||||
---|---|---|---|---|
| ||||
Posted in reply to Derek Parnell | Derek Parnell wrote:
> On Sat, 20 Aug 2005 08:45:08 +1000, Derek Parnell wrote:
>
>
>>>I noticed this too. I'm not sure what's going on there either, but it looks like dmd/link automatically removes redundant symbols/objects from the final build. The build tool doesn't seem to do that: it seems to include every import referenced/compiled.
>>
>>One quick difference is that the run-dmd uses the -release and -O switches
>>but the run-build doesn't. That would have an effect of the .exe sizes.
>
>
> Just noticed another difference. The run-build uses the -debug switch but
> the run-dmd doesn't. That would mean the run-build includes debugging code
> into the exe but run-dmd removes that.
>
You're right. That should describe the size differential. I didn't check that... sorry. I'm not sure why the executable didn't run, but maybe I should use the same compile flags and see if that makes it work :-)
-JJR
|
August 20, 2005 Re: Executable size | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Reimer | John Reimer wrote:
> zwang wrote:
>
>> Shawn Liu wrote:
>>
>>> DWT Windows version 0.3 update:
>>> Some bugs fixed.
>>> 1) Canvas refresh problem. Thanks to zwang!
>>> 2) Removed the ripples in the CTabFolder in "DummyEclipse" example.
>>>
>>> The source location moved into a "win32" subfolder since we may have Linux version port in the future.
>>> http://svn.dsource.org/projects/dwt/downloads/win32/dwt-win32.rar
>>>
>>> binary examples and screenshot
>>> http://svn.dsource.org/projects/dwt/downloads/win32/examples/
>>>
>>> Forum on DSource
>>> http://www.dsource.org/forums/viewforum.php?f=1
>>>
>>> Any comments and bug report are welcome.
>>>
>>> - Shawn Liu
>>>
>>
>> One thing puzzles me is that "run-build.bat" generates bigger executable files than "run-dmd.bat" does. For example:
>>
>> | controlexample.exe | dummyeclipse.exe |
>> --------------+--------------------+------------------|
>> run-build.bat | 2.0 MB | 1.2 MB |
>> run-dmd.bat | 1.2 MB | 0.8 MB |
>>
>>
>> "run-build.bat" also runs waaaaaay more slowly.
>> Why is it so?
>>
>>
>
> Did you try running the dummeclipse.exe after building it with run-build.bat? Mine wouldn't run.
>
> -JJR
Yes, I did. The .exe runs normally.
BTW, I'm using the latest version of DWT and dmd on WinXP.
|
Copyright © 1999-2021 by the D Language Foundation