[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism
From: |
Felix |
Subject: |
Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism |
Date: |
Sun, 03 Feb 2013 23:58:41 +0100 (CET) |
From: Michele La Monaca <address@hidden>
Subject: Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism
Date: Sun, 3 Feb 2013 21:57:39 +0100
> On Fri, Feb 1, 2013 at 9:55 PM, Peter Bex <address@hidden> wrote:
>> On Fri, Feb 01, 2013 at 09:34:30PM +0100, Michele La Monaca wrote:
>>> Currently MinGW detection is done by exclusion. If you are Windows and
>>> not running in a MSYS or CYGWIN environment then I conclude that you
>>> are MinGW. I think this line of reasoning is correct, but if there are
>>> experts please chime in.
>>
>> Recently someone asked about MSVC, and possibly wanted to restore
>> support for it. I'd expect this to be the "typical" case, once it
>> works again. Of course for now (until it works) we can get away
>> with the assumptions you mentioned.
>
> Incidentally a good reason not to rely on gcc to detect the platform.
> Btw, I might be (remotely) interested in that. Can you (or anyone)
> confirm that someone is actively working on that? Is there any "prior
> art"? Thanks.
It's no black magic, just a bunch of missing/renamed header-files and
quasi-POSIX functions not available or available under a different
name on Windows. Oh, and the apply-hack assembly thingy, which is 2 or 3
instructions using _asm inside "C_apply". I can provide this, if you
want.
cheers,
felix
- Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism, Mario Domenech Goulart, 2013/02/01
- Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism, Michele La Monaca, 2013/02/01
- Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism, Peter Bex, 2013/02/01
- Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism, John Cowan, 2013/02/01
- Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism, .alyn.post., 2013/02/01
- Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism, Michele La Monaca, 2013/02/01
- Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism, Peter Bex, 2013/02/01
- Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism, Michele La Monaca, 2013/02/03
- Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism, John Cowan, 2013/02/03
- Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism, Michele La Monaca, 2013/02/07
- Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism,
Felix <=
- Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism, Michele La Monaca, 2013/02/04
- Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism, John Cowan, 2013/02/01
- Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism, Peter Bex, 2013/02/01
Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism, .alyn.post., 2013/02/01
Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism, Mario Domenech Goulart, 2013/02/01