chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] NURSERY environment variable considered harmful


From: Brandon J. Van Every
Subject: Re: [Chicken-users] NURSERY environment variable considered harmful
Date: Sat, 15 Jul 2006 00:57:46 -0700
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

felix winkelmann wrote:
On 7/15/06, Brandon J. Van Every <address@hidden> wrote:
Is it really good policy to allow people to set a NURSERY environment
variable to affect the build?  I'm really against cryptic ways of
building stuff, like CHICKEN_HOME and NURSERY.  These things are
forgotten, they affect stuff, they create bugs in people's error
reportage, etc.  If it is important to allow custom configuration of
NURSERY in the build, I propose a CMake OPTION for it, not an
environment variable.  Let me know if there are important case uses of
NURSERY for either Chicken or eggs, apart from the build.

AFAIK, there are none. Making it an option for CMake is a good idea.

Ok, will do.


Some more suggestions:

- make build type MinSizeRel the default

Why? Personally, I can't abide a size vs. speed tradeoff. Do you have proof that MinSizeRel is actually faster? Otherwise, "Release" makes sense to me, if the tedium of changing the VC++ build configuration is too onerous. (Must admit it bores me always having to do it.)

- with gcc the compiler options "-fomit-frame-pointer" is advisable with
 optimized build types (MinSizeRel, Release)
- with gcc "-fno-strict-aliasing" is preferred (any build type)


I'll do these.


Cheers,
Brandon Van Every





reply via email to

[Prev in Thread] Current Thread [Next in Thread]