Frank D. Engel, Jr. wrote:
Oh and BTW, I have had a similar good experience with IRIX 6.5.(15?), also, except that under IRIX, I need to provide a '--big-endian' switch (does anyone know how to automate this? an environment variable, maybe, but which one? Thank you.)
gpc --print-needed-options foo.pas
(where foo.pas must be an existing, but otherwise unused Pascal file) writes it to standard error(!). You can see how, e.g., p/rts/Makefile.in does it.
Chances are good that this kludge will disappear soon (when integrating the preprocessor into the compiler).
Frank