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
This commit is contained in:
parent
c64086b79d
commit
b2a296b0cf
@ -66,11 +66,12 @@
|
|||||||
<option>-fPIC</option>. To create shared libraries the compiler
|
<option>-fPIC</option>. To create shared libraries the compiler
|
||||||
flag is <option>-shared</option>.
|
flag is <option>-shared</option>.
|
||||||
<programlisting>
|
<programlisting>
|
||||||
gcc -fPIC -c foo.c
|
cc -fPIC -c foo.c
|
||||||
gcc -shared -o foo.so foo.o
|
cc -shared -o foo.so foo.o
|
||||||
</programlisting>
|
</programlisting>
|
||||||
This is applicable as of version 3.0 of
|
This is applicable as of version 13.0 of
|
||||||
<systemitem class="osname">FreeBSD</systemitem>.
|
<systemitem class="osname">FreeBSD</systemitem>, older versions used
|
||||||
|
the <filename>gcc</filename> compiler.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user