------- Additional Comments From laurent at guerby dot net  2005-04-12 18:17 
-------
Looks like file creation (my code reading ada/gnatchop.adb => ada/g-os_lib.adb
=>) for gnatchop occurs in ada/adaint.c:636 with good old "open".

But the unit file names are found by using a subprocess with the following
command line:

gcc -c -x ada -gnats -gnatu file_to_gnatchop

which outputs something like:

Unit T (body) line 1, file offset 0, file name t.adb

So may be there's a mismatch between the character set used by GNAT to output
the unit name and the character set to use for the "open" call.

Could you create a simple file like the following

package toto_יא is end;

and run it through the above command and "| od -c" or something like that?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20974

Reply via email to