Mail Archives: djgpp/1997/11/05/05:19:09
On Tue, 4 Nov 1997, Mirek Prywata wrote:
> I traced djgpp with -v option and it
> appeared that cc1.exe is very slow (actually reading cc1.exe from the
> network drive - it's 1MB with each compiled file). I tried to copy
> cc1.exe to RAMDISK but gcc uses still g:\djgpp\bin\cc1.exe instead of
> this from ram drive.
That's because you didn't change COMPILER_PATH. This variable is used
by gcc to find the programs that it runs during compilation (contrary
to popular belief, it does NOT use PATH). I suggest to set it to
point to the RAMDISK directory as well; DJGPP.ENV will then note this
setting and *append* your g:/djgpp/bin directory to that setting (so
you shouldn't need to copy cpp.exe, as.exe and ld.exe as well, if you
don't want to).
- Raw text -