Re: C90 IDE+compiler for Windows / educational purposes
- From: Ioannis Vranos <ivranos@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 22 Feb 2008 15:45:19 +0200
mb wrote:
Personally, I like ningw with the insight/gdb debugger combination,
but if that long double is a deal breaker, another small less
complicated setup than the 2005/2008 express editions is the .net
framework 1.1 sdk. You can combine the 1.1 sdk with windbg from the
"debugging tools for windows" package for a decent command line/source
debugger setup. (and optionally the platform sdk to get access to
windows api headers/libs)
http://msdn2.microsoft.com/en-us/netframework/aa569264.aspx
The ".NET Framework 1.1 SDK" contains the compiler from Visual
Studio .NET 2003 which is supposedly C90 compatible. The download is
~106MB. After installing all you need in order to compile code is add
a shortcut to the command prompt and point it at a batch file to
configure a couple of environment variables.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/_clang_ANSI_Conformance.asp
"By default, the Microsoft extensions are enabled. To disable the
extensions, specify the /Za compiler option. With /Za, all non-ANSI
code generates errors or warnings."
shortcut to launch command prompt:
"cmd /k path\to\sdkvars.bat"
batch file to set environment variables "sdkvars.bat":
@ECHO OFF
SET Path=%PROGRAMFILES%\Microsoft Visual Studio .NET 2003\Vc7\bin;
%PROGRAMFILES%\Microsoft Visual Studio .NET 2003\Common7\IDE;%PATH%
SET BIN=%PROGRAMFILES%\Microsoft Visual Studio .NET 2003\Common7\IDE;
%PROGRAMFILES%\Microsoft Visual Studio .NET 2003\Vc7\bin
SET LIB=%PROGRAMFILES%\Microsoft Visual Studio .NET 2003\Vc7\Lib;
SET INCLUDE=%PROGRAMFILES%\Microsoft Visual Studio .NET
2003\Vc7\Include;
CD /D %USERPROFILE%\Desktop\src
http://www.microsoft.com/whdc/devtools/debugging/default.mspx
"You can use Debugging Tools for Windows to debug drivers,
applications, and services on systems running Windows NT 4.0, Windows
2000, Windows XP, Windows Server 2003, Windows Vista, and Windows
Server 2008 as well as for debugging the operating system itself.
Versions of the Debugging Tools for Windows package are available for
32-bit x86, native Intel Itanium, and native x64 platforms."
Thanks for the info, but I think the ideal for newcomers to C and C++ is to use elegant tools like "VB" users do, an IDE for example.
.
- References:
- Re: C90 IDE+compiler for Windows / educational purposes
- From: Ioannis Vranos
- Re: C90 IDE+compiler for Windows / educational purposes
- From: Nick Keighley
- Re: C90 IDE+compiler for Windows / educational purposes
- From: Ioannis Vranos
- Re: C90 IDE+compiler for Windows / educational purposes
- From: santosh
- Re: C90 IDE+compiler for Windows / educational purposes
- From: Ioannis Vranos
- Re: C90 IDE+compiler for Windows / educational purposes
- From: mb
- Re: C90 IDE+compiler for Windows / educational purposes
- Prev by Date: Re: C90 IDE+compiler for Windows / educational purposes
- Next by Date: Re: C90 IDE+compiler for Windows / educational purposes
- Previous by thread: Re: C90 IDE+compiler for Windows / educational purposes
- Next by thread: ugly construct
- Index(es):
Relevant Pages
|