On 08/25/2016 12:17 PM, Arnaud Charlet wrote: >> -#if defined (__MINGW32__) >> +#if defined (__DJGPP__) >> + >> +/* FIXME: this is draft version only. Fix me if that is not correct */ >> +/* or not complete (AP) */ > This FIXME needs to be addressed. DJGPP special implementation was actually not required. SImple use of localtime_r is sufficient > The rest of the patch is OK. One additional new change is for file env.c (use of unsetenv for DJGPP). Updated ChangeLog entry is in the attachment. Testing changes took more time than I expected as native bootstrap for DJGPP did not work with current trunk version. There is no problems with building Linux to DJGPP cross-compiler including Ada compiler. All was OK with r238675 but no more with r239639 and some later revisions (of course with DJGPP related patches applied). gnat1 fails when building Ada libraries (all-target-libada). I'll try to find which change has caused the error (unfortunately I have not saved the message). Andris