Compiler issue

The FP issue made me wondering.

Since the DDK seems to use a relatively new C++ compiler:

  • Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9176 for 80x86
  • Copyright (C) Microsoft Corporation 1984-2001. All rights reserved.
    And seems to have been built with VC7 (since it uses msvcr70.dll)

where VC7.1 uses:

  • Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
  • Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

Q1.1 Can we use the VC7.1 compiler for kernel mode compilation by simply replacing [DDK]\bin\x86 with [VS2003]\Vc7\bin and needed dlls from [VS2003]\Common7\IDE ?
Or it is just plain stupid? :slight_smile:
I always wanted to use “__super” in KM :stuck_out_tongue_winking_eye:

Q1.2 This question then sets to see if we can simply use the IDE to build our projects (With correct rebasing and all the stuff to make it works).

*And*

Q2. Does in free mode the compiler uses all the intrinsics that the compiler support, like InterlockedXXX and FP functions, or you have to use #pragma intrinsic() and some defines like I always do in UM ?

Thanks

Marc-Antoine Ruel, ing. jr.
Cardinal Health Canada
330 St-Vallier Est, Suite 330
Qu?bec (Qu?bec) G1K 9C5
(418) 872-0172 x8931

Q1.1: in my opinion this is, as you speculate, just plain stupid. It also
won’t work without a lot of trouble. The DDK FINALLY COMES WITH A COMPLETE,
VERSION APPROPRIATE, TOOLSET. Why would you want to screw this up?

Q1.2: yes you can use the IDE. There are several methods available, from my
simple ddkbuild.bat solution, to various wizards. See my article on the
choices available at http://www.wd-3.com/

=====================
Mark Roddy
Hollis Technology Solutions
www.hollistech.com
xxxxx@hollistech.com

-----Original Message-----
From: Marc-Antoine Ruel [mailto:xxxxx@eonmediainc.com]
Sent: Thursday, July 17, 2003 9:52 AM
To: Windows System Software Developers Interest List
Subject: [ntdev] Compiler issue

The FP issue made me wondering.

Since the DDK seems to use a relatively new C++ compiler:

  • Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9176 for
    80x86
  • Copyright (C) Microsoft Corporation 1984-2001. All rights reserved. And
    seems to have been built with VC7 (since it uses msvcr70.dll)

where VC7.1 uses:

  • Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for
    80x86
  • Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

Q1.1 Can we use the VC7.1 compiler for kernel mode compilation by simply
replacing [DDK]\bin\x86 with [VS2003]\Vc7\bin and needed dlls from
[VS2003]\Common7\IDE ? Or it is just plain stupid? :slight_smile: I always wanted to use
“__super” in KM :stuck_out_tongue_winking_eye:

Q1.2 This question then sets to see if we can simply use the IDE to build
our projects (With correct rebasing and all the stuff to make it works).

*And*

Q2. Does in free mode the compiler uses all the intrinsics that the compiler
support, like InterlockedXXX and FP functions, or you have to use #pragma
intrinsic() and some defines like I always do in UM ?

Thanks

Marc-Antoine Ruel, ing. jr.
Cardinal Health Canada
330 St-Vallier Est, Suite 330
Qu?bec (Qu?bec) G1K 9C5
(418) 872-0172 x8931


You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com

“Roddy, Mark” wrote:

Q1.2: yes you can use the IDE. There are several methods available, from my
simple ddkbuild.bat solution, to various wizards. See my article on the
choices available at http://www.wd-3.com/

Specifically, at http://www.wd-3.com/archive/HowBuild.htm.


Walter Oney
Editor in Chief