Mail Archives: djgpp/2000/08/10/05:30:57
> > A small question about this VF problem: wouldn't be possible
> > to set once for all the name lengths to 8 on the C/C++
> > front-end ?
Eli:
> I'm not sure I understand: are you suggesting to limit names of all
> standard C++ header files and libraries to 8+3?
Exactly! If I consider the full GNAT run-time library 3.12 for DOS,
there are 662 files ("header" .ads and "code" .adb), with the complete
Ada95 standard packages (Ada.*, Interfaces.*) plus GNAT-specific ones...
The names are "crunched", e.g. for extreme cases
a-chahan.ads -> Ada.Characters.Handling
a-llfwti.ads -> Ada.Long_Long_Float_Wide_Text_IO
a-exctra.ads -> Ada.Exceptions.Traceback
i-os2thr.ads -> Interfaces.OS2Lib.Threads
When built for DOS, GNAT will search for crunched 8.3 names (even if it runs
under whatever LFN system), for your own files too. If you need the
"Unzip.Streams" package, it will search for file "unzistre.ads" and so on.
There is even an utility, gnatchop, that splits a file with any
number of Ada sources into files with names "crunched" for the
target system!
> If so, this is not
> the right place to suggest that: you need to talk the libg++
> maintainers into making that change. (I suspect that you will only
> hear laughter in response...)
I do not doubt of it!
> But if you can suggest a reasonable DJGPP-specific solution that would
> reliably work, please do. Nobody enjoys answering the FAQs about
> stream~1.h here, we just didn't find any way of solving that better
> than what's already in the docs and the FAQ.
Technically, it's absolutely feasible, since it works
with the GNAT front-end. This can be even done for the
standard library files, not for user files. In fact GNAT
for NT ("official") does so. Now, where to patch the
C/C++ front end for that purpose is another question...
______________________________________________________
Gautier -- http://members.xoom.com/gdemont/gsoft.htm
- Raw text -