Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: is C compiler a must for oracle UNIX installations ?

RE: is C compiler a must for oracle UNIX installations ?

From: Guy Hammond <guy.hammond_at_avt.co.uk>
Date: Thu, 16 Aug 2001 03:44:13 -0700
Message-ID: <F001.0036CAA2.20010816034130@fatcity.com>

All make does is track dependencies on things. The general format of an entry in a makefile is:

label: dependent on

        actions to execute

So if you wanted to make "label", then you would first have to have made "dependent on". Once you gave it, you can then execute "actions to execute". "dependent on" points to another label. At the end of your Makefile, there will be the things that aren't dependent on anything else, which are just

label: actions to execute

"actions to execute" are just lines of shell script. They are often used to invoke a C compiler, sure, but you could be doing anything there. One those actions are done, make considers that dependency satisfied, and any label that refers to a satisfied dependency can then have its associated actions executed. This persists from invocation to invocation of make using timestamps.

The reason you do this is that you only want to execute actions for anything that has changed, and for anything else that would be affected by it. Otherwise every time a developer changed a single line of code, the entire application would have to be completely rebuilt, which could take hours, rather than just recompiling the object files that are affected and relinking. Makefiles for non-trivial projects are complex pieces of software in their own right, and a software engineering team will often have a dedicated "build manager" whose job is to maintain the Makefile and administer the source code control system (for example, CVS). See the manpage for make for more details.

g

-----Original Message-----
Sent: Thursday, August 16, 2001 7:56 AM
To: Multiple recipients of list ORACLE-L

but doesnt make utility uses C compiler ? (or it's a bare bones installation
of a C compiler?)

i guess i;m wrong on this one...

> ----------
> From: Rao, UmaSankara S

(CAP)[SMTP:UmaSankara.Rao_at_Gecis.GE.com]
> Reply To: ORACLE-L_at_fatcity.com
> Sent: Thursday, August 16, 2001 1:25 PM
> To: Multiple recipients of list ORACLE-L
> Subject: RE: is C compiler a must for oracle UNIX installations
?
>
> Oracle installation document says the make utility must be present for
> relinking the oracle S/W
> once it is installed.(Incase of SUN it is at the location
/usr/ccs/bin.).I
> Installed oracle 8 and 8i on sun machine without installing C
> compiler.Could
> be same as the case with AIX i guess.
>
>
> -----Original Message-----
> Sent: Thursday, August 16, 2001 12:35 AM
> To: Multiple recipients of list ORACLE-L
>
>
> some of my friends are telling me that they have succesfuly installed
> oracle
> 7.3.1 on AIX 4 WITHOUT the C compiler present.. !!
>
> and i was the one telling them how oralce requires to relink the
> executables
> after
> the installation.
>
> Regards

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Guy Hammond
  INET: guy.hammond_at_avt.co.uk

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Aug 16 2001 - 05:44:13 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US