Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb2a296b

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

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)

[8]ページ先頭

©2009-2025 Movatter.jp