git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c64086b)
doc: Update compiler for FreeBSD specific instructions
2024年1月19日 15:27:27 +0000 (16:27 +0100)
2024年1月19日 15:27:27 +0000 (16:27 +0100)
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


diff --git a/doc/src/sgml/dfunc.sgml b/doc/src/sgml/dfunc.sgml
index 7bdf7f607025da44e03aa96b4e372fb44ee5bb41..554f9fac4ce6409c5d7bf44da8d012169facf9ce 100644 (file)
--- a/doc/src/sgml/dfunc.sgml
+++ b/doc/src/sgml/dfunc.sgml
@@ -66,11 +66,12 @@
<option>-fPIC</option>. To create shared libraries the compiler
flag is <option>-shared</option>.
<programlisting>
-gcc -fPIC -c foo.c
-gcc -shared -o foo.so foo.o
+cc -fPIC -c foo.c
+cc -shared -o foo.so foo.o
</programlisting>
- This is applicable as of version 3.0 of
- <systemitem class="osname">FreeBSD</systemitem>.
+ This is applicable as of version 13.0 of
+ <systemitem class="osname">FreeBSD</systemitem>, older versions used
+ the <filename>gcc</filename> compiler.
</para>
</listitem>
</varlistentry>
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /