Building and install GCC 8.3.0, OpenBSD 7.2 on DEC Alpha EV5
Segher Boessenkool
segher@kernel.crashing.org
Fri Jan 27 21:14:11 GMT 2023
On Fri, Jan 27, 2023 at 03:51:12PM -0330, Mark Butt wrote:
> I tried 12.2 a few days ago but I am getting errors that I think are about the compiler that comes with OpenBSD being too old to build 12.2.
A C++11 compiler is required:
ISO C++11 compiler
Necessary to bootstrap GCC. GCC 4.8.3 or newer has sufficient
support for used C++11 features, with earlier GCC versions you
might run into implementation bugs.
> I did notice that the configure script is detecting the host as: alpha-unknown-openbsd7.2
> Does anyone know if that looks right or if I should be manually specifying the host type?
That isn't the host. The target triple is cpu-vendor-os. "unknown"
is pretty normal here, and doesn't usually make a difference. If you
do use something here you will have to use the same thing for all tools,
so it is easier to just use the detected thing usually.
Segher
More information about the Gcc-help
mailing list