FreeBSD has since v13 switched to Clang from GCC, so update our
instructions to cc instead of gcc to reflect that.
Reported-by: [email protected]
Discussion: https://postgr.es/m/CAJR80-xzR49jEkAC98Yo-wuSdFDV2=2H4j9Z2AukSVU=-UpynA@mail.gmail.com
. To create shared libraries the compiler
flag is .
-gcc -fPIC -c foo.c
-gcc -shared -o foo.so foo.o
+cc -fPIC -c foo.c
+cc -shared -o foo.so foo.o
- This is applicable as of version 3.0 of
- FreeBSD.
+ This is applicable as of version 13.0 of
+ FreeBSD, older versions used
+ the gcc compiler.