Skip to content

Commit b2a296b

Browse files
doc: Update compiler for FreeBSD specific instructions
FreeBSD has since v13 switched to Clang from GCC, so update our instructions to cc instead of gcc to reflect that. Reported-by: digitaldog4@gmail.com Discussion: https://postgr.es/m/CAJR80-xzR49jEkAC98Yo-wuSdFDV2=2H4j9Z2AukSVU=-UpynA@mail.gmail.com
1 parent c64086b commit b2a296b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/src/sgml/dfunc.sgml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,12 @@
6666
<option>-fPIC</option>. To create shared libraries the compiler
6767
flag is <option>-shared</option>.
6868
<programlisting>
69-
gcc -fPIC -c foo.c
70-
gcc -shared -o foo.so foo.o
69+
cc -fPIC -c foo.c
70+
cc -shared -o foo.so foo.o
7171
</programlisting>
72-
This is applicable as of version 3.0 of
73-
<systemitem class="osname">FreeBSD</systemitem>.
72+
This is applicable as of version 13.0 of
73+
<systemitem class="osname">FreeBSD</systemitem>, older versions used
74+
the <filename>gcc</filename> compiler.
7475
</para>
7576
</listitem>
7677
</varlistentry>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy