comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: gnatmake problem
Date: Thu, 22 Apr 2010 13:34:15 +0200
Date: 2010-04-22T13:34:13+02:00	[thread overview]
Message-ID: <8m6cfum3r13g.19qxpmct6a45e$.dlg@40tude.net> (raw)
In-Reply-To: 4bd031a4$0$6891$9b4e6d93@newsspool2.arcor-online.net

On Thu, 22 Apr 2010 13:23:15 +0200, Georg Bauhaus wrote:

> On 22.04.10 12:47, Dmitry A. Kazakov wrote:
>> Did anybody experienced weird problems with linux gnatmake (gcc-gnat
>> version 4.4.3-4). The problem manifests itself when dealing with a cifs
>> volume (mounted share). gnatmake sees no files there. When I type
>> 
>> $ gnatmake x.adb
>> 
>> I get:
>> 
>> gnatmake: "x.adb" not found
>> 
>> $ gcc -c x.adb
>> 
>> works. The gnatmake from GNAT GPL 2009 sees files as well.
> 
> Running on Debian,
> 
> $ gnatmake kannweg.adb
> gcc-4.3 -c kannweg.adb
> kannweg.adb:1:01: compilation unit expected
> gnatmake: "kannweg.adb" compilation error
> 
> $ mount |grep cifs
> //sambal/datente on /mnt type cifs (rw,mand)
> 
> $ pwd
> /mnt/home/bauhaus/News
> 
> $ lsb_release --all
> LSB Version:
> core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch
> Distributor ID:	Debian
> Description:	Debian GNU/Linux 5.0.4 (lenny)
> Release:	5.0.4
> Codename:	lenny
> 
> $ gnatmake -gnatc -v kannweg.adb
> 
> GNATMAKE  4.3.2
> Copyright (C) 1995-2007, Free Software Foundation, Inc.
>   "kannweg.ali" being checked ...
>   -> "kannweg.ali" missing.
> gcc-4.3 -c -gnatc kannweg.adb
> kannweg.adb:1:01: compilation unit expected
> End of compilation

But you have gcc/gnat 4.3.x, that worked to me too. GNAT GPL 2009 is 4.3.x.

The bug seem to be introduced with gcc 4.4.x. I discovered it when I
upgraded Fedora to core 12.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2010-04-22 11:34 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-22 10:47 gnatmake problem Dmitry A. Kazakov
2010-04-22 11:23 ` Georg Bauhaus
2010-04-22 11:34   ` Dmitry A. Kazakov [this message]
2010-04-22 16:14 ` Dmitry A. Kazakov
2010-04-22 20:01   ` Anh Vo
2010-04-22 20:42     ` Dmitry A. Kazakov
2010-04-23 10:30       ` Ludovic Brenta
2010-04-23 13:43         ` Dmitry A. Kazakov
2010-04-23 14:19           ` Fedora, Debian and other GNU/Linux distributions (was: gnatmake problem) Ludovic Brenta
2010-04-23 14:53             ` Fedora, Debian and other GNU/Linux distributions Dmitry A. Kazakov
2010-04-23 16:38               ` Warren
2010-04-23 18:06                 ` Ludovic Brenta
2010-04-23 20:33                   ` Warren
2010-05-01 18:55         ` gnatmake problem Dmitry A. Kazakov
2010-05-01 20:11           ` Ludovic Brenta
2010-05-02  9:56             ` Dmitry A. Kazakov
2010-05-01 22:26           ` Simon Wright
2010-05-02  9:56             ` Dmitry A. Kazakov
2010-05-02 11:42               ` Simon Wright
2010-05-02 12:59                 ` Dmitry A. Kazakov
replies disabled

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