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

From: Anselm R Garbe <anselm_AT_garbe.us>
Date: Mon, 1 Feb 2010 07:08:55 +0000

On 1 February 2010 07:06, Anselm R Garbe <anselm_AT_garbe.us> wrote:
> On 31 January 2010 22:40, anonymous <aim0shei_AT_lavabit.com> wrote:
>>> If you need mkstemp you have have two options: either you restrict
>>> your program to run only on platforms that include it, or you
>>> implement your own version. In either case there is *zero* advantage
>>> of finding out at build time whatever your system includes it or not.
>>
>> What if there is different APIs on different systems? Example is
>> clone/rfork. With configure you can choose one of them at compile time.
>> And even if you want, you can't implement your own version in userspace.
>
> clone/rfork is the typical case for a program that won't be portable
> from Linux to other Unix-like platforms. So if you use clone/rfork you
> have to live with the fact that this will only work on Linux. If you
> can't then write portable code instead and use fork and don't use
> clone.

Having said that, in case of rfork vice versa from FreeBSD.

Cheers,
Anselm
Received on Mon Feb 01 2010 - 07:08:55 UTC

This archive was generated by hypermail 2.2.0 : Mon Feb 01 2010 - 07:12:04 UTC