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,b337cced42cde073 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!peer-uk.news.demon.net!kibo.news.demon.net!mutlu.news.demon.net!news.demon.co.uk!demon!not-for-mail From: "Luke A. Guest" Newsgroups: comp.lang.ada Subject: Re: [Announce] ASIS for GNAT gcc-3.4.4-20041123 released Date: Mon, 29 Nov 2004 11:05:11 +0000 Message-ID: References: <1499918.H6apBFzPOH@linux1.krischik.com> <1291222.STAhZrgZti@linux1.krischik.com> NNTP-Posting-Host: abyss2.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.demon.co.uk 1101726311 27692 62.49.62.197 (29 Nov 2004 11:05:11 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Mon, 29 Nov 2004 11:05:11 +0000 (UTC) User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Xref: g2news1.google.com comp.lang.ada:6628 Date: 2004-11-29T11:05:11+00:00 List-Id: On Mon, 29 Nov 2004 09:25:19 +0100, Martin Krischik wrote: > To the correct position? Yes, but it doesn't work. > echo $GNATSRC > /work/gnu_3.4/gcc/gcc/ada > > It's not my choice! adabrowse and GLADE use GNATSRC as well. > >> make gnat >> make -e -C gnat >> make[1]: Entering directory >> `/usr/src/gcc-builds/gcc-341/asis-3_4_4-20041123.src/gnat' >> make[1]: *** No rule to make target `version.c', needed by `gnat'. Stop. >> make[1]: Leaving directory >> `/usr/src/gcc-builds/gcc-341/asis-3_4_4-20041123.src/gnat' make: *** >> [gnat] Error 2 >> >> I copied version.c/h manually. > > You should not need that: Why is it in the makefile then? > -- snip gnat/Makefile > ./%.ads : \ > ${GNATSRC}/%.ads > $(CP) $(<) $(@) > > ./%.adb : \ > ${GNATSRC}/%.adb > $(CP) $(<) $(@) > > ./%.c : \ > ${GNATSRC}/../%.c > $(CP) $(<) $(@) > > ./%.h : \ > ${GNATSRC}/../%.h > $(CP) $(<) $(@) > -- snap gnat/Makefile What is that supposed to show? >> After "make install" >> >> gnatbind -aO./ -aO/opt/ada/include/asis -static -I- -x gnatelim-driver.ali >> error: "g-string.ali" not found, "g-string.adb" must be compiled >> gnatmake: *** bind failed. >> make[1]: *** [gnatelim] Error 4 >> make[1]: Leaving directory >> `/usr/src/gcc-builds/gcc-341/asis-3_4_4-20041123.src/tools/gnatelim' make: >> *** [install] Error 2 > > Funny, g-string is the last one in the list, Yes and if you look in the GNAT_Body, you have g-string.ads NOT g-string.adb, but if I change the makefile, it does not copy it across. > -- snip gnat/Makefile > > GNAT_Body := \ > ./atree.adb \ > ./casing.adb \ > ./csets.adb \ > ./debug.adb \ > ./einfo.adb \ > ./elists.adb \ > ./fname.adb \ > ./gnatvsn.adb \ > ./krunch.adb \ > ./lib.adb \ > ./lib-list.adb \ > ./lib-sort.adb \ > ./namet.adb \ > ./nlists.adb \ > ./opt.adb \ > ./output.adb \ > ./repinfo.adb \ > ./scans.adb \ > ./sinfo.adb \ > ./sinput.adb \ > ./snames.adb \ > ./stand.adb \ > ./stringt.adb \ > ./table.adb \ > ./tree_in.adb \ > ./tree_io.adb \ > ./types.adb \ > ./uintp.adb \ > ./uname.adb \ > ./urealp.adb \ > ./widechar.adb \ > ./g-string.ads > -- snap gnat/Makefile > > And you notice something else? All other entries are sorted. Concusion: > I have added g-string later and you use an old version. I don't understand what that's supposed to mean? >> Again, it's the same errors I emailed you about. > > Yes, thats why I tested the system and made a release. Otherwise I would > have been to lazy. Of course I cleared out the "gnat/" directory and > made everything new. The "gnat/Makefile" copied everything into the > "gnat/" what is needed. > > For the release I copied the files into "gnat/gcc_3.4.4/". > > BTW: I always look for a maintainer for the gcc releases I don't use. Well, I've tried a whole load of different versions and none work, this project just doesn't compile adn the flaky makefiles just dont help either. Personally, I'd prefer it if AdaCore got their act together and released ASIS to the FSF then it'd compile as part of the gnattools target. Luke.