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 12:35:00 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!paladin.american.edu!auvm!J64.STRATCOM.AF.MIL!BennettC Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU Newsgroups: comp.lang.ada Encoding: 24 TEXT X-Mailer: Microsoft Mail V3.0 Message-ID: <2EB94BC4@SMTPGATE2.STRATCOM.AF.MIL> Date: Thu, 3 Nov 1994 12:35:00 PST Sender: Ada programming language From: "Bennett, Chip (KTR) ~U" Subject: Re: DOS GNAT 1.83 returns 'unknown file type' on compilation Date: 1994-11-03T12:35:00-08:00 List-Id: Roger Labbe wrote: > 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. Where did you get that the "-c" had to be after the file name? We have gnat for SunOS and DOS. Both allow "gcc -c hello.adb". Could this have something to do with the problem? I wonder if you are picking up an old version of gcc, from somewhere in your path, that was not designed to handle gnat. ***************************************************************** * Chip Bennett, GDE Systems Inc | BennettC@j64.stratcom.af.mil * * USSTRATCOM/J64213 | Voice (402)294-7360 * * 901 SAC Blvd, Suite 2B24 | FAX (402)294-7912 * * Offutt AFB, NE 68113-6600 | Opinions expressed are my own * *****************************************************************