Siskin-framework/Builder

Building object followed by error

gregit opened this issue · 2 comments

Looks like the full value of $(CC) becomes 'C:\Program' maybe because of space:

 [pre-make.r3] DONE
 [SISKIN] Environment: ${CL} is {C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\bin\HostX86\x86\cl.exe}
 [SISKIN] Preparing objects dir...
 [SISKIN] Preparing output file name...
 [SISKIN] Environment: ${_} is "make\tmp\cl-x86\host-core-windows-x86"
 [SISKIN] Environment: ${CC} is {C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\bin\HostX86\x86\cl.exe}
 [SISKIN] Environment: ${CCPP} is {C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\bin\HostX86\x86\cl.exe}

Compiling 11 files:
 [   9% ] Building object: $_\C\Users\utilisateur\Rebol3\src\os\host-main.c.o
'C:\Program' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.

Oldes commented

Good point... I'm personally avoiding installation into these Windows' system folders and use mapped drives (to have shorter paths), so I was not hit by it yet.

The question is, if it should not be fixed in Rebol directly? Like instead of:

>> to-local-file %"/c/a b"
== "c:\a b"

We could have {"c:\a b"}?

Oldes commented

It should be fixed in the next release.