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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9dabd984ea966de9,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newspeer2.se.telia.net!se.telia.net!nntp.inet.fi!central1.inet.fi!inet.fi!read3.inet.fi.POSTED!53ab2750!not-for-mail Sender: AWI003@FIW9430 Newsgroups: comp.lang.ada Subject: GNAT on a multiboot computer From: Anders Wirzenius Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 26 Oct 2004 07:03:27 GMT NNTP-Posting-Host: 194.251.142.2 X-Complaints-To: abuse@inet.fi X-Trace: read3.inet.fi 1098774207 194.251.142.2 (Tue, 26 Oct 2004 10:03:27 EEST) NNTP-Posting-Date: Tue, 26 Oct 2004 10:03:27 EEST Organization: Sonera corp Internet services Xref: g2news1.google.com comp.lang.ada:5708 Date: 2004-10-26T07:03:27+00:00 List-Id: Hi, Does anyone have a good advice on how to set up the GNAT compiler system on a multiboot Windows computer? 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\... 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