How to Add or Change your C Compiler for ABF/4GL

                         Document #: US-13255,EN
------------------------------------------------------------------------------

Major subject: installation    Minor subjects: install/base

Keywords: install, tech_notes

Abstract:
How to Add or Change Your C Compiler for ABF/4GL - Equivalent 
to INGRES Release 6 Technical Note #17 or Release 5 note 
#19.


Expert note:
How to Add or Change Your C Compiler for ABF/4GL
================================================

Overview
--------
In Version 4.0 of INGRES, ABF includes a extended and enhanced version
of OSL.  While use of the previous smaller (2.1) version of OSL is pos-
sible without having a C compiler on your system, in order to make use
of the enhanced version of OSL your system must have a C compiler.  If
your system does not have a C compiler you may order one either through
Digital Equipment Corp. or through Relational Technology, Inc. which
sells the Whitesmiths, Ltd. C compiler through special arrangement with
Whitesmiths for this purpose.  This document will explain what
steps should be taken to add or change the C compiler used by ABF on
your system without completely rebuilding the INGRES installation.
Please note that executing the "iibuild.com" script as if you were doing
an update of INGRES is another way of changing your C compiler.

o	Going From No C Compiler to Either Whitesmiths or DEC
o	Going From Whitesmiths to DEC C:
o	Summary


Going From No C Compiler to Either Whitesmiths or DEC
-----------------------------------------------------
Log in to the INGRES account and at the DCL level take the following
steps:

1. Edit ii_system:[ingres]iistartup1.com and make the following changes:

   a. For DEC C change line that says:
                $ define/system/exec II_C_COMPILER      NONE
        To:
                $ define/system/exec II_C_COMPILER      VAX11

    b. For Whitesmiths C change the line that says:
                $ define/system/exec II_C_COMPILER      NONE
        To:
                $ define/system/exec II_C_COMPILER      WHITEMSMITHS

2. At the DCL level from any account with SYSNAM privilege type:

   a. For DEC C:
                $ define/system/exec II_C_COMPILER  VAX11

   b. For Whitesmiths C:
                $ define/system/exec II_C_COMPILER  WHITESMITHS


Going From Whitesmiths to DEC C:
--------------------------------
Log into the INGRES account and at the DCL level take the following
steps:

1. Edit ii_system:[ingres]iistartup1.com and change the line that says:

        $ define/system/exec II_C_COMPILER      WHITESMITHS
        To:
        $ define/system/exec II_C_COMPILER      VAX11

2. At the DCL level from any account with SYSNAM privilege type:

        $ define/system/exec II_C_COMPILER VAX11


Summary
-------
In order to make use of the advanced features of enhanced OSL a C com-
piler is required on your system.  This document has described how to add or
change the C compiler used by ABF without rebuilding your INGRES instal-
lation.  Howevtheory for establishing
links between two tables. The two tables need not be separate, different
tables, but can be two separate "looks" at the same, single table.  This
is  called a "join back", and is often a necessary strategy for particu-
lar queries.



Releases affected:  6.0/00(all.all) -   Releases not affected: 
Errors:                                                             
Bugs/SIRS:                                                             
------------------------------------------------------------------------------
Ingres Database Reference
To William's Home Page

© William Yuan 2000

Email William