X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com RazorGate-KAS: Status: not_detected RazorGate-KAS: Rate: 0 RazorGate-KAS: Envelope from: RazorGate-KAS: Version: 5.5.3 RazorGate-KAS: LuaCore: 80 2014-11-10_18-01-23 260f8afb9361da3c7edfd3a8e3a4ca908191ad29 RazorGate-KAS: Lua profiles 69136 [Nov 12 2014] RazorGate-KAS: Method: none Subject: Re: ANNOUNCE: Update of DJGPP port of gcc-5.3.0 To: djgpp AT delorie DOT com References: <201601312013 DOT u0VKDC4O017569 AT delorie DOT com> <56AF7CFB DOT 8010507 AT iki DOT fi> From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com]" Message-ID: <56B1854C.30800@iki.fi> Date: Wed, 3 Feb 2016 06:42:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 02/03/2016 05:57 AM, rugxulo AT gmail DOT com [via djgpp AT delorie DOT com] wrote: > Hi, > > On Monday, February 1, 2016 at 9:43:03 AM UTC-6, Andris Pavenis (andris DOT pavenis AT spam DOT no) [via djgpp AT spam DOT no] wrote: >> On 02/01/2016 04:07 PM, Wiktor S. (wswiktorSP AT spam DOT no) [via djgpp AT spam DOT no] wrote: >>>> - Only change since previous release is including also Ada compiler >>> Does it mean that gcc530b.zip and gpp530b.zip haven't changed? >>> >> They have also changed. One do however only need to update to this >> release if Ada compiler is needed. Otherwise previous release will work OK. > Although I'm not really an Ada programmer .... > > I've not tested Ada under DJGPP since two years ago (GCC 4.9.0) on April 30. The only remark I made then was that the keyword "some" was apparently now reserved in (default) 2012 dialect, hence simple workaround of using "-gnat05" when building Gautier's old 3D Engine. > > https://sites.google.com/site/rugxulo/eng3d018.zip?attredirects=0 > > Andris, thank you heavily for your efforts, as always, but did you test this? You say that "gnatmake did not work", but what did you test with it? Just "hello world" or more complicated tests? Maybe it works fine for you under Windows (XP? Vista?)? Those. Additionally gnatmake is being used in GCC build process when Ada is included. Use of freshly build gnatmake.exe failed in GCC build process when trying to build other Ada related tools. The reason was that file name regularization code in s-os_lib.adb put drive letter in front of DJGPP special directory names: in my case /dev/g/.. became g:/dev/g/..., what did not work, > > I'm going to have to try again, but yesterday it didn't seem to work for me. Of course, that was under raw FreeDOS (SFNs), so who knows what the problem really is. I guess I need to also try under DOSEMU (since I don't have any 32-bit Windows anymore). > > Roughly speaking, it's no longer finding the dependencies properly (e.g. svga.ads), but I'm not sure why. BTW, although this isn't definitive proof that gnatmake itself is totally deprecated, I somehow get that feeling. And in case it wasn't obvious, gprbuild is not included in the DJGPP port. (It is allegedly GPL'd on AdaCore, though, so perhaps FSF hasn't bundled it yet??) It says that 'gnatmake -P' is obsolete, bit gnatmake itself and suggests to use gprbuild. There is no file gprbuild.exe in my build of gcc-5.3.0 for DJGPP. Strange but it is not present also in earlier build of gcc-6.0.0 20160126 for both DJGPP and Linux and also for Linux to DJGPP cross-compiler. One could expect to find it there when there is such message fromgcc-5.3 gnatmake. > > Maybe we should pester Gautier via email to see what he thinks? He's certainly much savvier than I am about GNAT switches, etc. > > [ FreeDOS ] G:\TONY\ENGINE3D\DEMOS>gnatmake -gnat05 demos -Pe3d.gpr -XBuild_Mode=Fast > warning: gnatmake -P is obsolete and will not be available in the next release; use gprbuild instead > gcc -c -O2 -gnatn -funroll-loops -fpeel-loops -ftracer -funswitch-loops -gnatp > -fomit-frame-pointer -gnatk8 -gnat05 -I- -gnatA G:/tony/engine3d/demos\demos.adb > demos.adb:4:06: file "svga.ads" not found > > I guess that gnatmake -P support could be whats broken. I do not know that however for sure. Andris