comp.lang.ada
 help / color / mirror / Atom feed
From: wilhelm.spickermann@t-online.de (Wilhelm Spickermann)
Subject: Re: Distributed Ada (Annex E)
Date: 23 Oct 2002 22:45:48 -0700
Date: 2002-10-24T05:45:48+00:00	[thread overview]
Message-ID: <807366e2.0210232145.7e5d0d45@posting.google.com> (raw)
In-Reply-To: 7vadl5o5m2.fsf@vlinux.voxelvision.no

Ole-Hjalmar Kristensen <oleh@vlinux.voxelvision.no> wrote in message news:<7vadl5o5m2.fsf@vlinux.voxelvision.no>...
> wilhelm.spickermann@t-online.de (Wilhelm Spickermann) writes:
> 
> > Ole-Hjalmar Kristensen <oleh@vlinux.voxelvision.no> 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



  reply	other threads:[~2002-10-24  5:45 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-21 22:04 Distributed Ada (Annex E) Joe Simon
2002-10-22  4:47 ` Dale Stanbrough
2002-10-22  7:54 ` Samuel Tardieu
2002-10-22  8:00   ` Preben Randhol
2002-10-22 13:36   ` Ole-Hjalmar Kristensen
2002-10-22 14:34     ` Ole-Hjalmar Kristensen
2002-10-22 15:58       ` Joe Simon
2002-10-22 21:46     ` Wilhelm Spickermann
2002-10-23  9:40       ` Ole-Hjalmar Kristensen
2002-10-24  5:45         ` Wilhelm Spickermann [this message]
2002-10-24  9:45           ` David C. Hoos, Sr.
2002-10-24 11:36             ` Ole-Hjalmar Kristensen
2002-10-24 12:14               ` David C. Hoos, Sr.
2002-10-24 15:27             ` Wilhelm Spickermann
2002-10-24 19:20               ` David C. Hoos
2002-10-25  5:02                 ` Wilhelm Spickermann
2002-10-25 11:07                   ` David C. Hoos, Sr.
2002-10-25 14:05                     ` Wes Groleau
2002-11-03  1:37 ` David Marceau
replies disabled

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