Most likely I'm a dork and missed something obvious.
My datacenter installed OpenBSD 6.7 on a new machine:
# uname -a
OpenBSD machine name 6.7 GENERIC.MP#182 amd64
# which gcc
which: gcc: Command not found.
gcc isn't on the machine.
Yes, I'm aware that OpenBSD switched to clang. And I'm also aware that I
can add package (gcc-8.*). But I'm surprised that gcc-4.2.1 isn't on the
machine.
Incidentally, I need it to compile opendkim. I couldn't make clang
compile it:
--
configure:3680: cc --version >&5
OpenBSD clang version 8.0.1 (tags/RELEASE_801/final) (based on LLVM 8.0.1)
Target: amd64-unknown-openbsd6.7
Thread model: posix
InstalledDir: /usr/bin
configure:3691: $? = 0
configure:3680: cc -v >&5
OpenBSD clang version 8.0.1 (tags/RELEASE_801/final) (based on LLVM 8.0.1)
Target: amd64-unknown-openbsd6.7
Thread model: posix
InstalledDir: /usr/bin
configure:3691: $? = 0
configure:3680: cc -V >&5
cc: error: argument to '-V' is missing (expected 1 value)
cc: error: no input files
configure:3691: $? = 1
configure:3680: cc -qversion >&5
cc: error: unknown argument '-qversion', did you mean '--version'?
cc: error: no input files
configure:3691: $? = 1
configure:3711: checking whether the C compiler works
configure:3733: cc conftest.c >&5
ld: error: cannot open crt0.o: No such file or directory
cc: error: linker command failed with exit code 1 (use -v to see invocation)
configure:3737: $? = 1
configure:3775: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenDKIM"
| #define PACKAGE_TARNAME "opendkim"
| #define PACKAGE_VERSION "2.10.3"
| #define PACKAGE_STRING "OpenDKIM 2.10.3"
| #define PACKAGE_BUGREPORT "b...@opendkim.org"
| #define PACKAGE_URL ""
| #define PACKAGE "opendkim"
| #define VERSION "2.10.3"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3780: error: in `opendkim-2.10.3':
configure:3782: error: C compiler cannot create executables
--
Any comment welcome!
Whiskey T.