broadblues wrote:Looking at your example make file my immediate thought is check your setting for * as wild card in DOS prefs, between your two installations.
The AmigaDOS setting for wildcards has no effect on the SDK's *nix based commands, regardless of what shell they are executed with. The command "rm -f *.o" will receive "*.o" as an argument and interpret it as a wildcard. That's the case even if it is run from an AmigaDOS script. Set AmigaDOS not recognize * as a wildcard. If you copy any file to ram: with a .o file extension, CD to ram and enter < rm -f *.o > in the shell then the file will be deleted.
broadblues wrote:I did a test on my X1000 on a moderatly sized project (8000 lines of code)
Normal priority -> 31 secs to build
ChangeTaskPri 2 -> 26 secs to build
So a slow down perhaps but not as dramatic as on my SAM.
The make command (v53.1) is running at the same priority on OS4.1u6 and OS4.1FE so the priority isn't the issue. The project I'm building has over 500 source files (.c), 6 sub-makefiles, 23 sub-sub-makefiles and 50,000+ lines of code. The more source files and makefiles the more dramatic the compile time difference between OS4.1FE and OS4.1u6. If you combined all your source files into one, you probably wouldn't see any significant time difference. The time difference seems to depend on how many files make has to load and execute. Here are my times for compiling Dopus5 using the timer command (timer make):
Compile time with OS4.1 Update6: 225.2183 seconds
Compile time with OS4.1 FE: 541.3016 seconds
That's a big turnaround time when you're trying to debug & test. The point I'm trying to make is that something changed between OS4.1u6 and OS4.1FE that is causing make 53.1 to take much longer to compile huge applications. I'm just trying to help other programmers compile more effeciently and help the OS4 devs fix things that have apparently gone wrong. Because make v3.81rc2-4 is just as fast on OS4.1u6 and OS4.1FE, I'm convinced that make v53.1 needs some changes to make it work as well with OS4.1FE as with OS4.1u6.
Whether it's fixed or not will make little difference to me because I made some minor changes to the make v3.81rc2-4 sources and compiled it for my own use. I can compile just as fast on OS4.1FE with my modified make v3.81rc2-4 as I previously did with make v53.1 on OS4.1u6. I'll probably continue to use make v3.81rc2-4 since I can stop a compile with Ctrl-C whereas there doesn't seem to be any way to stop make 53.1 once it starts a compile. The only reason I'm reporting the make slowdown is to help others.