Maurice Lombardi wrote:
Prof Abimbola Olowofoyeku a écrit:
On 19 Sep 2002 at 1:18, Frank Heckenbach wrote:
Prof. A Olowofoyeku (The African Chief) wrote:
[...]
I know that DJGPP uses some ways around this limit when one DJGPP program calls another one. I don't know if/what mingw does, or if the limit exists at all under Windows. Someone might want to try it, but I guess if the limit really applied, this would have been noticed much earlier.
Correct. The problem is with front slashes (or so it seems).
This is probably not the problem
I have tried the same four checks with front slashes after the -B (no front slashes possibles in the call c:\mingw\bin\gpc, command.com will not find the program) The results are exactly the sames.
I have also tried with djgpp, simply replacing everywhere mingw by djgpp (all is in a clean dos box with only path=c:\windows;c:\windows\command to avoid finding the wrong compiler) The four test work then, both with front and bacward slashes, only with the warning gpc.exe: file path prefix `c:/djgpp/bin' never used when omitting the trailing / or \
1. Are you talking about the same thing in the first place? AFAIUI, The Chief's issue is with `-B' options, yours with multiple directories in `--unit-path'. The union of both problems would be multiple dirs in a `-B' option, but AFAIK GPC doesn't allow that at all (though it allows multiple `-B' options, though I really wonder when someone should need them ...)
2. The trailing slash is required for `-B' (also on other systems). That's GCC's behaviour, so I don't want to change it in GPC alone.
3. If you get that warning, that means that GPC didn't need the `-B' because it found things anyway (as it should when installed correctly). Therefore, your other tests might not be very meaningful. You might want to try moving gpcpp.exe to a directory where GPC will not find it automatically.
Frank