WineHQ

Visual C++

Visual Studio 8 command line C++ compiler and linker.

This appdb entry is about command line tools. If you intend to use/run Visual C++ IDE visit Visual Studio .NET appdb entries!

Application Details:

Version: 8.0 (2005)
License: Retail
URL: http://msdn.microsoft.com/visu...
Votes: 0
Latest Rating: Gold
Latest Wine Version Tested: 1.1.35

Maintainers: About Maintainership

Free Download XPSP2 PSDK Full Download with Local Install containing VC++ commandline tools

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

At least the compiler (cl.exe) and the linker (linker.exe). dumpbin.exe also seems to work fine.

These executables run, but I am not sure if they really work.

bscmake.exe
clstencil.exe
cvtres.exe
editbin.exe
lib.exe
link.exe
mt.exe
nmake.exe
rc.exe
sproxy.exe
undname.exe
vcdeploy.exe
xdcmake.exe

Passing the /c, /link /LIBPATH, /we[n], /E, /Zg, /Zs, /Fa, /Fm, /nologo, /WL, /showIncludes flags to cl.exe works.

Passing the /O1, /O2, /Os, /Ox, /Og, /Od, /Ot flags to cl.exe seems to work to, but wasn't tested extensively.


What does not

Compiling with debug info (/Zi) and linking with debug info (/DEBUG) as somebody else reported in the comments.

Compiling to CLR doens't work:

cl.exe /c /clr:pure main.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 14.00.50727.42
fixme:mscoree:LoadLibraryShim (0x414b20 L"mscorjit.dll", (nil), (nil), 0x32fd84): semi-stub
for Microsoft (R) .NET Framework version 14.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

main.cpp
fixme:mscoree:LoadLibraryShim (0x106f33a0 L"alink.dll", (nil), (nil), 0x32e7fc): semi-stub
main.cpp : fatal error C1108: unable to find DLL: 'alink.dll'
fixme:mscoree:CorExitProcess (2) stub

Workarounds

What was not tested

All the other flags...

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowUbuntu 9.10 "Karmic" i386 (+ variants like Kubuntu)Jan 05 20101.1.35Yes Yes GoldDan Kegel 
CurrentUbuntu 8.04 "Hardy" i386 (+ variants like Kubuntu)May 13 20081.0-rc1No Yes Goldan anonymous user 
ShowUbuntu 7.10 "Gutsy" i386 (+ variants like Kubuntu)Oct 25 20070.9.46.N/A Yes Goldan anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected
21031 Visual C++ 2005 Trial can't build project, deadlocks, heap corruption? NEW View
21259 Visual C++ 2005 Trial build hangs on first run after a reboot NEW View
21423 Visual C++ 2005 slow? NEW View
36750 Visual C++ 2005 Trial build fails very early NEW View
37375 Visual C++ 2005 Express SP1 install fails NEW View

Show all bugs

HowTo / Notes

HOWTO

­Make sure you operate on a clean WINEPREFIX (~/.wine)!


Download the full PSDK into temp folder as follows:

$ for ((i=1; i<=10; i++)) ; do wget http://download.microsoft.com/download/platformsdk/sdk/update/WIN98MeXP/EN-US/2600.2180/FULL/PSDK-FULL.$i.cab ; done
$ wget http://download.microsoft.com/download/platformsdk/sdk/update/WIN98MeXP/EN-US/2600.2180/FULL/PSDK-FULL.bat
$ wget http://download.microsoft.com/download/platformsdk/sdk/update/WIN98MeXP/EN-US/2600.2180/FULL/Extract.exe

Run the supplied batch file to extract all cabinets to temp PSDK install folder:

­$ wine start.exe PSDK-FULL.bat "C:\psdktemp"

Execute the installer from "C:\psdktemp" folder

$ wine ./setup.exe­

­
Installing components action takes a considerable time (consuming 100% CPU)

This is bug 14168. The installer takes a considerable when the Installing components action is processed on install page. Depending on machine speed it takes 5-10 minutes until it really begins to copy files.

Wine's msi component executes large table joins which causes this performance hit (CPU usage 100% for long time). Just be patient.

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Combination with native IDE
by Szymon Ender on Wednesday April 13th 2016, 2:33
Below is a tutorial how to combine the command line tools with a native IDE: Code::Blocks:
www.orbiterwiki.org/wiki/Free_Compiler_Setup_Under_Linux
Back