GENie icon indicating copy to clipboard operation
GENie copied to clipboard

Windows MAX_PATH and command line limits

Open jazzbre opened this issue 7 years ago • 0 comments

I'm constantly hitting the same problem on Windows when coming back from OSX/unix and that's the path and command line limits. I noticed there's a ArchiveSplit in the Lua files but I'm not sure what they do and if they actually work on Windows. For max path limit it would be possible to hash the full path of the source file and just output to ObjDir/$hash$.o instead of the full path. And for the link/archive problems where the path exceeds 32k it would be possible to put all the .o files into a file and have the linker/archiver use that. If it's that's not possible at least a few archivers are capable of adding to the archive.

Any thoughts on this?

jazzbre avatar Apr 21 '17 10:04 jazzbre