Here are the differences between PGCC-1.0 and GCC 2.8.0 The PGCC OS/2 port is based on Eberhard Mattes's GCC/EMX patches (note that I took his name into <EM>...</EM> brackets... guess why ;-), but were (already) heavily modified, so not everything should work as in GCC/EMX 2.7.2.1. There are some small differences which I will list below:
[c:/] ./shyou will launch "sh" which in turn will look for "sh.exe" (located in same directory as "sh" itself) and will run it.
Another switch that has to do with stack probing is -f{no-}stack-check. These switches have same functionality as -m{no-}stack-arg-probe but uses inline instructions instead of alloca call, so they're faster. Here is how alloca(20000) is compiled with different switches:
without any switches:
subl $20000,%esp
with -mstack-arg-probe:
movl $20000,%eax
call __alloca
with -fstack-check options:
movl $0,-4392(%esp)
movl $0,-8488(%esp)
movl $0,-12584(%esp)
movl $0,-16680(%esp)
movl $0,-24392(%esp)
addl $-20000,%esp
lxLite -x -r *). If you can't do the listed above yourself,
mail me - possibly if I'll receive enough requests, I'll do a unpacked version.
But personally me for DOS am using DJGPP - it is better suited for DOS.
gcc --help
gcc --help=*
gcc --help=-c
gcc -h-m
gcc -h13.15
There is a new optional environment variable: CLH_TERM. If it is "mono",
the help will use only black/white colors; if it is "-", the help won't
use highlighting at all; if it is anything other (or is not set) the help
text will default to colored syntax.