Dore' on FreeBSD today

Warner Losh imp at bsdimp.com
Mon Mar 20 09:33:25 CDT 2017


On Sun, Mar 19, 2017 at 3:37 PM, Torfinn Ingolfsen via cctech
<cctech at classiccmp.org> wrote:
> FWIW, Dore'[1] doesn't compile out of the box on FreeBSD 10.3-stable:
> ./config/imake/imake -I./config/cf  -DTOPDIR=. -DCURDIR=.
> ./config/imake/imake: No such file or directory: Cannot exec
> /usr/libexec/cpp.  Stop.
> ./config/imake/imake: Exit code 1.  Stop.

I'd check the imake sources to see if it lets you set cpp via a env
var and use that to set it to "cc -E". If not, the next easiest way
around this is to hack imake to use cc -E instead. The next easiest is
to create a /usr/libexec/cpp that looks like

#!/bin/sh
cc -E $*

which is usually sufficient for imake.

This looks to be an old-school C program, so you may see a boatload of
warnings...

Warner


More information about the cctech mailing list