comp.lang.ada
 help / color / mirror / Atom feed
From: "Bennett, Chip (KTR) ~U" <BennettC@J64.STRATCOM.AF.MIL>
Subject: Re: DOS GNAT 1.83 returns 'unknown file type' on compilation
Date: Thu, 3 Nov 1994 12:35:00 PST
Date: 1994-11-03T12:35:00-08:00	[thread overview]
Message-ID: <2EB94BC4@SMTPGATE2.STRATCOM.AF.MIL> (raw)

Roger Labbe <dodger@GCR.COM> 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 *
*****************************************************************



             reply	other threads:[~1994-11-03 20:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-11-03 20:35 Bennett, Chip (KTR) ~U [this message]
1994-11-03 20:01 ` DOS GNAT 1.83 returns 'unknown file type' on compilation Roger Labbe
1994-11-04  8:30   ` Samuel Tardieu
  -- strict thread matches above, loose matches on Subject: below --
1994-11-02 21:31 Bennett, Chip (KTR) ~U
1994-11-02 21:38 ` Roger Labbe
1994-11-02  2:06 Roger Labbe
1994-11-03 11:34 ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox