Fredrik/Jim,

Thank you for the answers. It really is the path "/home/..." that confuses uncygdrive. When I open cygwin, I'm in my home dir /home/suwei, which is actually c:/cygwin/home/suwei, so I cd to /cygdrive/c/cygwin/home/suwei, although it's the same location. Then everything was fine running from there.

Thank you,
Sue

On 4/26/2012 12:37 PM, Fredrik Öhrström wrote:
Aha! I think the reason is that uncygdrive only knows how to translate from
from /cygdrive/c/cygwin/home/suwei/.... to c:/cygwin/home/suwei/....

It does not know that it should translate /home into c:/cygwin/home

Pleasy try to use the explicit path /cygdrive/c/... instead of /home

We should add support for /home to uncygdrive. And support for
detecting which cygdrive prefix is actually used. In 99% of the case
it is just /cygdrive, but it can be changed.

//Fredrik

Den torsdagen den 26:e april 2012 skrev SUE WEI:

    I tried to use the new building system to build lambda jdk, but I
    got the following error at the first step autoconf/configure:

    ...
    checking if uncygdrive can be created...
    C:/cygwin/home/suwei/lambda-4-25/build/
    windows-ia32-normal-clientANDserver-release/uncygdrive.exe
    checking if uncygdrive.exe works... no
    Microsoft (R) 32-bit C/C++ Optimizing Compiler Version
    16.00.30319.01 <tel:16.00.30319.01> for 80x86
    Copyright (C) Microsoft Corporation.  All rights reserved.

    cl : Command line warning D9002 : ignoring unknown option
    '/home/suwei/lambda-4-
    25/common/src/uncygdrive.c'
    cl : Command line error D8003 : missing source filename
    configure: error: Uncygdrive did not work!

    Did anyone happen to have the same problem, or know what I need to
    do to solve the problem?

    Thank you,
    Sue


    On 4/12/2012 2:47 AM, Magnus Ihse Bursie wrote:

        The build-infra project [1] has been working for a while with
        creating a new build system. The goals of the project include,
        but are not limited to, improved build performance and
        improved ease of use.

        The first part of this project has now been pushed to the jdk8
        master forest. This means that the new build system is
        available for you to try out! The old build system is still
        there, and if you want to continue to use it, you will notice
        no difference (for now...).

        But if you are interested in trying the new build system, we
        welcome you to experiment with it! The basic operation is:
         cd common/makefiles
         ../autoconf/configure
         make

        More information is available in the new build README [2]. If
        you want to try the new build system, please read it first.

        Please note that the new build system is not yet complete. We
        do not yet have full platform support, nor are all parts of
        the old build converted (but then we fall back on the old
        build system), and there are likely to be bugs. Most of all,
        we need to have exposure on a wide range of different build
        systems, since the reality is always so much messier than
        you'd want to believe. :-) Please help us to resolve such
        issues early by trying the new build system!

        Any questions or discussions on the new build system should be
        sent to [email protected].

        /Magnus

        [1] http://openjdk.java.net/projects/build-infra/index.html
        [2] http://openjdk.java.net/projects/build-infra/guide.html

Reply via email to