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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d92cd733dc93e4e4 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: comp.lang.ada Subject: Re: Gnat 3.15p @ win-2000 recompiles _all_ internal packages ... References: <4479594b$1_6@news.bluewin.ch> From: M E Leypold Date: 30 May 2006 00:30:44 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Some cool user agent (SCUG) NNTP-Posting-Host: 88.72.226.165 X-Trace: news.arcor-ip.de 1148941548 88.72.226.165 (30 May 2006 00:25:48 +0200) X-Complaints-To: abuse@arcor-ip.de Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor-ip.de!news.arcor-ip.de!not-for-mail Xref: g2news2.google.com comp.lang.ada:4593 Date: 2006-05-30T00:30:44+02:00 List-Id: Gautier writes: > Maybe you have to look at: > > - the -i switch (did you set it ?), in order to have the .o,.ali files > replacing the previous ones Well -- there are previous ones and they appear up to date. I don't want them to be replaced: I'm quite confused that Gnat thinks it necessary to recompile the standard library at all. > - use of the -I or better the -aO switch to make GNAT look at the > objects files. Good idea: I'll try it some time this week. I don't think though, that Gnat actually doesn't see the standard library in that installation: It can compile the projects without '-a' well enough (and AFAIR without recompiling the standard library). If it didn't see the object files of the standard lib I'd expect the linking step to fail, or wouldn't it? > - the read-only attributes of the .ali files Hm. I don't understand the significance of this, but I'll have a look in the gnat_ug again and think about it. > - GNATReg: GNAT 3.15p also look(ed) in the registry for pathes not set > in ADA_OBJECTS_PATH; perhaps your specific library path is neither > path collection ? But wouldn't that mean, that I wouldn't be able to compile _anything_ without '-a'? But I can ... But thanks -- I'll do more research in the directions indicated. Regards -- Markus