Commit 90997dda authored by Bruce Momjian's avatar Bruce Momjian

Add OS X link line example for external functions.

parent 543539bb
<!-- <!--
$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 ...@@ -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</></>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment