Web lists-archives.com

[Mingw-users] Problem with Ada in MinGW GCC-6.3 release

Here is the source code of a simple program (test.adb) that fails to build:

with Ada.Text_IO;
use Ada.Text_IO;

with Ada.Directories;
use Ada.Directories;

procedure Test
  Search: Search_Type;
  File: Directory_Entry_Type;
  Start_Search(Search, ".", "*");
  while More_Entries(Search) loop
    Get_Next_Entry(Search, File);
  end loop;
end Test;

When I try to build it, I get this:

$ gnatmake test
fatal error, run-time library not installed correctly
cannot locate file system.ads
ǩ: *** make failed.

system.ads does exist; it is at C:\MinGW\lib\gcc\mingw32\6.3.0\adainclude\system.ads

The problem occurs with two installations of GCC-6.3.0, one on a Windows 7
computer, and another on Windows 10.

I will open a ticket for this later today
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
MinGW-users mailing list

This list observes the Etiquette found at
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe