comp.lang.ada
 help / color / mirror / Atom feed
From: Anders Wirzenius <anders@no.email.thanks.invalid>
Subject: GNAT on a multiboot computer
Date: Tue, 26 Oct 2004 07:03:27 GMT
Date: 2004-10-26T07:03:27+00:00	[thread overview]
Message-ID: <uu0sihsg1.fsf@no.email.thanks.invalid> (raw)

Hi,

Does anyone have a good advice on how to set up the
GNAT compiler system on a multiboot Windows computer?

<context>
I have a multiboot computer (Win XP, Linux Debian, Win 2003).
Each of these OSes reside on its own physical harddisk. The boot
is guided by a lilo which assigns the appropriate harddisk
as the boot disk for each OS.
GNAT was installed when the computer was booted as XP. The 
installation was done using the gnat-3.15p-nt.exe installation
program and works fine. The files were copied to C:\GNAT\...
</context>

Now I want to use GNAT when the computer is booted as Win 2003.
The boot disk is E: with environment variable SystemDrive=E:.

I have set following variables in Win 2003:
ADA_INCLUDE_PATH=C:\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1\adainclude
ADA_OBJECTS_PATH=C:\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1\adalib
Path=C:\GNAT\bin;C:\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1;
E:\WINDOWS\system32;E:\WINDOWS;E:\WINDOWS\system32\WBEM;
E:\oracle\product\10.1.0\Db_1\bin;
E:\oracle\product\10.1.0\Db_1\jre\1.4.2\bin\client;
E:\oracle\product\10.1.0\Db_1\jre\1.4.2\bin;

, but I get still an error message (F: is a data partition on the
same physical hard disk as where E: resides):

F:\anders>gnatmake test
gnatbind -x test.ali
gnatlink test.ali
ld: cannot open crt2.o: No such file or directory
gnatlink: cannot call C:\GNAT\bin\gcc.exe
gnatmake: *** link failed.

crt2.o is found in
C:\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1 and
gcc.exe is found in C:\GNAT\bin\,
both is in the PATH variable.

Any hints how to proceed?
Maybe Win 2003 access rights on the XP hard disk directories C:\GNAT\
play a role?

TIA
Anders



             reply	other threads:[~2004-10-26  7:03 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-26  7:03 Anders Wirzenius [this message]
2004-10-26  7:31 ` GNAT on a multiboot computer Adrien Plisson
2004-10-26  7:51   ` Anders Wirzenius
2004-10-26  9:13     ` Adrien Plisson
2004-10-27  6:55       ` Anders Wirzenius
2004-10-27  8:03         ` Adrien Plisson
2004-10-28 16:25           ` Warren W. Gay VE3WWG
2004-10-28 17:13             ` Pascal Obry
2004-10-29  6:01             ` Martin Krischik
2004-10-29  8:32               ` Anders Wirzenius
2004-10-29  9:31                 ` Adrien Plisson
2004-10-29 14:59                   ` Warren W. Gay VE3WWG
2004-10-29 16:14                   ` Larry Kilgallen
2004-10-31  9:21                   ` Stephane Riviere
2004-10-29  9:52                 ` Martin Krischik
2004-10-29 10:03                   ` Anders Wirzenius
2004-10-29 12:04                     ` Martin Krischik
2004-10-29 11:38                   ` Hyman Rosen
2004-10-29 12:02                     ` Martin Krischik
2004-10-29 13:39                       ` Alex R. Mosteo
2004-10-29 13:55                       ` Adrien Plisson
2004-10-29 15:12                     ` Directory Names (was: GNAT on a multiboot computer) Warren W. Gay VE3WWG
2004-10-29 15:55                     ` GNAT on a multiboot computer Björn Persson
2004-10-29 12:15               ` Pascal Obry
2004-10-29 16:40                 ` Martin Krischik
2004-10-30  8:26                   ` Pascal Obry
2004-10-29 17:11                 ` Warren W. Gay VE3WWG
2004-10-29 15:05               ` Warren W. Gay VE3WWG
2004-10-29  8:29             ` Anders Wirzenius
2004-10-29 17:25               ` Warren W. Gay VE3WWG
2004-10-30  7:42                 ` Adrien Plisson
2004-11-01  9:26                   ` Anders Wirzenius
2004-11-01 14:21                   ` Warren W. Gay VE3WWG
2004-10-26 12:39 ` Stephane Riviere
2004-10-27  7:12   ` Anders Wirzenius
replies disabled

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