comp.lang.ada
 help / color / mirror / Atom feed
From: digitig <digitig@gmail.com>
Subject: Trying to get A# set up (and failing)
Date: Fri, 14 May 2010 05:44:06 -0700 (PDT)
Date: 2010-05-14T05:44:06-07:00	[thread overview]
Message-ID: <0e7f5887-c1a4-4583-a0f4-f9c2adb38ec7@37g2000yqm.googlegroups.com> (raw)

I've come back to this after getting nowhere a while ago -- this time
on a new computer so starting again from scratch.

I am trying to follow the instructions at http://asharp.martincarlisle.com/

I'm failing at the step "Then at the sourceforge download site, you
can get:
mgnat.zip"

The sourceforge site linked takes me to http://sourceforge.net/projects/asharp/,
and the "View all files" link takes me to http://sourceforge.net/projects/asharp/files/,
where I find and download mgnat20060606.zip

I unzip that into a temporary directory, and the readme tells me "To
register the DLLs:
   cd dll
   register_mgnat.bat"

I don't know whether "This must be done using a UNIX shell, such as
cygwin" or whether it should be done in a DOS shell, but either way I
get an error that gacutil is not a recognised command. What am I
missing?

Hoping that that might not matter for now, I try the next step:
   To build compiler from sources:
   mgnat.exe, mgnatbind.exe, mgnatmake.exe, mgnatlink.exe
   (edit makefile to reflect your directory structure)

   cd src
   make mgnat

I can't work out how to edit the makefile -- I've tried setting the
paths to what I /think/ will be right when I make under Cygwin:
   BUILD_DIR = /cygdrive/c/GNAT/2009/mgnat
   DLL_DIR = /cygdrive/c/GNAT/2009/mgnat/dll
   DLL_DOS_DIR = /cygdrive/c/GNAT/2009\mgnat\dll
   # Directory inside which the MGNAT build is to take place. See the
section
   # on "MGNAT Build Directory Organization" below.

   GNAT_DIR = /cygdrive/c/Program\ Files/Ada/mgnat/src
   # Directory containing the GNAT sources

   ################################
   # Makefile Optional Parameters #
   ################################

   MGNAT_DIR = $(GNAT_DIR)
   # Directory containing the Ada, C and Java sources specific to
MGNAT

   INSTALL_BASE = /cygdrive/c/GNAT/2009
   # Directory where the MGNAT release is to be installed. If empty
"/" is used.

make mgnat fails with:
   2 [main] make 3648 sig_send: wait for sig_complete event failed,
signal 6, rc258, Win32 error 0

I have no idea what that means. I'm way out of my comfort zone using
make and Cygwin -- is there an idiot's guide to getting A# installed
under MS Windows (Version 7, if that makes a difference), or could
somebody take me through this in small, simple steps, please? Or does
this mean that I'm not smart enough to use A#?



             reply	other threads:[~2010-05-14 12:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-14 12:44 digitig [this message]
2010-05-14 13:08 ` Trying to get A# set up (and failing) Pascal Obry
2010-05-14 13:16   ` Pascal Obry
2010-05-14 15:38     ` digitig
2010-05-18 10:58     ` digitig
2010-05-19 21:16       ` Albrecht Käfer
replies disabled

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