[cfarm-users] gcc220 upgrade to OpenBSD 6.5?
Jonathan Wakely
jwakely.gcc at gmail.com
Wed Jul 3 08:41:09 CEST 2019
On Wed, 3 Jul 2019, 05:21 Christian Jullien via cfarm-users, <
cfarm-users at lists.tetaneutral.net> wrote:
> Thank you for this upgrade but what about gcc?
>
> obsd$ uname -a
> OpenBSD obsd.my.domain 6.5 GENERIC.MP#3 amd64
>
> From this page https://www.openbsd.org/65.html I read that available gcc
> should be "GCC 4.9.4 and 8.3.0" but the installed version is quite old
> obsd$ which -a gcc
> /usr/bin/gcc
> obsd$ gcc -v
> Reading specs from /usr/lib/gcc-lib/amd64-unknown-openbsd6.5/4.2.1/specs
> Target: amd64-unknown-openbsd6.5
> Configured with: OpenBSD/amd64 system compiler
> Thread model: posix
> gcc version 4.2.1 20070719
>
> On its side, clang is up to date as it should (LLVM/Clang 7.0.1)
> obsd$ clang -v
> OpenBSD clang version 7.0.1 (tags/RELEASE_701/final) (based on LLVM 7.0.1)
> Target: amd64-unknown-openbsd6.5
> Thread model: posix
> InstalledDir: /usr/bin
>
> Unfortunately, a standard ./configure tries gcc first and find this very
> old gcc version.
>
You can tell it to use a different compiler with CC and CXX variables
though, so it shouldn't be a big deal.
If you want to use OpenBSD you should be prepared to cope with its ancient
GCC. That's standard on OpenBSD.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tetaneutral.net/pipermail/cfarm-users/attachments/20190703/c3c38927/attachment.html>
More information about the cfarm-users
mailing list