[1687] in Release_7.7_team

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

Re: IRIX 6.5 compiler.defaults

daemon@ATHENA.MIT.EDU (Mike Barker)
Sat Feb 27 23:13:09 1999

Date: Sat, 27 Feb 1999 22:36:30 -0500
To: Robert A Basch <rbasch@MIT.EDU>
From: Mike Barker <mbarker@MIT.EDU>
Cc: release-team@MIT.EDU
In-Reply-To: <199902272108.QAA27891@kiko.mit.edu>

but are all libraries going to be available in both formats?  I assumed that 
part of the problem was getting not just the compiler to change format, but 
getting the things you are linking against in that format.

mike

At 04:08 PM 2/27/99 -0500, Robert A Basch wrote:
:)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