X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Message-ID: <4FE56DFE.10907@iki.fi> Date: Sat, 23 Jun 2012 10:19:26 +0300 From: Andris Pavenis User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: gcc-4.7.X and native Ada compiler for DJGPP References: <4FDC5D93 DOT 2040204 AT iki DOT fi> <9907f873-af2f-4b2d-8b77-59ade8f3fc0b AT googlegroups DOT com> <4FE0A729 DOT 9030007 AT iki DOT fi> <8d4b33ae-d514-4ee1-be6b-b0c58f178dd3 AT googlegroups DOT com> In-Reply-To: <8d4b33ae-d514-4ee1-be6b-b0c58f178dd3@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com On 06/22/2012 08:25 PM, rugxulo AT gmail DOT com wrote: > Hi again, > > On Wednesday, June 20, 2012 5:52:50 PM UTC-5, rug DOT DOT DOT AT gmail DOT com wrote: >> >> I did test Ada from your latest GCC 4.7.1 with Gautier's 3D engine in pure native FreeDOS. It compiles and works fine (at least makefast.bat), but only with LFNs enabled. Otherwise gnatmake "seems" to hang, and using -v showed it maybe had something to do with temporary file names. Hence, I just unpacked everything GCC-related again with LFNs enabled, then it worked fine. I don't know why a temporary filename problem would seemingly hang it, but that's my guess at what was happening. > > Here's a snippet, though I'm not sure it will really explain anything. Basically it just sits there as if hung, so it must be getting confused somehow. With DOSLFN loaded, it works fine, otherwise no. (BTW, no pressure on looking into this, just mentioning it in case you're curious.) > > ====================================== > [ FreeDOS ] G:\TONY\ENGINE3D\DEMOS>gnatmake -v -Pe3d.gpr -XBuild_Mode=Fast > > Parsing project file "e3d.gpr". > 55 lines: No errors > > Parsing of project file "e3d.gpr" is finished. > Adding source directory "g:/tony/engine3d/demos/". > Adding source directory "g:/tony/engine3d/demos/..\lib_src\/". > Adding source directory "g:/tony/engine3d/demos/..\lib_src\/3dmodels/". > Adding source directory "g:/tony/engine3d/demos/..\lib_src\/dos/". > Adding source directory "g:/tony/engine3d/demos/..\lib_src\/linux/". > Adding source directory "g:/tony/engine3d/demos/..\lib_src\/misc/". > Adding source directory "g:/tony/engine3d/demos/..\lib_src\/uza_src/". > Adding object directory "g:/tony/engine3d/demos/acu_opti/". > > GNATMAKE 4.7.1 > Copyright (C) 1995-2012, Free Software Foundation, Inc. > Changing to object directory of "E3D": "g:/tony/engine3d/demos/acu_opti/" > Main source file: "demos.adb". > Adding binder switches for "demos.adb". > Adding linker switches for"demos.adb". > Adding -s > Adding -Wl,--gc-sections > TMPDIR = "g:\tony" > Created configuration file "g:\tony/GNAT-TEMP-000001.TMP" It seems that we need to have own version of gcc/ada/s-os_lib.adb with modified temporary file name generation for DJGPP. Ada support is perhaps broken for non LFN systems before we have one. Andris