digitalmars.D.announce - DSSS 0.78 released.
- Gregor Richards (32/32) Sep 13 2008 DSSS, the D Shared Software System, is a tool to ease the building,
- Chris R. Miller (6/43) Sep 13 2008 Would this make DerelictSDL on Mac OS X (via the SDL OS X Project
- Gregor Richards (6/10) Sep 13 2008 DerelictSDL uses runtime loading IIRC, this just allows you to link
- Chris R. Miller (7/17) Sep 13 2008 Hmm, I'll have to try with the newer DSSS then. It didn't work before
- Mike Parker (8/27) Sep 14 2008 DSSS isn't going to affect being able to use DerelictSDL on Mac. The
- yidabu (11/48) Sep 14 2008 Seems it takes a long time to build lib under Windows.
- Bill Baxter (6/8) Sep 14 2008 This may or may not be your issue, but if you had changed your
- yidabu (12/22) Sep 14 2008 Thanks for you reply, I set oneatatime=yes for DSSS 0.75 and DSSS 0.78, ...
- Bill Baxter (8/22) Sep 28 2008 I have to say, this new DSSS does seem a lot slower at building to me
- Bill Baxter (10/34) Sep 28 2008 Here are some timings with my app:
- Robert Fraser (2/39) Sep 14 2008 O.o thanks!
- Leonid Krashenko (22/22) Sep 20 2008 Gregor Richards wrote:
- Leonid Krashenko (3/36) Sep 20 2008 rebuild cmd is:
- Gregor Richards (6/38) Sep 20 2008 Rebuild ignores D files in the package 'std', since those should be
- Bill Baxter (5/43) Sep 20 2008 Is that behavior new with DSSS 0.78?
- Gregor Richards (7/51) Sep 20 2008 This is not new. If you're using Tango, you (should) use the rebuild
- Bill Baxter (3/61) Sep 21 2008 Ok. Thanks for the explanation & reassurance.
- Leonid Krashenko (3/59) Sep 21 2008 But in this case the use of Makefiles is more flexible... And this behav...
- Gregor Richards (7/66) Sep 21 2008 Makefiles are absolutely more flexible. As flexible as a noose. But
DSSS, the D Shared Software System, is a tool to ease the building, installation, configuration and acquisition of D software. OK, release 0.77 had some ... issues. I fixed some things up and 0.78 should be a bit better. The changelog: - Rebuild: Removed some needless errors that could cause problems with using D-2 keywords in D-1 code. - Substantially reduced the default verbosity. -v now gives the previous verbosity, -vv puts rebuild in verbose mode as well. - Rebuild: Allow general link flags in pragma(link) (for Mac OS X frameworks, etc. - Rebuild: -S with forward slashes now works on Windows. (see ticket - defaulttargets with forward slashes now works on Windows. - Multiple '..' elements in section names will now be interpreted - Rebuild: Fixed library-linking problems. The most user-visible difference is the reduced verbosity. I consistently get complaints about outputting the rebuild line, both from people with very long rebuild lines and from people who think that constitutes a complete rebuild every time. So, it's out the window. Use -v to see the commands run, use -vv to set rebuild to verbose mode too. I'll repeat this: I'm running severely low on time (I'm now a graduate student), so I'm looking for help. Anything from handling tickets to porting help to anything else you can think of, I'd really appreciate. As per usual, more information and downloads are available at http://www.dsource.org/projects/dsss/ - Gregor Richards
Sep 13 2008
Gregor Richards wrote:DSSS, the D Shared Software System, is a tool to ease the building, installation, configuration and acquisition of D software. OK, release 0.77 had some ... issues. I fixed some things up and 0.78 should be a bit better. The changelog: - Rebuild: Removed some needless errors that could cause problems with using D-2 keywords in D-1 code. - Substantially reduced the default verbosity. -v now gives the previous verbosity, -vv puts rebuild in verbose mode as well. - Rebuild: Allow general link flags in pragma(link) (for Mac OS X frameworks, etc.Would this make DerelictSDL on Mac OS X (via the SDL OS X Project Builder framework) work now? I think it would, but I'm not really much of a build guru, so I ask.- Rebuild: -S with forward slashes now works on Windows. (see ticket - defaulttargets with forward slashes now works on Windows. - Multiple '..' elements in section names will now be interpreted - Rebuild: Fixed library-linking problems. The most user-visible difference is the reduced verbosity. I consistently get complaints about outputting the rebuild line, both from people with very long rebuild lines and from people who think that constitutes a complete rebuild every time. So, it's out the window. Use -v to see the commands run, use -vv to set rebuild to verbose mode too. I'll repeat this: I'm running severely low on time (I'm now a graduate student), so I'm looking for help. Anything from handling tickets to porting help to anything else you can think of, I'd really appreciate. As per usual, more information and downloads are available at http://www.dsource.org/projects/dsss/ - Gregor RichardsThanks for all your work. DSSS is probably the single greatest asset to the D Community after DMD/GDC/LLVMDC (it||them)selves.
Sep 13 2008
Chris R. Miller wrote:Would this make DerelictSDL on Mac OS X (via the SDL OS X Project Builder framework) work now? I think it would, but I'm not really much of a build guru, so I ask.DerelictSDL uses runtime loading IIRC, this just allows you to link frameworks at compile time ... knowing almost zero about frameworks on OS X, I have no idea what middle ground is necessary, so the only answer I can give is "maybe". - Gregor Richards
Sep 13 2008
Gregor Richards wrote:Chris R. Miller wrote:Hmm, I'll have to try with the newer DSSS then. It didn't work before (didn't work with fink, either) and now what you say gives me hope... Or I'll have to manually hack the heck out of Derelict myself. Some of the OS X stuff is a little funky. Gives me the feeling that they're of the "Either use Objective-C like the rest of us or get lost!" opinion over there at Apple.Would this make DerelictSDL on Mac OS X (via the SDL OS X Project Builder framework) work now? I think it would, but I'm not really much of a build guru, so I ask.DerelictSDL uses runtime loading IIRC, this just allows you to link frameworks at compile time ... knowing almost zero about frameworks on OS X, I have no idea what middle ground is necessary, so the only answer I can give is "maybe".
Sep 13 2008
Chris R. Miller wrote:Gregor Richards wrote:DSSS isn't going to affect being able to use DerelictSDL on Mac. The problem is the fact that SDLmain can't really be used with a D executable, but it does some important setup on Mac. There are a couple of workarounds documented in the Derelict forum and people have been able to use DerelictSDL on Mac. FWIW, SDL 1.3 does away with SDLmain altogether, so once it's released and Derelict updated this problem goes away.Chris R. Miller wrote:Hmm, I'll have to try with the newer DSSS then. It didn't work before (didn't work with fink, either) and now what you say gives me hope... Or I'll have to manually hack the heck out of Derelict myself. Some of the OS X stuff is a little funky. Gives me the feeling that they're of the "Either use Objective-C like the rest of us or get lost!" opinion over there at Apple.Would this make DerelictSDL on Mac OS X (via the SDL OS X Project Builder framework) work now? I think it would, but I'm not really much of a build guru, so I ask.DerelictSDL uses runtime loading IIRC, this just allows you to link frameworks at compile time ... knowing almost zero about frameworks on OS X, I have no idea what middle ground is necessary, so the only answer I can give is "maybe".
Sep 14 2008
On Sat, 13 Sep 2008 15:04:27 -0400 Gregor Richards <Richards codu.org> wrote:DSSS, the D Shared Software System, is a tool to ease the building, installation, configuration and acquisition of D software. OK, release 0.77 had some ... issues. I fixed some things up and 0.78 should be a bit better. The changelog: - Rebuild: Removed some needless errors that could cause problems with using D-2 keywords in D-1 code. - Substantially reduced the default verbosity. -v now gives the previous verbosity, -vv puts rebuild in verbose mode as well. - Rebuild: Allow general link flags in pragma(link) (for Mac OS X frameworks, etc. - Rebuild: -S with forward slashes now works on Windows. (see ticket - defaulttargets with forward slashes now works on Windows. - Multiple '..' elements in section names will now be interpreted - Rebuild: Fixed library-linking problems. The most user-visible difference is the reduced verbosity. I consistently get complaints about outputting the rebuild line, both from people with very long rebuild lines and from people who think that constitutes a complete rebuild every time. So, it's out the window. Use -v to see the commands run, use -vv to set rebuild to verbose mode too. I'll repeat this: I'm running severely low on time (I'm now a graduate student), so I'm looking for help. Anything from handling tickets to porting help to anything else you can think of, I'd really appreciate. As per usual, more information and downloads are available at http://www.dsource.org/projects/dsss/ - Gregor RichardsSeems it takes a long time to build lib under Windows. -- yidabu <yidabu.spam gmail.com> http://www.dsource.org/projects/dwin D ÓïÑÔ-ÖÐÎÄ(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/
Sep 14 2008
2008/9/14 yidabu <yidabu.spam gmail.com>:On Sat, 13 Sep 2008 15:04:27 -0400 Seems it takes a long time to build lib under Windows.This may or may not be your issue, but if you had changed your oneatatime setting in the rebuild config then re-installing dsss would overwrite that. So maybe you just need to re-edit your oneatatime back to "no"? --bb
Sep 14 2008
On Sun, 14 Sep 2008 20:05:06 +0900 "Bill Baxter" <wbaxter gmail.com> wrote:2008/9/14 yidabu <yidabu.spam gmail.com>:Thanks for you reply, I set oneatatime=yes for DSSS 0.75 and DSSS 0.78, 0.75 is more quickly to build Windows library. set oneatatime=no may be cause larger executable size. -- yidabu <yidabu.spam gmail.com> http://www.dsource.org/projects/dwin D ÓïÑÔ-ÖÐÎÄ(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/On Sat, 13 Sep 2008 15:04:27 -0400 Seems it takes a long time to build lib under Windows.This may or may not be your issue, but if you had changed your oneatatime setting in the rebuild config then re-installing dsss would overwrite that. So maybe you just need to re-edit your oneatatime back to "no"? --bb
Sep 14 2008
2008/9/15 yidabu <yidabu.spam gmail.com>:On Sun, 14 Sep 2008 20:05:06 +0900 "Bill Baxter" <wbaxter gmail.com> wrote:I have to say, this new DSSS does seem a lot slower at building to me too. I'll do some more exact measurements later, but my DWT-using exe now seems to compile as much slower. It feels about as slow slow as DSSS 0.75 did running a --full build, except now it's that slow when not doing --full. Did anything change in how DSSS compiles things between 0.75 and 0.78? --bb2008/9/14 yidabu <yidabu.spam gmail.com>:Thanks for you reply, I set oneatatime=yes for DSSS 0.75 and DSSS 0.78, 0.75 is more quickly to build Windows library. set oneatatime=no may be cause larger executable size.On Sat, 13 Sep 2008 15:04:27 -0400 Seems it takes a long time to build lib under Windows.This may or may not be your issue, but if you had changed your oneatatime setting in the rebuild config then re-installing dsss would overwrite that. So maybe you just need to re-edit your oneatatime back to "no"? --bb
Sep 28 2008
On Mon, Sep 29, 2008 at 12:15 PM, Bill Baxter <wbaxter gmail.com> wrote:2008/9/15 yidabu <yidabu.spam gmail.com>:Here are some timings with my app: Takes 2:48 to "dsss build" with 0.78 Takes 2:48 to "dsss build -full" with 0.78 Takes 0:35 to "dsss build" with 0.76pre Takes 0:35 to "dsss build -full" with 0.76pre Takes 0:36 to "dss build" after a "dsss clean" with 0.76pre So two strange things are 1) that 0.78 is so much slower and 2) that -full and not -full seem to have the same speed in both cases. --bbOn Sun, 14 Sep 2008 20:05:06 +0900 "Bill Baxter" <wbaxter gmail.com> wrote:I have to say, this new DSSS does seem a lot slower at building to me too. I'll do some more exact measurements later, but my DWT-using exe now seems to compile as much slower. It feels about as slow slow as DSSS 0.75 did running a --full build, except now it's that slow when not doing --full. Did anything change in how DSSS compiles things between 0.75 and 0.78?2008/9/14 yidabu <yidabu.spam gmail.com>:Thanks for you reply, I set oneatatime=yes for DSSS 0.75 and DSSS 0.78, 0.75 is more quickly to build Windows library. set oneatatime=no may be cause larger executable size.On Sat, 13 Sep 2008 15:04:27 -0400 Seems it takes a long time to build lib under Windows.This may or may not be your issue, but if you had changed your oneatatime setting in the rebuild config then re-installing dsss would overwrite that. So maybe you just need to re-edit your oneatatime back to "no"? --bb
Sep 28 2008
Gregor Richards wrote:DSSS, the D Shared Software System, is a tool to ease the building, installation, configuration and acquisition of D software. OK, release 0.77 had some ... issues. I fixed some things up and 0.78 should be a bit better. The changelog: - Rebuild: Removed some needless errors that could cause problems with using D-2 keywords in D-1 code. - Substantially reduced the default verbosity. -v now gives the previous verbosity, -vv puts rebuild in verbose mode as well. - Rebuild: Allow general link flags in pragma(link) (for Mac OS X frameworks, etc. - Rebuild: -S with forward slashes now works on Windows. (see ticket - defaulttargets with forward slashes now works on Windows. - Multiple '..' elements in section names will now be interpreted - Rebuild: Fixed library-linking problems. The most user-visible difference is the reduced verbosity. I consistently get complaints about outputting the rebuild line, both from people with very long rebuild lines and from people who think that constitutes a complete rebuild every time. So, it's out the window. Use -v to see the commands run, use -vv to set rebuild to verbose mode too. I'll repeat this: I'm running severely low on time (I'm now a graduate student), so I'm looking for help. Anything from handling tickets to porting help to anything else you can think of, I'd really appreciate. As per usual, more information and downloads are available at http://www.dsource.org/projects/dsss/ - Gregor RichardsO.o thanks!
Sep 14 2008
Gregor Richards wrote: I am getting strange errors using rebuild/dsss: http://codepad.org/MfhzjJFG If I use my own Makefile, everything compiles, links and runs successfully: cc = dmd flags = -unittest link_flags = -L-lX11 source_dirs = y std/c/linux/X11 tl src_files = $(addsuffix /*.d, $(source_dirs)) src_objs = $(patsubst %.d, %.o, $(wildcard $(src_files))) paint: paint.o $(src_objs) $(cc) $^ $(link_flags) main: main.o $(src_objs) $(cc) $^ $(link_flags) VPATH := $(source_dirs) . %.o: %.d $(cc) -c $^ $(flags) -op clean: rm -f $(addsuffix /*.o, . $(source_dirs)) rm -f paint rm -f main What am I doing wrong?
Sep 20 2008
Leonid Krashenko wrote:Gregor Richards wrote: I am getting strange errors using rebuild/dsss: http://codepad.org/MfhzjJFG If I use my own Makefile, everything compiles, links and runs successfully: cc = dmd flags = -unittest link_flags = -L-lX11 source_dirs = y std/c/linux/X11 tl src_files = $(addsuffix /*.d, $(source_dirs)) src_objs = $(patsubst %.d, %.o, $(wildcard $(src_files))) paint: paint.o $(src_objs) $(cc) $^ $(link_flags) main: main.o $(src_objs) $(cc) $^ $(link_flags) VPATH := $(source_dirs) . %.o: %.d $(cc) -c $^ $(flags) -op clean: rm -f $(addsuffix /*.o, . $(source_dirs)) rm -f paint rm -f main What am I doing wrong?rebuild cmd is: $ rebuild paint.d -L-lX11
Sep 20 2008
Leonid Krashenko wrote:Gregor Richards wrote: I am getting strange errors using rebuild/dsss: http://codepad.org/MfhzjJFG If I use my own Makefile, everything compiles, links and runs successfully: cc = dmd flags = -unittest link_flags = -L-lX11 source_dirs = y std/c/linux/X11 tl src_files = $(addsuffix /*.d, $(source_dirs)) src_objs = $(patsubst %.d, %.o, $(wildcard $(src_files))) paint: paint.o $(src_objs) $(cc) $^ $(link_flags) main: main.o $(src_objs) $(cc) $^ $(link_flags) VPATH := $(source_dirs) . %.o: %.d $(cc) -c $^ $(flags) -op clean: rm -f $(addsuffix /*.o, . $(source_dirs)) rm -f paint rm -f main What am I doing wrong?Rebuild ignores D files in the package 'std', since those should be packages provided by the standard library. You really oughtn't to name things 'std' anyway, and putting 'X11' in std.c.linux doesn't make much sense regardless. - Gregor Richards
Sep 20 2008
On Sun, Sep 21, 2008 at 8:58 AM, Gregor Richards <Richards codu.org> wrote:Leonid Krashenko wrote:Is that behavior new with DSSS 0.78? What does that mean for Tangobos, which is not the standard library but is completely in the std package? --bbGregor Richards wrote: I am getting strange errors using rebuild/dsss: http://codepad.org/MfhzjJFG If I use my own Makefile, everything compiles, links and runs successfully: cc = dmd flags = -unittest link_flags = -L-lX11 source_dirs = y std/c/linux/X11 tl src_files = $(addsuffix /*.d, $(source_dirs)) src_objs = $(patsubst %.d, %.o, $(wildcard $(src_files))) paint: paint.o $(src_objs) $(cc) $^ $(link_flags) main: main.o $(src_objs) $(cc) $^ $(link_flags) VPATH := $(source_dirs) . %.o: %.d $(cc) -c $^ $(flags) -op clean: rm -f $(addsuffix /*.o, . $(source_dirs)) rm -f paint rm -f main What am I doing wrong?Rebuild ignores D files in the package 'std', since those should be packages provided by the standard library. You really oughtn't to name things 'std' anyway, and putting 'X11' in std.c.linux doesn't make much sense regardless.
Sep 20 2008
Bill Baxter wrote:On Sun, Sep 21, 2008 at 8:58 AM, Gregor Richards <Richards codu.org> wrote:This is not new. If you're using Tango, you (should) use the rebuild profile for Tango, which doesn't ignore the std package since that's not part of Tango. The only reason it has to actively ignore the std package is because they're .d files instead of the .di files they ought to be. - Gregor RichardsLeonid Krashenko wrote:Is that behavior new with DSSS 0.78? What does that mean for Tangobos, which is not the standard library but is completely in the std package? --bbGregor Richards wrote: I am getting strange errors using rebuild/dsss: http://codepad.org/MfhzjJFG If I use my own Makefile, everything compiles, links and runs successfully: cc = dmd flags = -unittest link_flags = -L-lX11 source_dirs = y std/c/linux/X11 tl src_files = $(addsuffix /*.d, $(source_dirs)) src_objs = $(patsubst %.d, %.o, $(wildcard $(src_files))) paint: paint.o $(src_objs) $(cc) $^ $(link_flags) main: main.o $(src_objs) $(cc) $^ $(link_flags) VPATH := $(source_dirs) . %.o: %.d $(cc) -c $^ $(flags) -op clean: rm -f $(addsuffix /*.o, . $(source_dirs)) rm -f paint rm -f main What am I doing wrong?Rebuild ignores D files in the package 'std', since those should be packages provided by the standard library. You really oughtn't to name things 'std' anyway, and putting 'X11' in std.c.linux doesn't make much sense regardless.
Sep 20 2008
On Sun, Sep 21, 2008 at 10:38 AM, Gregor Richards <Richards codu.org> wrote:Bill Baxter wrote:Ok. Thanks for the explanation & reassurance. --bbOn Sun, Sep 21, 2008 at 8:58 AM, Gregor Richards <Richards codu.org> wrote:This is not new. If you're using Tango, you (should) use the rebuild profile for Tango, which doesn't ignore the std package since that's not part of Tango. The only reason it has to actively ignore the std package is because they're .d files instead of the .di files they ought to be.Leonid Krashenko wrote:Is that behavior new with DSSS 0.78? What does that mean for Tangobos, which is not the standard library but is completely in the std package? --bbGregor Richards wrote: I am getting strange errors using rebuild/dsss: http://codepad.org/MfhzjJFG If I use my own Makefile, everything compiles, links and runs successfully: cc = dmd flags = -unittest link_flags = -L-lX11 source_dirs = y std/c/linux/X11 tl src_files = $(addsuffix /*.d, $(source_dirs)) src_objs = $(patsubst %.d, %.o, $(wildcard $(src_files))) paint: paint.o $(src_objs) $(cc) $^ $(link_flags) main: main.o $(src_objs) $(cc) $^ $(link_flags) VPATH := $(source_dirs) . %.o: %.d $(cc) -c $^ $(flags) -op clean: rm -f $(addsuffix /*.o, . $(source_dirs)) rm -f paint rm -f main What am I doing wrong?Rebuild ignores D files in the package 'std', since those should be packages provided by the standard library. You really oughtn't to name things 'std' anyway, and putting 'X11' in std.c.linux doesn't make much sense regardless.
Sep 21 2008
Gregor Richards wrote:Bill Baxter wrote:But in this case the use of Makefiles is more flexible... And this behavior of Rebuild really is not obvious.. isn't it better to change it?On Sun, Sep 21, 2008 at 8:58 AM, Gregor Richards <Richards codu.org> wrote:This is not new. If you're using Tango, you (should) use the rebuild profile for Tango, which doesn't ignore the std package since that's not part of Tango. The only reason it has to actively ignore the std package is because they're .d files instead of the .di files they ought to be. - Gregor RichardsLeonid Krashenko wrote:Is that behavior new with DSSS 0.78? What does that mean for Tangobos, which is not the standard library but is completely in the std package? --bbGregor Richards wrote: I am getting strange errors using rebuild/dsss: http://codepad.org/MfhzjJFG If I use my own Makefile, everything compiles, links and runs successfully: cc = dmd flags = -unittest link_flags = -L-lX11 source_dirs = y std/c/linux/X11 tl src_files = $(addsuffix /*.d, $(source_dirs)) src_objs = $(patsubst %.d, %.o, $(wildcard $(src_files))) paint: paint.o $(src_objs) $(cc) $^ $(link_flags) main: main.o $(src_objs) $(cc) $^ $(link_flags) VPATH := $(source_dirs) . %.o: %.d $(cc) -c $^ $(flags) -op clean: rm -f $(addsuffix /*.o, . $(source_dirs)) rm -f paint rm -f main What am I doing wrong?Rebuild ignores D files in the package 'std', since those should be packages provided by the standard library. You really oughtn't to name things 'std' anyway, and putting 'X11' in std.c.linux doesn't make much sense regardless.
Sep 21 2008
Leonid Krashenko wrote:Gregor Richards wrote:Makefiles are absolutely more flexible. As flexible as a noose. But rebuild traces dependencies, and Makefiles don't: Would you have me stop tracing dependencies, making rebuild entirely useless, or stop ignoring std, making it rebuild the entire core library every time you build anything? - Gregor RichardsBill Baxter wrote:But in this case the use of Makefiles is more flexible... And this behavior of Rebuild really is not obvious.. isn't it better to change it?On Sun, Sep 21, 2008 at 8:58 AM, Gregor Richards <Richards codu.org> wrote:This is not new. If you're using Tango, you (should) use the rebuild profile for Tango, which doesn't ignore the std package since that's not part of Tango. The only reason it has to actively ignore the std package is because they're .d files instead of the .di files they ought to be. - Gregor RichardsLeonid Krashenko wrote:Is that behavior new with DSSS 0.78? What does that mean for Tangobos, which is not the standard library but is completely in the std package? --bbGregor Richards wrote: I am getting strange errors using rebuild/dsss: http://codepad.org/MfhzjJFG If I use my own Makefile, everything compiles, links and runs successfully: cc = dmd flags = -unittest link_flags = -L-lX11 source_dirs = y std/c/linux/X11 tl src_files = $(addsuffix /*.d, $(source_dirs)) src_objs = $(patsubst %.d, %.o, $(wildcard $(src_files))) paint: paint.o $(src_objs) $(cc) $^ $(link_flags) main: main.o $(src_objs) $(cc) $^ $(link_flags) VPATH := $(source_dirs) . %.o: %.d $(cc) -c $^ $(flags) -op clean: rm -f $(addsuffix /*.o, . $(source_dirs)) rm -f paint rm -f main What am I doing wrong?Rebuild ignores D files in the package 'std', since those should be packages provided by the standard library. You really oughtn't to name things 'std' anyway, and putting 'X11' in std.c.linux doesn't make much sense regardless.
Sep 21 2008