comp.lang.ada
 help / color / mirror / Atom feed
* GNAT on a multiboot computer
@ 2004-10-26  7:03 Anders Wirzenius
  2004-10-26  7:31 ` Adrien Plisson
  2004-10-26 12:39 ` Stephane Riviere
  0 siblings, 2 replies; 35+ messages in thread
From: Anders Wirzenius @ 2004-10-26  7:03 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2004-11-01 14:21 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-26  7:03 GNAT on a multiboot computer Anders Wirzenius
2004-10-26  7:31 ` 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

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