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: felix winkelmann
Subject: Re: [Chicken-users] NURSERY environment variable considered harmful
Date: Sat, 15 Jul 2006 09:27:54 +0200

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.

Some more suggestions:

- make build type MinSizeRel the default
- 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)


cheers,
felix




reply via email to

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