Failed to build on Windows 7 64-bit

Henry Jen henry.jen at oracle.com
Mon Feb 4 20:10:48 PST 2013


On 02/04/2013 07:55 PM, Tim Bell wrote:
> On 02/04/13 18:03, Henry Jen wrote:
>> configure:19186: $? = 2
>> configure:19206: checking whether the C compiler works
>> configure:19228: /cygdrive/c/progra~2/micros~2.0/vc/bin/amd64/cl
>> conftest.c  >&5
>> Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64
>> Copyright (C) Microsoft Corporation.  All rights reserved.
>>
>> conftest.c
>> c1 : fatal error C1083: Cannot open compiler intermediate file:
>> '/cygdrive/c/Program Files (x86)/Microsoft Visual Studio
>> 10.0/VC/BIN/amd64/cl EOL\_CL_6a7a6a5bex': No such file or directory
> 
> 1) What values of TEMP temp TMP tmp do you have in your environment?
> 
> 
> 2) What happens if you run this by hand?
> 
> Create conftest.c in some temp area:
> 
> int
> main ()
> {
> 
>   ;
>   return 0;
> }
> 
> Run the compiler:
> 
> /cygdrive/c/progra~2/micros~2.0/vc/bin/amd64/cl conftest.c
> 

Works just fine.

Cheers,
Henry

$ cat test.c
int main(int argc, char** args) {
;
return 0;
}


$ /cygdrive/c/progra~2/micros~2.0/vc/bin/amd64/cl.exe test.c
Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

test.c
Microsoft (R) Incremental Linker Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:test.exe
test.obj

$ echo $TEMP


$ echo $TMP


$



More information about the build-infra-dev mailing list