On 09/27/2010 06:57 PM, Rainer Jung wrote:
On 27.09.2010 17:45, sebb wrote:
At least i would be interested as well :)
Here you'll find a README.txt for assembling the
custom VC installation that uses DDK 7.1
Well, Still needs Platform SDK for 2003r2 and
VS 2003 (There are no CRT .obj files for x86 in PSDK
nor in the DDK, and later VS versions fail for
some reason which didn't yet guess why)
Scripts from the README.txt can be found at
http://people.redhat.com/mturk/files/
If someone is interested I'll send him a link with
the fully assembled .zip (150Mb).
Regards
--
^TM
Custom Microsoft Compiler Toolkit Compilation
Version: 15.0_1 (Internal version number)
Based on the VC from DDK 7.1.0 (cl 15.00.30729.207)
Note: VS2008's cl is 15.00.21022.08, so this seems like the
same compiler generation.
Directory layout:
<Top Directory>
+--bin
| +--1033
| +--amd64
| +--i386
| +--ia64
+--include
| +--atl
| +--crt
| | +--sys
| +--gl
| +--mfc
+--lib
+--amd64
+--i386
+--ia64
Files copied:
Visual Studio .NET 2003
VC7/lib/*.obj lib/i386
Windows Driver Kit version 7.1.0 (cl 15.00.30729.207)
lib/crt/i386/* -> lib/i386/
lib/mfc/i386/* -> lib/i386/
lib/atl/i386/* -> lib/i386/
lib/wnet/i386/* -> lib/i386/
lib/crt/amd64/* -> lib/amd64/
lib/mfc/amd64/* -> lib/amd64/
lib/atl/amd64/* -> lib/amd64/
lib/wnet/amd64/* -> lib/amd64/
lib/crt/ia64/* -> lib/amd64/
lib/mfc/ia64/* -> lib/amd64/
lib/atl/ia64/* -> lib/amd64/
lib/wnet/ia64/* -> lib/amd64/
Windows Server 2003R2 Platfrom SDK (cl 14.00.40310.41)
include/* -> include/
include/gl/* -> include/gl/
-f lib/* -> lib/i386/
-f lib/amd64/* -> lib/amd64
-f lib/ia64/* -> lib/ia64
Need to generate missing exports from DDK msvcrt.lib
C:\> cd lib && buildthunk
This will create msvcrt_thunk0.lib for each platform
NOTE:
Projects using this msvcrt need to add
msvcrt_thunk0.lib and msvcrt_win2003.obj at link time
to include the missing functionality.
On Windows XP, C programs will work only if -EHsc is specified.
Other option is to copy lib/winxp/i386/* to lib/i386/
and use msvcrt_winxp.obj instead msvcrt_win2003.obj at link time.
Additional Tools:
Depends 2.2.6000 from http://dependencywalker.com/
Install 32-bit inside bin/
Install 64-bit inside bin/amd64
Netwide Assembler
http://www.nasm.us/pub/nasm/releasebuilds/2.08.01/win32/nasm-2.08.01-win32.zip
copy nasm.exe -> bin/i386/nasm.exe
nasm.exe -> bin/i386/nasmw.exe
Additional Tweeks (at random order)
copy bin/amd64/ml64.exe -> bin/amd64/ml.exe
Running:
Setup the environment by invoking setenv.bat <Target>
Target will setup the compiler paths as well as libraries
and include directories
For Win32 the Target can be: /x86 or /i386
For Win64 the Target can be: /x64, /amd64, /emt64 or /x86_64
For Itanium use either /i64 or /ia64
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org