From: Daniel Gustafsson <daniel@yesql.se>
To: Digital Dog <digitaldog4@gmail.com>
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: 37.10.5 - outdated compiler for FreeBSD
Date: Wed, 17 Jan 2024 15:17:12 +0100
Message-ID: <8756F6C5-2AAD-46D7-B525-520BEFC550DF@yesql.se> (raw)
In-Reply-To: <CAJR80-xzR49jEkAC98Yo-wuSdFDV2=2H4j9Z2AukSVU=-UpynA@mail.gmail.com>
References: <CAJR80-xzR49jEkAC98Yo-wuSdFDV2=2H4j9Z2AukSVU=-UpynA@mail.gmail.com>
> On 30 Dec 2023, at 12:20, Digital Dog <digitaldog4@gmail.com> wrote:
> Therefore please update compilation instructions for FreeBSD for future PostgreSQL versions by replacing "gcc" with "cc" and changing version information from FreeBSD 3.0 to 13.0.
Thanks for your report, the attached diff updates the compiler and comment as
per the above. Unless there are objections I'll go ahead with that.
--
Daniel Gustafsson
Attachments:
[application/octet-stream] freebsd_compiler.diff (748B, ../8756F6C5-2AAD-46D7-B525-520BEFC550DF@yesql.se/2-freebsd_compiler.diff)
download | inline diff:diff --git a/doc/src/sgml/dfunc.sgml b/doc/src/sgml/dfunc.sgmlindex 7bdf7f6070..554f9fac4c 100644--- 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>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: daniel@yesql.se, digitaldog4@gmail.com, pgsql-docs@lists.postgresql.org
Subject: Re: 37.10.5 - outdated compiler for FreeBSD
In-Reply-To: <8756F6C5-2AAD-46D7-B525-520BEFC550DF@yesql.se>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox