Re: [dev] [OFFTOPIC] Recommended meta-build system

From: Anselm R Garbe <anselm_AT_garbe.us>
Date: Mon, 1 Feb 2010 13:11:13 +0000

On 1 February 2010 13:06, anonymous <aim0shei_AT_lavabit.com> wrote:
>> Having said that, in case of rfork vice versa from FreeBSD.
>
> Yes, I am talking about FreeBSD. With configure you can make your
> program portable between FreeBSD and Linux. Most probably other
> systems won't implement clone/rfork their own way so program will be
> portable between all systems with some kind of rfork implementation.

Well in such a case you might want to provide an abstraction like
implementing pclone() and that is implemented as rfork on FreeBSD and
clone on Linux and then you provide two Makefiles or config.mk's for
inclusion, one building pclone() using rfork that is being used on
FreeBSD and the other one building it using clone() on Linux.

I can't see why you'd want configure or something similar for such
kind of stuff.

Cheers,
Anselm
Received on Mon Feb 01 2010 - 13:11:13 UTC

This archive was generated by hypermail 2.2.0 : Mon Feb 01 2010 - 13:24:01 UTC