Mail Archives: djgpp/2012/06/23/11:45:18
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 -