473,804 Members | 4,217 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C++ Compiler for windows?

Is there a C++ compiler for windows that can be run from the commmandline? I
have only be able to find MS Visual Studio but its rather overkill since I
also like to just use notepad for my code.
Jul 13 '08
13 4209
In article <3b2cca50-7a68-43ea-a884-505a92dc5ae9
@m3g2000hsc.goo glegroups.com>, ja*********@gma il.com says...
On Jul 13, 2:57 pm, Jerry Coffin <jcof...@taeus. comwrote:
[ ... ]
If you're primarily interested in developing Windows
applications and happen to use C++, MS is probably the best
choice -- but otherwise, it's probably the furthest from
conforming with the standard of those listed here.

Is that really true. The only other compiler on your list that
I've worked with is g++, and I'd rate recent versions of g++ and
VC++ fairly close; VC++ still has a few bugs with regards to
some of the more exotic uses of templates, but their library is
probably still slightly better than that of g++.
Unfortunately, yes, it's really true. Not because Microsoft's compiler
is really that far behind everybody else, but because what they include
with the SDK is version 13.1, where Visual Studio currently comes with
version 15.x.

That's not so old that its conformance is truly terrible or anything
like that, but it's still old enough that I'm pretty sure most of the
others are closer.

--
Later,
Jerry.

The universe is a figment of its own imagination.
Jul 13 '08 #11
Jerry Coffin wrote:
In article <3b2cca50-7a68-43ea-a884-505a92dc5ae9
@m3g2000hsc.goo glegroups.com>, ja*********@gma il.com says...
>On Jul 13, 2:57 pm, Jerry Coffin <jcof...@taeus. comwrote:

[ ... ]
>>If you're primarily interested in developing Windows
application s and happen to use C++, MS is probably the best
choice -- but otherwise, it's probably the furthest from
conforming with the standard of those listed here.
Is that really true. The only other compiler on your list that
I've worked with is g++, and I'd rate recent versions of g++ and
VC++ fairly close; VC++ still has a few bugs with regards to
some of the more exotic uses of templates, but their library is
probably still slightly better than that of g++.

Unfortunately, yes, it's really true. Not because Microsoft's compiler
is really that far behind everybody else, but because what they include
with the SDK is version 13.1, where Visual Studio currently comes with
version 15.x.

That's not so old that its conformance is truly terrible or anything
like that, but it's still old enough that I'm pretty sure most of the
others are closer.
Pretty sure of something you haven't probably tried in a while.
Compilers evolve... VC++ was far behind the competition until a few
years ago but it has made very fast progresses starting with 7.1
(=.NET 2003, MSC_VER=1310). Have you really tried Digital Mars? Last
time I did --a couple of years ago-- it was _completely_ brain dead;
unusable for anything but toy examples. See e.g. this incredible bug:

<http://www.digitalmars .com/d/archives/c++/beta/596.html>

--
Gennaro Prota | <https://sourceforge.net/projects/breeze/>
Do you need expertise in C++? I'm available.
Jul 13 '08 #12
On Jul 13, 8:04 pm, "Alf P. Steinbach" <al...@start.no wrote:
* James Kanze:
Which is a PITA, even if you're a Unix freak, like I am. If
I want Linux, I know where to get it, and the cost isn't a
deterrant. There's such a thing as an emulation being too
exact; if I'm working under Windows, it's because I need
simple and direct access to the Windows features, and things
like making me type in /cygdrive/c/... rather than just
c:/.. don't help:-). (The worst in this regard is MSys. If
an argument starts with a '/', and the executable isn't in
the MSys directory, it replaces the '/' with 'c:\msys\...'.
Which means that 'cl /help' provokes a very strange error
message about not being able to find the file
'c:\...\help'.)
He he.
Not so funny when you actually have to deal with the problem.
James, have you considered very very exact Microsoft's Windows
Services for Unix (SFU, formerly Interix IIRC) -- it's free,
or at least, was, a few years ago.
This is the first I've heard of it, but I'll look into it. (I'd
also like to try the MKS toolkit; I used it many, many years
back, under MS-DOS, and found it very good. But they've priced
it way out of my budget today.)

Thanks.

--
James Kanze (GABI Software) email:ja******* **@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientier ter Datenverarbeitu ng
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34
Jul 13 '08 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
17577
by: Mike Fisher | last post by:
I'm seeing an error when I try to run/debug a web service. Although it doesn't happen every time, it does occur more than half of the times I hit F5. It appears to be returned by the the JIT compiler as the page is requested by the browser. The result is that the "compiler failed with error code 2000". I have tested the same code on another workstation with VS.NET and it works fine EVERY time. I'm convinced it's not the code and I...
32
2826
by: cat_dog_ass | last post by:
I am used to programming in DOS mode via Borland C++. I would now like to create programs for the Windows envirinment. Is it absoultely necessary to use Visual C++ to do this? Are there other tools that can help me in doing Windows programming via C++? How am I going to create drop-down menus and allow my programs to interact with the mouse? Regards, Icon
0
1780
by: Vlad# | last post by:
Hi, I wanted to try out some development for the Windows CE 5.0 platform so downloaded the SmartPhone SDK from Microsoft and started up a new project with a blank form. This is virtually a blank project, I will want to do some networking when I get the program to compile though. I am using Visual Studio 2005 RTM (Target is set to Windows Mobile 5.0 SmartPhone Emulator) The build error I get is this:
1
10458
by: Razzie | last post by:
Hi all, I was working on a little project, worked fine, but now all of a sudden I get: The compiler failed with error code -1073741502 as an error message (when running the site, not building). I have NO idea what's wrong. I changed some code (only very small, which I did like 10 times before that in the past 15 minutes) and I can't get it
1
4130
by: keithb | last post by:
This application works without error in the development environment using the VS web server. When I publish the site to my IIS 6.0 server, I get this error at runtime when I open the Change Password page: Compiler Error Message: CS0030: Cannot convert type 'ASP.admin_changepassword_aspx' to 'System.Web.UI.WebControls.ChangePassword' Compiler Error Message: CS0030: Cannot convert type
1
4148
by: Bruce | last post by:
We suddenly got a mysterious error message on our Windows Server 2003 (SP1) after rolling out a bug fix on a web services application this morning. The application compiles and runs fine on the development workstation (from vs 2005 on Windows XP Pro), but when I run "Copy Web Site..." to move the app out from VS to the server, then all accesses to the web service via a browser show this error message: "Compiler Error Message: CS0006:...
1
9606
by: bhanupoornakumar | last post by:
Hi .. when i am setting a website i am getting the following error.. The compiler failed with error code -1073741819. This is the full error .. u can see below. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: The compiler failed with error code...
0
4591
by: gmsieling | last post by:
We're getting compiler error CS0006, with increasing frequency. It says that a randomly named DLL was not found. This happens at random intervals when you try to run the application. We're using the webserver that comes with VS to run our web app. VS 2005 SP1 didn't fix this, and the only way I know to get around it is to close VS and delete the temporary ASP.NET files. Is there anything easier we can do? Server Error in '/' Application....
41
18235
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
1
5315
by: kmsandeep17 | last post by:
when i host my site on go daddy it give error Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: The compiler failed with error code -1073741502. Detailed Compiler Output: C:\Windows\SysWOW64\inetsrv> "C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe"...
0
9585
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10586
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10338
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10323
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9161
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6856
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3823
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2997
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.