Frank Heckenbach a écrit:
Maurice Lombardi wrote:
Prof Abimbola Olowofoyeku a écrit:
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 \
- 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 ...)
It was only the -B options. This was a follow up of the following message which was was not transmitted to the list (always this reply to problem, I have asked to have automatic copy to the list, but not everybody has done it, so I sended a private reply to a private reply)
-------------------------------------------------------------------------------------- This bug is not related to dev_gpc. To check I launch a dos box with only PATH=c:\windows;c:\windows\command and I compile a small program manually with or without the -B's
c:\mingw\bin\gpc test.pas --automake works
c:\mingw\bin\gpc test.pas --automake -B\mingw\bin\ works
c:\mingw\bin\gpc test.pas --automake -Bc:\mingw\bin\ fails with: C:\MINGW\BIN\GPC.EXE: installation problem, cannot exec `c:/mingw/bin/as.exe': No such file or directory
c:\mingw\bin\gpc test.pas --automake -Bc:\mingw\bin (no trailing ) works but with: C:\MINGW\BIN\GPC.EXE: file path prefix `c:/mingw/bin' never used
A small C test program compiled with gcc does not fail in all cases but if I try to compile it with gpc it fails like above. ---------------------------------------------------------------------------------------
The chief is probably right for this forward/backward slashes issue: you notice that the error messages have always forward slashes.
Maurice