I fixed this on the build machine. It is hard coded in the buildd.rex script. That's ok for now as both Win2k and WinXP on the build machine both use the same compiler. But, as Mark already stated, we need to find a way to do this dynamically.
Thanks,
W. David Ashley
IBM Systems and Technology Group Lab Services
Open Object Rexx Team
Mobile Phone: 512-289-7506
"Mark Miesfeld"
<[EMAIL PROTECTED]
om> To
Sent by: "ooRexx Dev List"
oorexx-devel-boun <[email protected]
[EMAIL PROTECTED] >
orge.net cc
Subject
08/25/2008 10:38 [Oorexx-devel] Windows build,
AM MSVCVER, the build machine
Please respond to
Open Object Rexx
Developer Mailing
List
<[EMAIL PROTECTED]
ts.sourceforge.ne
t>
All,
Sort of a FYI on the Windows build.
A few weeks ago I did some work to get the Windows build to work again
with VC++ 6.0. In order to support VC++ 6.0 and say, VC++ 2005, the
make files need to be able to tell what version of the compiler is in
use.
The make files do this by checking the MSVCVER environment variable.
I picked this because it looked like it was getting set by a
combination of the VC++ set up and / or the Platform SDK set up.
Unfortunately, it seems that there are some combinations of VC++ and a
Platform SDK where it is not set.
If it isn't set, then it needs to be set in the environment by the
builder, in the same way that SRC_DRV or SRC_DIR needs to be set.
The values to use are:
Visual C++ 2008 == 9.0
Visual C++ 2005 == 8.0
Visual C++ 2003 == 7.0
Visual C++ 6.0 == 6.0
This was documented in the comments in orxwin32.mak and I just updated
windows-build.txt to also document it. If MSVCVER is not getting set
automatically, then you would need to do for example
set MSVCVER=7.0
if the compiler is Visual C++ 2003.
If I can come up with a better way to have this done automatically,
then I will. But, every Platform SDK and every version of Visual C++
seems to do things differently, so I don't know if it is doable.
Build machine
-------------------
Also, over the weekend I added some more logging to the Windows build
so that I could tell why the Windows build is failing on the build
machine. It is failing now because MSVCVER is not set.
So, we'll need to set that in the environment for the VM. Maybe David
can do that, or I'll take a look tonight at where it needs to be done.
The logging changes were: attempt to always log something and to add
the print out of some of the different arg / variable values that can
cause to the build to abort early. This is what is produced on the
build machine now and should help people to understand the problem if
the build is not completed:
Building Open Object REXX for Windows
Argument check ---
Arg 1 build type: BOTH
Arg 2 package: PACKAGE
Arg 3 doc location:
Environment check ---
SRC_DRV: c:
SRC_DIR: \buildtemp\trunk
CPU: X86
MSVCVER:
NO_BUILD_LOG:
DOC_LOCATION: p:\builds\docs\3070
Building Open Object REXX for Windows - Non-Debug Version
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
c:\buildtemp\trunk\lib\ORXWIN32.MAK(60) : fatal error U1050: MSVCVER
does not appear to be set. Check windows-build.txt for details
Stop.
It is not needed that all the args and all the environment variables
be set. In the output, a blank indicates that the arg or environment
variable is not set.
--
Mark Miesfeld
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel
<<inline: graycol.gif>>
<<inline: pic04160.gif>>
<<inline: ecblank.gif>>
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
