[1686] in Release_7.7_team

home help back first fref pref prev next nref lref last post

IRIX 6.5 compiler.defaults

daemon@ATHENA.MIT.EDU (Robert A Basch)
Sat Feb 27 16:09:02 1999

To: release-team@MIT.EDU
Date: Sat, 27 Feb 1999 16:08:57 EST
From: Robert A Basch <rbasch@MIT.EDU>

I looked into this issue a bit more, to see if we might defuse
complaints arising from the change in the default binary format.

Users can override the system defaults (in /etc/compiler.defaults)
in a couple ways, without having to explicitly change their compile
commands:

1) They can specify their own compiler.defaults file, via the
COMPILER_DEFAULTS_PATH environment variable.  (The value can be a
colon-separated search path of directories).  For example, to default
to building o32 binaries, you could setenv COMPILER_DEFAULTS_PATH to
be your home directory, and create a compiler.defaults file there
containing:

-DEFAULT:abi=o32

2) The compiler also looks at the SGI_ABI environment variable.  To
default to building o32 binaries, for example, do "setenv SGI_ABI -o32".

Also note that /etc/compiler.defaults will be a config file, so
private machine owners can install their own system defaults file.

Bob

home help back first fref pref prev next nref lref last post