On Wed, Dec 11, 2002 at 10:34:43PM +0100, Martin Hermanowski wrote:
> Hello,
> I want to compile an ada program, it works if I use `gnatmake', but if
> I want to use a Makefile or cook, gcc -c won't compile:
> 
> ,----
> | (22:29:58)(#1,x0)martin@pegasus:~/priv/dev/ada (626)>cook
> | /* /home/martin/crypto/priv/dev/ada/Howto.list */
> | cook: gcc -c main.adb
> | gcc: main.adb: Ada compiler not installed on this system
> | cook: command gcc: exit status 1
> | cook: main: not done because of errors
> `----
> 
> How can I get the correct behaviour?

Use gnatmake in your makefiles.  AFAIK, gcc can't make an executable
from Ada source w/o some help anyway...

But, are you sure your "gcc" points at an Ada capable version?

-- 
"...the plural of anecdote is [not?] data."  - attrib. to George Stigler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to