473,406 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Compiler advice?

Please help me choose a compiler and environment for commercial
software development in C++... Either a compiler I currently own, can
upgrade to, or something else entirely. I'm primarily interested in
standards adherance, debugging support, and fast code, plus I'm
somewhat price-conscious. I'd be developing for Windows, but would like
to be able to build apps for Mac and possibly Linux without too much
rework. Either I'm googling wrong, or comparative compiler reviews and
benchmarks have gone out of fashion.

I currently own three C++ compilers: VC++ 6.0 (windows), an old copy of
Metrowerks Codewarrior (mac, cross-compile to windows), and IBM
VisualAge C++ (os/2). Some options I have found are

* Upgrade to VS .NET 2003 - expensive, overkill (C#, VB, etc.)
* Buy VC++ .NET 2003 Std - cheap, not optimizing compiler
* Download VC++ Toolkit 2003 - free, no commercial restriction?
* Upgrade to latest WinMac version of Codewarrior
* gcc ?
* icc ?
* others ?

Any help would be appreciated. Thanks!

Jul 23 '05 #1
2 1312
bw************@yahoo.com wrote:
Please help me choose a compiler and environment for commercial
software development in C++... [...]


Even considering that you've narrowed it down to Win/Mac/Linux
development, the choices are many and the discussion may end up
being a "my compiler is better than yours" type of thing. So,
beware.

I'd recommend Intel C/C++ compiler for Winux and update your Mac
version to the latest of whatever you've got. Intel integrates
with your IDE (VC++ v6) and on Linux you can use any other IDE,
I am certain. At least you'll have the same compiler and not have
to deal with incompatibilities between Win/Linux codes (although
you will still have plenty, probably).

You can still get the Visual C++ v8 beta if you hurry, it has its
IDE (and the debugger), and G++ on Linux is also a decent compiler,
which will leave Mac, but I heard that nowadays you can use G++
there too. Ask in a MacOS newsgroup.

In general, you should get as good a compiler as you can afford,
try not to be cheap when it comes to tools for commercial work.

V
Jul 23 '05 #2
<bw************@yahoo.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Please help me choose a compiler and environment for commercial
software development in C++... Either a compiler I currently own, can
upgrade to, or something else entirely. I'm primarily interested in
standards adherance, debugging support, and fast code, plus I'm
somewhat price-conscious. I'd be developing for Windows, but would like
to be able to build apps for Mac and possibly Linux without too much
rework. Either I'm googling wrong, or comparative compiler reviews and
benchmarks have gone out of fashion.


I suspect gcc might give you the least pain for cross-platform development.
It's also good on standards compliance and optimization and integrates with
the gdb debugger, gprof profiler, etc. And it's free!

Of course gcc is not an IDE; there are, however, IDEs with which it will
integrate, at least on Windows and Linux (don't know about Mac). gcc can
also function as a "cross-compiler", so you could do all your development on
one platform - under one IDE, say - and target other platforms.

Personally, I favour gcc + a good programmer's editor + (Gnu) make (possibly
via autoconf/automake) as a development environment.

Regards,

--
Lionel B
Jul 23 '05 #3

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

Similar topics

18
by: Computer Whizz | last post by:
Hiya... I've a little experience in C++, PHP, and a lot in BASIC... But I wish to move into C++ programming A LOT. Any good compilers/editors/VDI (visual development interface? - can't remember...
3
by: ibm | last post by:
Is there a preprocessor directive or other means whereby you can get the compiler ( for some reasonable set of compilers ) to print a user defined comment then continue at compile time when it...
15
by: Anton Gavrilov | last post by:
Hi all, I seek your advice on where to start if I want to write a compiler for a toy C-like language I invented (or, rather, am in the process of inventing). Yes, yes, I know I'm crazy and the...
6
by: David Lack | last post by:
Hi, I recently installed a 60-day trial of .NET 2003 on my development system. I made tests with previous personal projects (which compiled ok with VC6) and some open source files, and keep...
18
by: smnoff | last post by:
Ok, I am think I am a little more knowledgeable about C and pointers, ughh. And likewise, I want to fix C.....and not so much to make a C++ or Java or C# or even D like language. So, if I...
8
by: STG | last post by:
Greetings, My group has an SDK that was developed 5 years ago with VC++ 6. Over the last years, the requests for a VS.NET SDK has reached critical mass and I am now in the process of doing that....
43
by: Jeremy Thomson | last post by:
I want to do some simple programming at home on my new Vista PC. Its to automate moving .AAC files to my phone's mercury card. (Nokia's application only works with USB cable or bluetooth). So the...
244
by: Ajinkya | last post by:
Can anyone suggest me a good compiler for(c/cpp) for windows? I tried dev cpp but its debugging facility is very poor.
41
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
5
by: rembremading | last post by:
Hi All, I want to use intels LibM math library for my c program under Linux with intel compiler 10.1. I tried to follow the steps in...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.