diff --git a/doc/src/sgml/dfunc.sgml b/doc/src/sgml/dfunc.sgml index 7bdf7f6070..554f9fac4c 100644 --- a/doc/src/sgml/dfunc.sgml +++ b/doc/src/sgml/dfunc.sgml @@ -66,11 +66,12 @@ . 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.