This page in other versions: Unsupported versions: 6.3
PostgreSQL
Prev Chapter 37. Linking Dynamically-Loaded Functions Next

ULTRIX

It is very easy to build dynamically-loaded object files under ULTRIX. ULTRIX does not have any sharedlibrary mechanism and hence does not place any restrictions on the dynamic loader interface. On the other hand, we had to (re)write a non-portable dynamic loader ourselves and could not use true shared libraries. Under ULTRIX, the only restriction is that you must produce each object file with the option -G 0. (Notice that that's the numeral ``0'' and not the letter ``O''). For example,

# simple ULTRIX example
% cc -G 0 -c foo.c
produces an object file called foo.o that can then be dynamically loaded into Postgres. No additional loading or link-editing must be performed.
Prev Home Next
Linking Dynamically-Loaded Functions Up DEC OSF/1
Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group