Re: Problem building openjdk using cygwin

2018-04-02 Thread Alireza Mohamadi
Thanks Volker you are awesome! After reading resources you've mentioned and doing some research I became able to set short name for "Micrisoft Visual Studio" directory using: `fsutil file setshortname "C:\Program Files (x86)\Microsoft Visual Studio" msvs`, without even enabling 8dot3name globally.

Re: Problem building openjdk using cygwin

2018-04-01 Thread Volker Simonis
Hi Alireza, sorry if my answer (and especially the link which I provided) have been unclear. You don’t have to create any junctions. You just have to enable short (i.e. „8.3“ filenames) for the drive /directory where you have installed Visual Studio. Afterwards you must copy “microsoft visual

Re: Problem building openjdk using cygwin

2018-03-31 Thread Alireza Mohamadi
Hi Volker, gratitude for answering my question. After reading Q link you provided I realized how to make junctions but I don't know which source should be attached to the target? As you've mentioned `:/cygdrive/c/progra~2/microsoft: No such file or directory` means there are no links available for

Re: Problem building openjdk using cygwin

2018-03-29 Thread Volker Simonis
Hi Alireza, it seems you don’t have short file names enabled for the “Program Files” directory. Notice that you have short file names enabled for “c:\” (i.e. you have “progra~2”). You have to first enable short file names for the “Program Files” directory (see for example

Problem building openjdk using cygwin

2018-03-28 Thread Alireza Mohamadi
Hi. I wanted to build OpenJDK in windows using cygwin, and I set VC compiler path, but due to whitespaces in the path I can't build, with the following error: ``` configure: Rewriting CC to "/cygdrive/c/progra~2/microsoft visual studio/2017/community/vc/tools/msvc/14.13.26128/bin/hostx86/x64/cl"