From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4c019ad9cc913bbe X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-19 08:30:48 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: The Dreaded "Missing Subunits" Date: 19 Sep 2002 11:19:12 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: <1b585154.0209121449.ef12609@posting.google.com> <3D819EE7.3A69E5EB@praxis-cs.co.uk> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1032449370 17509 128.183.220.71 (19 Sep 2002 15:29:30 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 19 Sep 2002 15:29:30 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:29179 Date: 2002-09-19T15:29:30+00:00 List-Id: Keith Thompson writes: > Robert A Duff writes: > > Stephen Leake writes: > > > Robert A Duff writes: > > > > (I must admit, that wasn't easy in the days when operating systems > > > > had unreasonable limits on file names (like only one dot, or only 8 > > > > characters). Are those bad-old-days over?) > > > > > > I hope they are over. But we are stuck with their legacy; all of the > > > GNAT compiler source files are krunched to 8.3 names. > > > > Yeah, I find that annoying. > > And eminently fixable, if the ACT folks care to do it. > > In the meantime, it shouldn't be too difficult to run a script over > the source directories that creates symbolic links with the full > names. (Yes, I'm assuming a Unix-like environment.) I had hoped gnatchop would do exactly that, since that's what it does for "normal" code. But apparently gnatchop has the System and Ada packages hardcoded as special cases, because it produced the same 8.3 file names. One of these days, I'll get the source for gnatchop, and take out the hardcoding. In the meantime, I just cope. Actually, Emacs ada-mode has an interface to gnatchop, so if I put the cursor on 'with Ada.Text_IO', and hit a key, it knows how to find the 8.3 filename. That helps a lot. -- -- Stephe