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
is
  Search: Search_Type;
  File: Directory_Entry_Type;
  
begin
  Start_Search(Search, ".", "*");
  
  while More_Entries(Search) loop
    Get_Next_Entry(Search, File);
    Ada.Text_IO.Put_Line(Simple_Name(File));
  end loop;
  
  End_Search(Search);
  
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
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
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:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe