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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4377c8caa0e42551,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-01-08 20:33:02 PST Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!gatech!bloom-beacon.mit.edu!spool.mu.edu!uwm.edu!msunews!scss3.cl.msu.edu!mrr From: mrr@scss3.cl.msu.edu (Mark Riordan) Newsgroups: comp.lang.ada Subject: GNAT NT & Ada.Direct_IO Date: 9 Jan 1995 04:33:02 GMT Organization: Michigan State University Message-ID: <3eqe9u$n0b@msunews.cl.msu.edu> NNTP-Posting-Host: scss3.cl.msu.edu X-MSUnetID: mrr X-Newsreader: TIN [version 1.2 PL1] Date: 1995-01-09T04:33:02+00:00 List-Id: I have been using GNAT NT 2.0c to try to recompile the file a-direio.adb, which is the package body Ada.Direct_IO. When I run: gcc -c a-direio.adb I am surprised to get the message: "No code generated for Ada.Direct_Io (body) in file a-direio.adb" [The non-capitalization of _Io is interesting, but that's just a passing point.] Other Ada bodies generally compile OK. I suspect that the problem here is my trying to compile an "Ada." package, but I don't know why that's a problem. Incidentally, the reason I'm trying to recompile Ada.Direct_IO is that the Public Ada Library Card Catalog program doesn't work under GNAT NT. It appears to be choking on a control-Z in a binary input file; the direct I/O files are being opened in text mode by the Direct_IO package. I'm trying to hack around the problem. Thanks for any help, Mark R a newcomer to Ada