[Bf-committers] SOT (slightly off topic): Short scons related
question
Meino Christian Cramer
bf-committers@blender.org
Thu, 22 Apr 2004 07:55:19 +0200 (CEST)
From: Michael Velikanje <velikm@mtaonline.net>
Subject: Re: [Bf-committers] SOT (slightly off topic): Short scons related question
Date: Wed, 21 Apr 2004 18:31:24 -0800
Thanks for the hint !
Works great !
By adding
env['CC']='gcc -V 3.3.3'
env['CXX']='g++ -V 3.3.3'
(or what version you want to use) you can directly call older and
still installed versions of gcc, since gcc know about them by using
the "-V"option.
My blender build script becomes a little like a patchwork ;)
Kind regards,
Meino
> Try adding this to the correct section (your os define section) of
> SConstruct:
>
> env['CC']='gcc-3.3'
> env['CXX']='g++-3.3'
>
> And of course edit the gcc versions to suit
>
> On Apr 21, 2004, at 10:25 AM, Meino Christian Cramer wrote:
>
> >
> > Hi,
> >
> > ...is there a way to generate a config.opts file in the root of the
> > source tree without starting the whole compilation?
> >
> > I have to patch this file to use another version of gcc, since
> > blender does not compile with the gcc 3.4.0.
> >
> > By the way: It would be much more easier, if the scons building
> > system would respect the common and widely used
> > environment variable "CC" to handle such things.
> >
> > Kind regards,
> > Meino
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers@blender.org
> > http://www.blender.org/mailman/listinfo/bf-committers
> >
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://www.blender.org/mailman/listinfo/bf-committers
>