This is the TinyCC repo. Can it handle UNC paths on Windows?
Jump to turn (27)
- 1This is the TinyCC repo. Can it handle UNC paths on Windows?
- 2There is a binary C:\tinycc\win32\tcc.exe but it's built in 2025 so it's not the
- 3Go on
- 4You're running in PowerShell. Do not use bash syntax.
- 5Now test whether MSVC cl support these kinds of UNC paths. I've activated a MSVC
- 6Show an example of how to use standard UNC path in tcc and cl respectively.
- 7Can you explain why cl fails with \\.\C:\? Is there any online document about th
- 8If I use tcc with a \\?\C:\ path in Python's subprocess, does it still suffer fr
- 9Now test whether C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.0\bin\pt
- 10You may use sm86, which is this GPU
- 11Can we modify and compile tinycc so it supports \\?\ paths?
- 12We prefer to let the previously built tinycc bootstrap the new tinycc
- 13I've reverted C:\tinycc\win32\tcc.exe . There must be a way to bootstrap using t
- 14I've reverted C:\tinycc\win32\tcc.exe , and copied the whole win32 folder to win
- 15Read the build script to understand how it works, then do the bootstrap.
- 16I've repackaged the folder win32old. Now C:\tinycc\win32old\tcc.exe -v works. Tr
- 17Apply the patch to disable wilidcard, then compile again.
- 18Show the command you used to bootstrap tinycc.
- 19Now consider: How to let cl work with \\?\ , which is the only way to avoid 260
- 20Create a test file in the current folder with a long path exceeding 260 chars, t
- 21What if the shortened path still exceeds 260 chars?
- 22Now write a minimal Python function to call GetShortPathNameW , without assuming
- 23Is it true that GetShortPathNameW cannot look up it if it's longer than 260 char
- 24How can I verify that Python is compiled with longPathAware?
- 25So we can assume that recent versions of Python have longPathAware enabled. Now
- 26What if I want cl to output a binary which doesn't yet exist, which has a path l
- 27What if the output filename itself rather than the directory tree is longer than
- User
This is the TinyCC repo. Can it handle UNC paths on Windows?
- User
There is a binary C:\tinycc\win32\tcc.exe but it's built in 2025 so it's not the latest. You may test it anyway.
- User
Go on
- User
You're running in PowerShell. Do not use bash syntax.
Assistant