Mail Archives: djgpp/1997/11/04/21:45:24
Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De> wrote:
>> I made 4MB RAMDISK and TMPDIR is pointing there. I add LIBRARY_PATH
>> pointing RAMDISK and copied there the most frequently used libraries
>> (libc, libm, libgrx20, libbcc2). 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.
...
>The only idea coming to my mind is replacing cc1.exe by a link
>to the version on your ramdisk, or, more elaborate, a tiny program
>that checks if an cc1.exe exists on a RAMDRIVE, and execs that,
>otherwise execs cc1org.exe in your djgpp directory. I'm not sure
>if this really works, but ypu might try.
Wouldn't putting the ramdisk in PATH before \djgpp\bin work?
- Raw text -