Re: Response files

2009-03-24 Thread Jérôme M. Berger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Georg Wrede wrote: > Young people tend to always choose the absolutely best, while older > people value stability and longevity of tools. > > So, yesterday the best was SCons, today it's AAP, what's it gonna be > tomorrow? Old people prefer somethin

Re: Response files

2009-03-24 Thread Jérôme M. Berger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Walter Bright wrote: > Georg Wrede wrote: >> >> Young people tend to always choose the absolutely best, while older >> people value stability and longevity of tools. >> >> So, yesterday the best was SCons, today it's AAP, what's it gonna be >> tomorro

Re: Response files

2009-03-24 Thread Jérôme M. Berger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Georg Wrede wrote: > Jérôme M. Berger wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Nick Sabalausky wrote: >>> Yea, I was going to mention that, too. As far as I'm concerned >>> "*make" is the same sort of undead unholy relic as C++.

Re: Build systems with D support [was: Response files]

2009-03-24 Thread Nick Sabalausky
"Leandro Lucarella" wrote in message news:20090323192000.ga23...@burns.springfield.home... > Leandro Lucarella, el 23 de marzo a las 13:31 me escribiste: >> And guess what? It even support D =) >> http://waf.googlecode.com/svn/trunk/demos/d/ > > It looks like AAP support D too =) > http://www.a-a

Re: Build systems with D support [was: Response files]

2009-03-23 Thread Walter Bright
Jarrett Billingsley wrote: On Mon, Mar 23, 2009 at 6:53 PM, Walter Bright wrote: Jarrett Billingsley wrote: For what it's worth, most of the D wiki is incredibly out-of-date too. I just don't think there's enough manpower to go around to maintain it. Anyone can update it! You noticed my co

Re: Build systems with D support [was: Response files]

2009-03-23 Thread Jarrett Billingsley
On Mon, Mar 23, 2009 at 6:53 PM, Walter Bright wrote: > Jarrett Billingsley wrote: >> >> For what it's worth, most of the D wiki is incredibly out-of-date too. >>  I just don't think there's enough manpower to go around to maintain >> it. > > Anyone can update it! You noticed my comment about "no

Re: Build systems with D support [was: Response files]

2009-03-23 Thread Walter Bright
Jarrett Billingsley wrote: For what it's worth, most of the D wiki is incredibly out-of-date too. I just don't think there's enough manpower to go around to maintain it. Anyone can update it!

Re: Response files

2009-03-23 Thread Georg Wrede
Leandro Lucarella wrote: Georg Wrede escribiste: So, yesterday the best was SCons, today it's AAP, what's it gonna be tomorrow? Waf[1]? ... And guess what? It even support D =) Oh, ok. And the day after tomorrow? (Sorry, couldn't resist. :-) )

Re: Build systems with D support [was: Response files]

2009-03-23 Thread Jarrett Billingsley
On Mon, Mar 23, 2009 at 6:15 PM, Walter Bright wrote: > Leandro Lucarella wrote: >> >> Leandro Lucarella, el 23 de marzo a las 13:31 me escribiste: >>> >>> And guess what? It even support D =) >>> http://waf.googlecode.com/svn/trunk/demos/d/ >> >> It looks like AAP support D too =) >> http://www.a

Re: Build systems with D support [was: Response files]

2009-03-23 Thread Walter Bright
Leandro Lucarella wrote: Leandro Lucarella, el 23 de marzo a las 13:31 me escribiste: And guess what? It even support D =) http://waf.googlecode.com/svn/trunk/demos/d/ It looks like AAP support D too =) http://www.a-a-p.org/exec/ref-modules.html#id2686506 It's nice new build system support D.

Build systems with D support [was: Response files]

2009-03-23 Thread Leandro Lucarella
Leandro Lucarella, el 23 de marzo a las 13:31 me escribiste: > And guess what? It even support D =) > http://waf.googlecode.com/svn/trunk/demos/d/ It looks like AAP support D too =) http://www.a-a-p.org/exec/ref-modules.html#id2686506 It's nice new build system support D. It seems that the lack-o

Re: Response files

2009-03-23 Thread Andrei Alexandrescu
Leandro Lucarella wrote: Walter Bright, el 21 de marzo a las 20:07 me escribiste: Andrei Alexandrescu wrote: .o on Linux, .obj on Windows. OBJSUFFIX_win32 = .obj OBJSUFFIX_linux = .o ... OS = linux ... ... file$(OBJSUFFIX_$(OS)) ... I hadn't thought of using macros to generate macros. It's a

Re: Response files

2009-03-23 Thread Leandro Lucarella
Georg Wrede, el 22 de marzo a las 17:51 me escribiste: > So, yesterday the best was SCons, today it's AAP, what's it gonna be > tomorrow? Waf[1]? No, really, I just discover it today =) What I always hated from scons (and the reason I stopped using it) is it was *sloow* (I don't know if it

Re: Response files

2009-03-23 Thread Leandro Lucarella
Walter Bright, el 21 de marzo a las 20:07 me escribiste: > Andrei Alexandrescu wrote: > >>.o on Linux, .obj on Windows. > >OBJSUFFIX_win32 = .obj > >OBJSUFFIX_linux = .o > >... > >OS = linux > >... > >... file$(OBJSUFFIX_$(OS)) ... > > I hadn't thought of using macros to generate macros. It's a go

Re: Response files

2009-03-22 Thread BCS
Hello Walter, I keep seeing that as "AARP", the outfit that has started sending me letters to get me to sign up :-( That says nothing. I know of people who get those who can't even vote or drink yet.

Re: Response files

2009-03-22 Thread Walter Bright
Nick Sabalausky wrote: Heh, very true. Of course, both sides could learn a bit from the other. Sometimes the newest/fanciest/most-popular has loads of drawbacks that the kids just don't have the experience to notice, and sometimes those more experienced end up blinded to things that may very we

Re: Response files

2009-03-22 Thread Walter Bright
Georg Wrede wrote: Young people tend to always choose the absolutely best, while older people value stability and longevity of tools. So, yesterday the best was SCons, today it's AAP, what's it gonna be tomorrow? Old people prefer something like make, that's been around for some time, and w

Re: Response files

2009-03-22 Thread Nick Sabalausky
"Georg Wrede" wrote in message news:gq5mp9$2ht...@digitalmars.com... > Nick Sabalausky wrote: >> ""Jérôme M. Berger"" wrote: >>> Or use a build system that abstracts all the differences for you. I >>> use SCons all the time to write software that works on both Linux >>> and Windows and I have no

Re: Response files

2009-03-22 Thread Georg Wrede
Jérôme M. Berger wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick Sabalausky wrote: Yea, I was going to mention that, too. As far as I'm concerned "*make" is the same sort of undead unholy relic as C++. Ie, They've served their use, but these days they're terrible anachronisms that ju

Re: Response files

2009-03-22 Thread Georg Wrede
Nick Sabalausky wrote: ""Jérôme M. Berger"" wrote: Or use a build system that abstracts all the differences for you. I use SCons all the time to write software that works on both Linux and Windows and I have none of the problems you describe: - SCons is released for both Linux and Windows (and

Re: Response files

2009-03-22 Thread Georg Wrede
Andrei Alexandrescu wrote: Walter Bright wrote: Andrei Alexandrescu wrote: .o on Linux, .obj on Windows. OBJSUFFIX_win32 = .obj OBJSUFFIX_linux = .o ... OS = linux ... ... file$(OBJSUFFIX_$(OS)) ... This is so totally neat! I hadn't thought of using macros to generate macros. It's a good

Re: Response files

2009-03-22 Thread Jérôme M. Berger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick Sabalausky wrote: > Yea, I was going to mention that, too. As far as I'm concerned "*make" is > the same sort of undead unholy relic as C++. Ie, They've served their use, > but these days they're terrible anachronisms that just need to be allowe

Re: Response files

2009-03-22 Thread Nick Sabalausky
""Jérôme M. Berger"" wrote in message news:gq4pop$154...@digitalmars.com... > Walter Bright wrote: >> Georg Wrede wrote: >>> 'Round here we say "maassa maan tavalla", which is probably something >>> like "When in Rome, do like the Romans do". >>> >>> Makefiles aren't just a C(++) thing. Unix has

Re: Response files

2009-03-22 Thread Jérôme M. Berger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Walter Bright wrote: > Georg Wrede wrote: >> 'Round here we say "maassa maan tavalla", which is probably something >> like "When in Rome, do like the Romans do". >> >> Makefiles aren't just a C(++) thing. Unix has a culture of its own, >> Windows (I wo

Re: Response files

2009-03-21 Thread Andrei Alexandrescu
Walter Bright wrote: Andrei Alexandrescu wrote: .o on Linux, .obj on Windows. OBJSUFFIX_win32 = .obj OBJSUFFIX_linux = .o ... OS = linux ... ... file$(OBJSUFFIX_$(OS)) ... I hadn't thought of using macros to generate macros. It's a good idea. I confess I also hadn't until the third iterati

Re: Response files

2009-03-21 Thread Walter Bright
Andrei Alexandrescu wrote: .o on Linux, .obj on Windows. OBJSUFFIX_win32 = .obj OBJSUFFIX_linux = .o ... OS = linux ... ... file$(OBJSUFFIX_$(OS)) ... I hadn't thought of using macros to generate macros. It's a good idea.

Re: Response files

2009-03-21 Thread Sean Kelly
Andrei Alexandrescu wrote: More code in makefiles doesn't necessarily improve things quite a lot. druntime has a lot of makefiles; apparently every single blessed thing has a makefile dedicated to it. But that complicates things without benefit. In theory, each thing in druntime with a make

Re: Response files

2009-03-21 Thread Andrei Alexandrescu
Walter Bright wrote: Georg Wrede wrote: 'Round here we say "maassa maan tavalla", which is probably something like "When in Rome, do like the Romans do". Makefiles aren't just a C(++) thing. Unix has a culture of its own, Windows (I wouldn't say have a culture, but still) does it another way

Re: Response files

2009-03-21 Thread Walter Bright
Georg Wrede wrote: 'Round here we say "maassa maan tavalla", which is probably something like "When in Rome, do like the Romans do". Makefiles aren't just a C(++) thing. Unix has a culture of its own, Windows (I wouldn't say have a culture, but still) does it another way. So do we import the

Re: Response files

2009-03-21 Thread Georg Wrede
Andrei Alexandrescu wrote: Walter Bright wrote: Frank Benoit wrote: Because, imagine you set up a build process for your application. Why should i have to care about that difference in my 'makefile', 'rakefile', ... whatever ? I use different makefiles for Windows, Linux, and OSX. It's easier

Re: Response files

2009-03-21 Thread Andrei Alexandrescu
Walter Bright wrote: Frank Benoit wrote: Because, imagine you set up a build process for your application. Why should i have to care about that difference in my 'makefile', 'rakefile', ... whatever ? I use different makefiles for Windows, Linux, and OSX. It's easier than tearing my few strand

Re: Response files

2009-03-21 Thread Nick Sabalausky
"Jason House" wrote in message news:gq2dv9$2vn...@digitalmars.com... > Walter Bright Wrote: > >> Frank Benoit wrote: >> > DMD 1.041 on windows does support response files, that is a file >> > containing arguments. >> > On Linux dmd does not under

Re: Response files

2009-03-21 Thread Frank Benoit
Walter Bright schrieb: > Frank Benoit wrote: >> Because, imagine you set up a build process for your application. Why >> should i have to care about that difference in my 'makefile', >> 'rakefile', ... whatever ? > > I use different makefiles for Windows, Linux, and OSX. It's easier than > tearing

Re: Response files

2009-03-21 Thread Walter Bright
Frank Benoit wrote: Because, imagine you set up a build process for your application. Why should i have to care about that difference in my 'makefile', 'rakefile', ... whatever ? I use different makefiles for Windows, Linux, and OSX. It's easier than tearing my few strands of hair out trying t

Re: Response files

2009-03-21 Thread Walter Bright
Jason House wrote: Ick. Why? Command files are hacks for Window's shortcomings. Why spread such hacks across all platforms? The linux command line is already well adapted to handle this kind of thing. gcc already supports it. There's apparently a demand for it.

Re: Response files

2009-03-21 Thread TomD
Frank Benoit Wrote: [...] > This seems to be enough, however, 32k/64k are not. > There is a related bug, because the dmd response file workaround is not > working with >64k, see http://d.puremagic.com/issues/show_bug.cgi?id=2705 > Just out of curiosity: With which kind of project do you hit this l

Re: Response files

2009-03-21 Thread Frank Benoit
Jason House schrieb: > Walter Bright Wrote: > >> Frank Benoit wrote: >>> DMD 1.041 on windows does support response files, that is a file >>> containing arguments. >>> On Linux dmd does not understand that. >> The windows response files date back t

Re: Response files

2009-03-21 Thread Frank Benoit
Jason House schrieb: > Walter Bright Wrote: > >> Frank Benoit wrote: >>> DMD 1.041 on windows does support response files, that is a file >>> containing arguments. >>> On Linux dmd does not understand that. >> The windows response files date back t

Re: Response files

2009-03-21 Thread Jason House
Walter Bright Wrote: > Frank Benoit wrote: > > DMD 1.041 on windows does support response files, that is a file > > containing arguments. > > On Linux dmd does not understand that. > > The windows response files date back to the problem DOS/Windows had with >

Re: Response files

2009-03-20 Thread Walter Bright
Frank Benoit wrote: DMD 1.041 on windows does support response files, that is a file containing arguments. On Linux dmd does not understand that. The windows response files date back to the problem DOS/Windows had with only a very short command line length was allowed. So the arguments were

Response files

2009-03-20 Thread Frank Benoit
DMD 1.041 on windows does support response files, that is a file containing arguments. On Linux dmd does not understand that. Instead a build mechanism needs to handle dmd in a special way on linux. cat rsp | xargs dmd Would be nice, if both can be used in the same way.