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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9e2f60618cf3eaa8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-23 22:45:48 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: wilhelm.spickermann@t-online.de (Wilhelm Spickermann) Newsgroups: comp.lang.ada Subject: Re: Distributed Ada (Annex E) Date: 23 Oct 2002 22:45:48 -0700 Organization: http://groups.google.com/ Message-ID: <807366e2.0210232145.7e5d0d45@posting.google.com> References: <3DB479E6.1725E12C@lmco.nospammmmmm.com> <87lm4qsybu.fsf@inf.enst.fr> <7vlm4qoars.fsf@vlinux.voxelvision.no> <807366e2.0210221346.1d6b0df0@posting.google.com> <7vadl5o5m2.fsf@vlinux.voxelvision.no> NNTP-Posting-Host: 212.184.132.87 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1035438348 23526 127.0.0.1 (24 Oct 2002 05:45:48 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 24 Oct 2002 05:45:48 GMT Xref: archiver1.google.com comp.lang.ada:30086 Date: 2002-10-24T05:45:48+00:00 List-Id: Ole-Hjalmar Kristensen wrote in message news:<7vadl5o5m2.fsf@vlinux.voxelvision.no>... > wilhelm.spickermann@t-online.de (Wilhelm Spickermann) writes: > > > Ole-Hjalmar Kristensen wrote in message news:<7vlm4qoars.fsf@vlinux.voxelvision.no>... > > ... > > > While we are talking about GLADE, has anyone successfully built it on a Windows NT with GNAT 3-14p? I have Cygwin installed which may have something to do with the following error I get while trying to make the example programs: > > > > Yes, but without cygwin. The Bank example worked with the other > > machine being a debian linux. Both machines were virtual, but that > > shouln't make a difference. Just mail me, if You want my recipe. > > Yes, I would be very interested. I got gnatdist to work, but the > compilation of the examples bomb out with the message that the > distribution feature is not supported. Ok, here are my old notes (Windows menu points translated back to english, which will surely result in some wrong texts...). Starting point was NT4 (SP6), Gnat 3.14p, AdaGide and GtkAda-1.3.6. No installation of cygwin. Installation of Cygwin-Tools(no libs, just some unix-typical exes). AFAIK no longer distributed as a package. Used http://www.caslsoft.com/gcc_tools/cygwin-b20.1-usertools.exe and installed it. Created C:\tmp und C:\bin Copied c:\cygnus\cygwin-b20\H-i586-cygwin32\bin\bash.exe to c:\bin Renamed c:\bin\bash.exe to sh.exe Put link to sh.exe on the desktop with layout-height set to 1000. Menu: Start->Config->Systemcontrol->System->Environment: Append to PATH (semicolon separated): C:\GNAT\lib\gcc-lib\pentiu~1\2.8.1 C:\cygnus\cygwin~1\H-i586~1\bin (The long names don't do it! Find short ones with dir/x) copy glade-3.14p-src.tar.gz to C:\ Start desktop link to sh and there: cd / tar xzf glade-3.14p-src.tar.gz cd glade-3.14p-src edit Dist/xe_reg.adb near line 176 in the comment and the code: replace "Free Software Foundation" with "Ada Core Technologies" edit Garlic/Makefile.in replace sed 's/\013//g' by tr -d '\015' (Yes, also replace 13 by 15) edit Dist/config.sdefault replace sed 's/\015//' by tr -d '\015' ./configure --prefix=/GNAT The prefix value has to be the Registry-Entry HKEY_LOCAL_MACHINE/SOFTWARE/Ada CoreTechnologies/GCC in Unix-Notation. It is case significant! make install I wonder how those sed-commands came into the script -- AFAIK sed never understood the octal backslash notation -- and in one of the places octal and decimal were mixed up. Have fun Wilhelm