Mail Archives: djgpp/1996/12/30/12:32:19
On Tue, 24 Dec 1996 12:35:16 -0800 Someone <s2193209 AT cse DOT unsw DOT edu DOT au>
writes:
>Hello all,
> Having programmed with BorlandC for 5 years, I recently moved into
>GCC. Since GCC is 32-bit, I was wondering whether it would be possible
>to write a shell program which would allow the listing and i/o of
>32-bit
>filenames.
Sure, eight bytes easily fits into DOS's 8.3 filename format.
Filenames are formed of strings, and strings aren't limited by register
size the way that integers are. It's the operating system, DOS, that
doesn't allow long filenames - however, GCC will, if you are running in
an environment that supports them (ie, you can't use long file names
under MS-DOG 6, but you can under Lose95).
If your OS supports LFN, just set the variable LFN=y in the djgpp.env.
Be careful not to move this file, or to change any other settings - it's
possible to _really_ mess up your installation if you do.
...Chambers
GNU C: _NOW_ You're Playing with _POWER_ :)
- Raw text -