delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/06/23/11:45:18

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Message-ID: <4FE5E46B.7050800@iki.fi>
Date: Sat, 23 Jun 2012 18:44:43 +0300
From: Andris Pavenis <andris DOT pavenis AT iki DOT fi>
User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:13.0) Gecko/20120425 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> <e4d1a212-f342-4f4c-8a02-c9e4870b70e0 AT googlegroups DOT com> <8d4b33ae-d514-4ee1-be6b-b0c58f178dd3 AT googlegroups DOT com> <4FE56DFE DOT 10907 AT iki DOT fi>
In-Reply-To: <4FE56DFE.10907@iki.fi>
Reply-To: djgpp AT delorie DOT com

On 23.6.2012 10:19, Andris Pavenis wrote:
> 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.
>
You could try the test build (ada471b.zip only, other files should be OK 
from the earlier build)

http://ap1.pp.fi/djgpp/gcc/4.7.1/v204/testonly/ada471b.zip

Temporary file names should hopefully be compatible with non-LFN system 
however I have
not tested it

Andris

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019