[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism
From: |
John Cowan |
Subject: |
Re: [Chicken-hackers] [PATCH] platform auto-detection mechanism |
Date: |
Fri, 1 Feb 2013 14:20:56 -0500 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Michele La Monaca scripsit:
> You have a point here. Let me propose a compromise: detecting Windows
> is easy and bullet-proof.
Just make sure that your Windows detection does not misdetect Cygwin,
which is not Windows at all for Chicken purposes. Since you can't count
on uname in a pure MinGW world, the best thing is probably to invoke "gcc
-dumpmachine" and test the output with "findstring"; that will give you
a result that is as reliable as gcc. Cygwin isn't a cross-compilation
host normally, so no issues there.
--
Knowledge studies others / Wisdom is self-known; John Cowan
Muscle masters brothers / Self-mastery is bone; address@hidden
Content need never borrow / Ambition wanders blind; http://ccil.org/~cowan
Vitality cleaves to the marrow / Leaving death behind. --Tao 33 (Bynner)
- 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 <=
- 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, 2013/02/03
- 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