[Bf-committers] Scons is using the wrong compiler on my win32
Peter den Bak
bf-committers@blender.org
Tue, 24 Feb 2004 12:07:52 +0100
This is a multi-part message in MIME format.
------=_NextPart_000_0001_01C3FACE.D4230E20
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
On my win32 system I have installed three different compilers:
=20
Msvc 6
Msvc 7 (.net 2000)
Msvc 7 (.net 2003)
=20
By default the msvc .net 2003 compiler is used, however when I want to =
use
the msvc 6 compiler I open a command windows and give the vcvars32.bat
command witch sets the environment variables to use the msvc6 compiler. =
When
I then give the scons command it still uses the msvc .net 2003 compiler.
=20
Blender won't compile with .net 2003 (yet).
=20
How can I force scons to use the msvc 6 compiler?
Is there a command witch you can use in the Sconstruct to force scons to =
use
msvc 6 or any other compiler with right environment variables set?
=20
Regards,
=20
Peter
=20
------=_NextPart_000_0001_01C3FACE.D4230E20
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>On my win32 system I have installed three different =
compilers:</span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DNL
style=3D'font-size:12.0pt'>Msvc 6</span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DNL
style=3D'font-size:12.0pt'>Msvc 7 (.net 2000)</span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DNL
style=3D'font-size:12.0pt'>Msvc 7 (.net 2003)</span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
lang=3DNL
style=3D'font-size:12.0pt'> </span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>By default the msvc .net 2003 compiler is used, however when I =
want to
use the msvc 6 compiler I open a command windows and give the =
vcvars32.bat command
witch sets the environment variables to use the msvc6 compiler. When I =
then
give the scons command it still uses the msvc .net 2003 =
compiler.</span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Blender won’t compile with .net 2003 =
(yet).</span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>How can I force scons to use the msvc 6 =
compiler?</span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Is there a command witch you can use in the Sconstruct to force =
scons
to use msvc 6 or any other compiler with right environment variables =
set?</span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Regards,</span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Peter</span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>
</div>
</body>
</html>
------=_NextPart_000_0001_01C3FACE.D4230E20--