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,ef0a61b3e49bdafe X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-11-03 13:27:20 PST Path: bga.com!news.sprintlink.net!EU.net!uunet!news.gcr.com!mandolin.gcr.com!not-for-mail From: dodger@gcr.com (Roger Labbe) Newsgroups: comp.lang.ada Subject: Re: DOS GNAT 1.83 returns 'unknown file type' on compilation Date: 2 Nov 1994 16:38:45 -0500 Organization: Genuine Computing Resources 703-551-0095 login: guest Message-ID: <3990t5$np1@mandolin.gcr.com> References: <2EB80706@SMTPGATE2.STRATCOM.AF.MIL> NNTP-Posting-Host: mandolin.gcr.com X-Newsreader: NN version 6.5.0 #3 (NOV) Date: 1994-11-02T16:38:45-05:00 List-Id: "Bennett, Chip (KTR) ~U" writes: >Forgive me if I am stating the obvious, but since you didn't mention it, are >you using an extension of "adb" for procedures and bodies, and "ads" for >specs? Yes. I get the error even when trying to compile the example files included in the distribution. Maybe a better question is: am I using the right compile command? The readme.dos file says to use gcc -c hello.adb which doesn't work since gcc expects 'gcc filename [options]'. The commands 'gcc hello.adb' and 'gcc hello.adb -c' are causing the error. Given the possibility that I am using the wrong command, I tried the same thing with the other executables. I get the same 'unknown file type' error. Roger