Re: C90 IDE+compiler for Windows / educational purposes



I downloaded an informational video from MS on the net, and found out
that it supports C95 and "C++98". (According to the video), one has
actually to create an empty project and add a "C++ file". Giving it a .c
extension it is treated like a C95 file. The only "problem" is that I do
not get any warning or error when not returning a value in main().

I verified it isn't treated as a C++ file, because #include <iostream>
doesn't work while it has the .c extension and works when I rename the
file to .cpp.

But the bottom line is that it supports C95 (at least VC++ 2008 Express
claims it does).

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."
.



Relevant Pages

  • Re: C90 IDE+compiler for Windows / educational purposes
    ... You can combine the 1.1 sdk with windbg from the ... "debugging tools for windows" package for a decent command line/source ... "You can use Debugging Tools for Windows to debug drivers, ...
    (comp.lang.c)
  • Re: Wierd File Name showing up all over in my pc
    ... visual studio installed, but I don't see any reason it would have put this ... have any extension and I have no idea on how I could have possibly put this ... Can you open them with Notepad? ... Windows XP Home to Windows XP MCE. ...
    (microsoft.public.windowsxp.security_admin)
  • What I need to develop this...?
    ... I am new to windows ce world, ... I need to develop an extension to a ... input and pass to the existent modified SIP engine. ... Visual Studio 2005? ...
    (microsoft.public.windowsce.app.development)
  • Build problem, pyopenssl on win32 vs2003.
    ... I've been trying to build pyOpenSSL on Windows with Visual Studio ... I've hit the message below: ... building 'OpenSSL.SSL' extension ...
    (comp.lang.python)
  • Re: Slow booting xp home.
    ... Changing the boot order to boot first from your hard disk might save you a half second, but you won't be able to boot from a CD until you change it back - and the time spent to do that will erase any previous time saved. ... 2- Consider what software you really want to start with Windows and also how you've configured your applications at startup ... Installing and Registering Visual Studio Express Editions Smart Device ...
    (microsoft.public.windowsxp.perform_maintain)