Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jun 2009 18:37:42 +0200
From:      cpghost <cpghost@cordula.ws>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: RFC: C version of devd daemon.
Message-ID:  <20090613163742.GA2537@phenom.cordula.ws>
In-Reply-To: <48302.1244830305@critter.freebsd.dk>
References:  <20090612180906.GA12679@troutmask.apl.washington.edu> <48302.1244830305@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 12, 2009 at 06:11:45PM +0000, Poul-Henning Kamp wrote:
> In message <20090612180906.GA12679@troutmask.apl.washington.edu>, Steve Kargl w
> rites:
> 
> >Yes, I know in a year or two clang will compile C++.  And,
> >yes, I know that groff and libstdc++ require a C++ compiler.
> 
> >The difference is that devd is required for a functioning
> >system while neither groff nor libstdc++[1] would be required.
> 
> It's a tough call, isn't it ?
> 
> How about making the C-version devd an option (WITH_C_DEVD ?) or
> possibly a port ?

That's an excellent idea.

Is there also a knob (WITHOUT_GROFF ?) to turn off groff,
another one (WITHOUT_GPERF ?) to turn off gperf, etc. etc.,
so that world compiles with clang as it stands now?

BTW, C++ files in the (RELENG_7) tree are also here:

/usr/src/contrib/expat/xmlwf
/usr/src/contrib/gperf
/usr/src/contrib/groff
/usr/src/contrib/libstdc++
/usr/src/contrib/wpa_supplicant
/usr/src/crypto/openssl
/usr/src/sbin/devd

> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe    
> Never attribute to malice what can adequately be explained by incompetence.

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090613163742.GA2537>