Mail Archives: djgpp/2018/04/14/06:45:10
In article <b2ce25f9-6861-4a46-8fb9-c0aedd99bf4a AT googlegroups DOT com>,
rugxulo AT gmail DOT com says...
>Hi,
>
>On Friday, April 6, 2018 at 4:10:41 AM UTC-5, neozeed wrote:
>>
>> If the NTVDM can't nest properly, isn't it easier to just use
>> a Win32 native version of GCC, and keep your CC1/CPP/GAS/LD native?
>
>(I think I misunderstood this comment the first few times that I read it.)
>
>So you're saying use a Win32 (PE/COFF) gcc.exe as frontend with other
>.EXEs remaining DJGPP (DOS, MZ/COFF)?
>
>IIRC, that's what they did back in the old days when certain OSes
>(OS/2?) had similar problems. E.g. /deleted/v1gnu/gcc263rm.zip
>says "gcc-2.6.3 gcc.exe built with tcc, for djgpp". (Okay, not Win32
>but 16-bit DOS, still a similar workaround.)
>
>But I don't think that will help us much here because all DJGPP
>.EXEs do some proxy stuff to transparently handle really long cmdlines
>(beyond normal DOS limits).
>
>So it's probably not immediately compatible, but I don't fully
>understand all of the details.
Yes, a million years ago the GCC.EXE driver was a turbo C++ exe for issues
with nesting. Although regarding the issues with long filenames, if the CPP
is native, doesn't that remove that barrier? After that it's just the
temporary files, which should (hopefully) be 8.3 friendly, or something that
gcc.c can be forced to use friendlier temporary names, so that CC1/GAS/LD
can happily continue.
- Raw text -