So, if the optimization flags for SCO UNIX 5.05 are still the same as for XENIX 286, then their meaning is
d - Default. Disables optimization
a - Relaxes alias checking
s - Optimizes code for space
t - Default. Optimizes code for speed
x - Performs maximum optimization. Equivalent to -Oactl
c - Eliminates common expressions
l - Performs various loop optimizations
I guess, in order to emulate -Oactl on GCC you can try something like
Code:
gcc -c -O2 -fpredictive-commoning -funswitch-loops -DPERFORMANCE $*.c
Bookmarks