Ingres link files

At 09:02 AM 3/17/98 +1100, Martin Bowes wrote:
>Hi Everyone,
>
>    Under $II_SYSTEM/ingres/files there are four files that I'd like
>    identified, ie what is their purpose.
>
>    abflnk.opt and abfdyn.opt
>
>    utld.opt and utcom.def.

They are 4GL related.

abflnk.opt is the standard link string addendum for building 4GL images.
It contains just the library stuff that is specific to building executable
4GL images (although it's handy for linking embedded C stuff too).

abfdyn.opt is similar but it's for linking the interpreter when you
interpret a 4GL frame/procedure from ABF.

utld.def is the shell command issued to link up an ABF program, or the
ABF interpreter.  (Various parameters are substituted in).

utcom.def is a control file describing what commands to issue to compile
embedded C programs that are part of an ABF application;  also how to compile
the C programs generated by the 4GL compiler.

All 4 files are handy tap-in points if you need to do anything screwy
when building a 4GL application.  (Although I don't recall ever having to mess
with utld.def...)


Karl R. Schendel, Jr.
K/B Computer Associates   schendel@kbcomputer.com
Ingres and Unix Expertise


Thanks Karl & Betty,

	The reason I've asked is that I've just upgraded my development site to
	OI1.2 from 6.4 on a DEC Alpha running OSF at 4.0D. As we've been
	recompiling we get problems with Embedded SQL C programs, such as:

	bucket{mercuryd}13: make batchd install
     
E_****** Making batchd...

ld:
Unresolved:
memlk
make[1]: *** [batchd] Error 1
make[1]: Leaving directory `/home/usr/dev/mercuryd/src'
make: *** [batchd] Error 2                             

	CA reccomended we link with -lrt as well as all others we currently are
doing.

	This was easy enough to incorporate into Makefiles however I was curious
to see if we should also do this for compilations under ABF. Judging by your
response and what I've seen (guessed) in these files I should edit this
library into them as well.

	Thanks Heaps,

	Martin
Ingres Q & A
Back to William's Home Page

© William Yuan 2000

Email William