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.3 required=5.0 tests=BAYES_00,FAKE_REPLY_C, MAILING_LIST_MULTI,URI_HEX autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ffbfadabc9c8a704 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-11 11:01:20 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fr.usenet-edu.net!usenet-edu.net!enst.fr!not-for-mail From: "David Botton" Newsgroups: comp.lang.ada Subject: Re: GWindows 1.1 Released Date: Tue, 11 Mar 2003 13:59:48 -0500 Organization: ENST, France Message-ID: Reply-To: "comp.lang.ada mail to news gateway" NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1047409247 61811 137.194.161.2 (11 Mar 2003 19:00:47 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Tue, 11 Mar 2003 19:00:47 +0000 (UTC) To: "comp.lang.ada mail to news gateway" Return-Path: X-pair-Authenticated: 64.144.3.99 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.1 Precedence: list List-Id: comp.lang.ada mail to news gateway List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:35223 Date: 2003-03-11T13:59:48-05:00 Very strange indeed.... I would recommend using: gnatcom-20020610.zip from the AdaPower site http://www.adapower.com/gnatcom David Botton ----- Original Message ----- From: Newsgroups: comp.lang.ada To: Sent: Tuesday, March 11, 2003 11:48 AM Subject: Re: GWindows 1.1 Released > Gautier wrote: > > > > Al: > > > > > If I don't set Ada_Include_Path, how does the compiler find the > > > gnatcom specs? > > > > The compiler also uses the registry to find libraries. E.g. it > > is how it finds the Win32 bindings. You can see it with > > regedit or with the tool gnatreg (GUI variant in gwindows). > > This is getting curious. > > I searched the NT registry for 'gnatcom'; having gnatcom installed in > L:\Ada\GnatCom. I figured that this search would find the path if > it is stored in there. I found an entry in: > > HKLM\Software\Microsoft\Windows\CurrentVersion > \AppPaths\GnatCom1.3p\ > > With a value for path that pointed into L:\Recycler\, ie the trash > for the drive that gnatcom was installed on. Probably not good. > I didn't set it to point at the trash. What's up? IDK. > > I deleted the entry and re-ran the gnatcom install. The installer > did not re-create the entry. > > So, I go to add\remove programs to try to uninstall gnatcom, and it > has some old pointer to a previous version of gnatcom on another > drive, and it won't uninstall. (The registry is evil, particularly > if you don't uninstall before re-installing.) > > So, I go searching again for gnatcom in the registry, trying to find > this old pointer to another drive to get rid of it, and I find that > the gnatcom re-install has added a new setting: > > HKLM\SOftware\Ada Core Technologies\GNAT\Standard Libraries > GNATCOM = L:\Ada\Gnatcom\Bindings > > This wasn't there until I just reinstalled (I'm almost sure). > Will GWindows make install with this new setting and no > Ada_Include_Path? No, but it does give us something else > interesting to consider: > > gnatbind -aO./ -aO../../bindings/ -I- -x gnatreg.ali > gnatlink gnatreg.ali > ld: cannot find -lcomctl32 > gnatlink: cannot call I:\GNAT\BIN\gcc.exe > gnatmake: *** link failed. > make[2]: *** [gnatreg] Error 4 > make[2]: Leaving directory `L:/Ada/gwindows/tools/gnatreg' > make[1]: *** [gnatreg] Error 2 > make[1]: Leaving directory `L:/Ada/gwindows/tools' > make: *** [tools] Error 2 > > > This machine must be haunted. This makefile ran yesterday > afternoon just fine without hitting this error. LibComCtl32.a > is surely in my I:\Gnat\Lib\Win32 directory. > > I uninstall and reinstall GnatWin-3.15p.exe to see if that fixes > anything, then re-run Gwindows 'make ANSI=1 install'. It works > fine with no ADA_INCLUDE_PATH now that the GnatCom registry > setting (above) is there. Why it wasn't there yesterday is > just another one of those mysteries. > > > Al > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada