mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
Add OS X link line example for external functions.
This commit is contained in:
parent
543539bb35
commit
90997ddaac
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$Header: /cvsroot/pgsql/doc/src/sgml/dfunc.sgml,v 1.20 2002/01/20 22:19:55 petere Exp $
|
$Header: /cvsroot/pgsql/doc/src/sgml/dfunc.sgml,v 1.21 2002/08/26 23:22:47 momjian Exp $
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<sect2 id="dfunc">
|
<sect2 id="dfunc">
|
||||||
@ -189,6 +189,20 @@ ld -Bshareable -o foo.so foo.o
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><productname>OS X</productname></term>
|
||||||
|
<indexterm><primary>OS X</></>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Here is a sample. It assumes the developer tools are installed.
|
||||||
|
<programlisting>
|
||||||
|
cc -c foo.c
|
||||||
|
cc -bundle -flat_namespace -undefined suppress -o foo.so foo.o
|
||||||
|
</programlisting>
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><productname>Solaris</productname></term>
|
<term><productname>Solaris</productname></term>
|
||||||
<indexterm><primary>Solaris</></>
|
<indexterm><primary>Solaris</></>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user