Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Volker Simonis
Ok, I think I can live with ALT_OUTPUTDIR=$(OUTPUTDIR)-$(DEBUG_NAME) as well. This at least honours the original user setting of ALT_OUTPUTDIR (though with a "-debug" suffix). But it will create FOUR outputdirectories, if we say "make debug_build ALT_OUTPUTDIR=xxx" of which only "xxx-debug" will

RE: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Ted Neward
But wait a minute, how often do people really do both builds in the same make step? How hard would it be for those who do to do something like make product_build ALT_OUTPUTDIR=/opt/jdk7-product; make debug_build ALT_OUTPUTDIR=/opt/jdk7-debug; make fastdebug_build ALT_OUTPUTDIR=/opt/jdk7-fastdeb

RE: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Ted Neward
> You wrote that the "MKDIRs" in the setup rules are only needed to > workaround a windows problem. I didn't built an Windows, but perhaps > somebody can try if they are still needed (Ted?). And if they will be > really needed, perhaps we can conditionally enable them on Windows > only, so we don't

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Volker Simonis
> Is it acceptable to assume that any ALT_OUTPUTDIR setting is a path without > spaces? For me that's perfectly fine! > -kto > > Ted Neward wrote: > >> You wrote that the "MKDIRs" in the setup rules are only needed to > >> workaround a windows problem. I didn't built an Windows, but perhaps > >>

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Kelly O'Hair
What you recommend should work now, with the empty directory clutter there, which I think we can figure out and fix. -kto Ted Neward wrote: But wait a minute, how often do people really do both builds in the same make step? How hard would it be for those who do to do something like make prod

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Kelly O'Hair
I didn't address the building both with one step... For OPENJDK, we don't build both at the same time. But for the Sun JDK product itself our Release Engineering (RE) team does it all the time, and we have tried to make sure that teams integrate using the same steps as RE as much as possible (h

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Kelly O'Hair
Sigh... These short names (what did you call them 8.3? what is that?) on windows only make sense on directories that exist and never get deleted, like the install location of the C++ compiler etc. They just don't work well with directories that are being created or deleted and re-created. I t

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Kelly O'Hair
Remove the last two MKDIR lines. I don't think they are needed and that might help. -kto Volker Simonis wrote: Ok, I think I can live with ALT_OUTPUTDIR=$(OUTPUTDIR)-$(DEBUG_NAME) as well. This at least honours the original user setting of ALT_OUTPUTDIR (though with a "-debug" suffix). But it

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Volker Simonis
Thank you - looks reasonable to me. Volker On 1/11/08, Kelly O'Hair <[EMAIL PROTECTED]> wrote: > Ah, shortpath == 8.3. Thanks for the history, and I agree, they are a royal > pain. > The Makefiles use 'cygpath -m -s -a PATH' or with MKS 'dosname -s PATH' to > get these > paths because dealing wi

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Kelly O'Hair
Ah, shortpath == 8.3. Thanks for the history, and I agree, they are a royal pain. The Makefiles use 'cygpath -m -s -a PATH' or with MKS 'dosname -s PATH' to get these paths because dealing with paths that have spaces in Makefiles or shell commands is pretty impossible to keep correct. --- FYI

RE: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Ted Neward
The "8.3" name is the shortened translation of a long filename, for DOS backwards compatibility. It was introduced in Windows95 (!), and has never gone away since. You take the first six characters as-is, add a tilde (not a ? as I used below, sorry) and then an increasing number to guarantee uni