tonyw wrote:And without that ruse, where is the "Make" being read from? What does "which make" say?
Then, a second question: What does your path look like? What does "path" say? Is there some directory within the path (and before SDK/C) that is very slow to search?
Make is being read from "Work:SDK/C". My FFS alternate boot partition (Workbench:) is exactly the same as my normal SFS boot partition (System:). I just copied my SFS partition to the FFS partition so the paths are the same.
The "ruse" is just a method to work around this issue:
If I boot from my SFS partition (System:) the make command is slow.
If I boot from my FFS partition (Workbench:) the make command is fast.
The reason I discovered my "ruse" is that I tried rearranging the order of the paths and even eliminating all paths except the ones essential to the operation of "make". The only way you will see the problem is to test it for yourself. Here is a test makefile I wrote to demonstrate the problem:
This forum strips the tabs so you need to copy the above test makefile and add tabs before each line beginning with an " @ " symbol. Boot from an SFS partition & save the above makefile listing to ram:makefile. Change directory to ram: and run make on it. The output lines will appear slowly. Repeat the procedure after booting from an FFS partition and the output lines will appear instantly. You can get the "timer" command from OS4Depot and use it with the "make" command (timer make) to get the elapsed time for both tests.
If you don't have an FFS boot partition & an SFS boot partition you can test with my "ruse" like this:
Create a temporary FFS partition and copy the System:C directory to the FFS partition.
Reboot from an SFS partition and create a makefile in ram: with the above code.
Change directory to ram: in a shell and enter "make".
Enter "path FFSpartition:C add head" (change FFSpartition to the name of your FFS partition) in the shell.
Run "make" again.
The time difference should be obvious. Andy already confirmed the problem so if you and others don't want to take the time to test for yourselves, that's O.K. I already have my "ruse" (as you call it) as a workaround for the problem and can compile quickly again. I should add that the difference in compile speeds between booting from an SFS partition and an FFS partition didn't occur with OS4.1u6.