Old bug: the 14-character limit.
DJ Delorie
dj@redhat.com
Fri May 23 20:54:00 GMT 2003
> Is there a documented upper limit on file name length for the gcc tree?
I don't know of any hard limits, but as long as files are unique in
the 8.3 characters (i.e. first 8 characters of the basename, first 3
characters of the extension), even DJGPP won't care about the length.
IIRC Windows has a hard upper limit on total path size, but I forget
what it is. DJGPP's MAXPATH is 260 (for LFN; 80 for SFN), which is
probably related to the Windows limit.
Note that some archive formats (ar) have object name length limits.
More information about the Gcc
mailing list