there is many more free and commercial c/c++ compilers and tools. the following are some of the c/c++ compilers and the related tools other thanex-borland,Microsoft visual c++ andgcc/g++. depend on your target platform and the applications that you are going to develop whether it is for enterprise, industrial, embedded such as in mobile devices or just a simple standalone applications, the most useful feature may be the integrated environment development (ide) that include all the c/c++ development tools such as codes validation,iso/iec c/c++ standard conformance (to solve the portability issue) and optimization for performance. compared to other programming languages, the supports for c/c++ are very extensive. for c++0x (latest is c++11) compilers support comparison can be found atwiki.apache.org. you should take note regarding thec/c++ standard compliance compiler/ide and your target platform before choosing compiler/ide. users that want to use c89/c99/c11 standards support using visual studio c++ (vc++), you may want to read the following article byherb sutter.
|clang project||the c, c++, objective c and objective c++ front-end for thelow level virtual machine (llvm) compiler.|
a complete c language development kit for windows. it contains among other things an optimizing c compiler, a macro assembler, a linker, a resource compiler, a message compiler, a code signing utility, a make utility and an install builder.
it also contains an integrated development environment (ide) with project management, debugger, profiler, source code editor, and resource editors for dialogs, menus, string tables, accelerator tables, bitmaps, icons, cursors, animated cursors, animation videos (avi's without sound), versions and xp manifests. enhanced with support for c99 and c11, a global optimizer, a new register allocator, a function inliner, intrinsic functions, and many microsoft c extensions.
this is a c/c++ development tools (cdt) developed by open source community. it is c and c++ integrated development environment (ide) for the eclipse platform. the functionalities include:
one of the useful eclipse’s how-to can be found atibm’s developerworks. eclipse also provides ide and tools for other programming and scripting language such as java and php.
c and c++ compilers for win32, win16, dos32 and dos. claimed as fastest compile/link times and havingmany good features. digitalmars also introduced thed programming language to overcome some of the pitfalls in c/c++ as claimed.
“…the software industry has come a long way since the c language was invented. many new concepts were added to the language with c++, but backwards compatibility with c was maintained, including compatibility with nearly all the weaknesses of the original design. there have been many attempts to fix those weaknesses, but the compatibility issue frustrates it. meanwhile, both c and c++ undergo a constant accretion of new features. these new features must be carefully fitted into the existing structure without requiring rewriting old code. the end result is very complicated - the c standard is nearly 500 pages, and the c++ standard is about 750 pages! c++ is a difficult and costly language to implement, resulting in implementation variations that make it frustrating to write fully portable c++ code.
c++ programmers tend to program in particular islands of the language, i.e. getting very proficient using certain features while avoiding other feature sets. while the code is usually portable from compiler to compiler, it can be hard to port it from programmer to programmer. a great strength of c++ is that it can support many radically different styles of programming - but in long term use, the overlapping and contradictory styles are a hindrance.
c++ implements things like resizable arrays and string concatenation as part of the standard library, not as part of the core language. not being part of the core language has several suboptimal consequences.
can the power and capability of c++ be extracted, redesigned, and recast into a language that is simple, orthogonal, and practical? can it all be put into a package that is easy for compiler writers to correctly implement, and which enables compilers to efficiently generate aggressively optimized code?
modern compiler technology has progressed to the point where language features for the purpose of compensating for primitive compiler technology can be omitted. (an example of this would be the 'register' keyword in c; a more subtle example is the macro preprocessor in c.) we can rely on modern compiler optimization technology to not need language features necessary to get acceptable code quality out of primitive compilers…”
“…the open, multi-target integrated development environment. the ide allows you to easily edit, compile, link, debug and build applications for 16-bit systems including dos, os/2 1.x, and windows 3.x , as well as 32-bit systems including extended dos, win32 (windows nt/2000/xp and windows 95/98/me), os/2, novell nlms, and windows 3.x (win32s and win386). projects can be made up of multiple targets which permit a project to include exes and dlls. the ide produces makefiles for the project which can be viewed and edited with a text editor. the ide is hosted on windows or os/2…”
“…comeau c/c++ is a command line driven c and c++ compiler that generates platform specific and c compiler specific c as its object code (the generated c code won't work on another platform, as it is cpu, os and c compiler specific, and furthermore, it is not standalone). it then transparently invokes a particular c compiler that we've specifically ported it to (again, it won't work with one we haven't ported it to -- such porting must be done by comeau since particulars must be coded into the compiler and library itself). note closely that this is not preprocessing, but compiling. the comeau c/c++ front-end first does full "c-style" preprocessing (#include, #define, etc.), as usual. that results in a normal translation unit, upon which comeau c/c++ then does normal and full syntax, semantic and error checking. next, the input c++ program (or c program in c mode) is translated into a machine independent intermediate language (il), as is usually done by compilers. so, in effect, the original c++ (or c in c mode) source code is effectively gone at this point.
for its code generation phase, comeau c/c++ only considers this intermediate form (if). it then processes the if, and in that process the code generator produces platform specific c language source code from the if. note then that a c compiler is needed only for machine dependent native object code generation (as noted above, it must be a c compiler we've ported it to for a particular cpu and os). the c compiler provided by your unix manufacturer (or those we mention for non-unix ports) will work with the comeau c/c++ front-end on the respective platform you have purchased comeau c/c++ for, as only those have been tested and integrated together. a list of which c compilers are required is provided above. since the generated c code is at least cpu, os, and c compiler specific, using another c compiler requires a custom port from comeau…”
you can try the c/c++ online compiling using the comeau c++ 4.3.3.
qt is a complete open source c++ application framework, including a class library and tools for cross-platform development (windows, linux/x11 and mac os/x) and qtopia is a comprehensive c++ gui application development platform for mobile and embedded devices powered by linux. you can see a list of customers whodevelop world class product that used these tools.
c and c++ compilers that specific to the application development for ibm products. also available thevisualage c++.
a free distributed c/c++ compiler.
“…distcc is a program to distribute builds of c, c++, objective c or objective c++ code across several machines on a network. distcc should always generate the same results as a local build, is simple to install and use, and is usually much faster than a local compile.
distcc does not require all machines to share a filesystem, have synchronized clocks, or to have the same libraries or header files installed. they can even have different processors or operating systems, if cross-compilers are installed.
just wanted to drop you a line to say that we are now using distcc at work and it is excellent. we have a rack of opteron machines that we use for computational tasks and we are now using them as a compile farm to compile our ~1mloc c++ tree (which can take an hour on a single cpu to recompile if we change certain header files). we tried using sun's grid engine to do this (we already use it to schedule our computational jobs), but the combination of its polled operation and the overhead of nfs led to little improvement (and greatly stressed our network). with distcc compile times are way down and my productivity has greatly improved; the two best features for me are its low impact on the network and its simplicity. distcc is developed on gnu/linux, but has been reported to work on other systems including freebsd, netbsd, darwin, solaris, hp-ux, irix, cygwin and bsd/os…”
“…mingw ("minimalistic gnu for windows") refers to a set of runtime headers, used in building a compiler system based on the gnu gcc and binutils projects. it compiles and links code to be run on win32 platforms... providing c, c++ and fortran compilers plus other related tools. if you see references to "mingw32" instead of "mingw", they are referring to the same compiler system. the project's name changed from mingw32 to mingw is to prevent the implication that mingw will only works on 32 bit systems (as 64 and higher bit machines become more common, mingw will evolve to work with them). mingw uses the microsoft runtime libraries, distributed with the windows operating system. unlike other ports of gcc to windows, the runtime libraries are not distributed using gnu's general public license (gpl). you, therefore, do not have to distribute your source code with your programs unless, of course, you use a gpl library in your programs…”
“…bloodshed dev-c++ is a full-featured integrated development environment (ide) for the c/c++ programming language. it uses mingw port of gcc (gnu compiler collection) as its compiler. dev-c++ can also be used in combination with cygwin or any other gcc based compiler…”
“…a development environment to develop code for microchip (pic) and scenix (sx) processors. it includes c, c++ and pascal compilers (including the next generation c compiler boostc) and supports other tools like mpasm (from microchip) and picc lite c compiler (from hi-tech). sourceboost ide works under ms windows 95/98/me/nt/2000/xp…”
“…the sun c, c++, and fortran compilers include advanced features for developing applications on sun solaris sparc and x86/x64 platforms. these compilers utilize a common optimizing backend code generator, and accept standard c, c++, and fortran with extensions…”
“…paradigm c++ professional includes real and protected mode compilers for embedded c and c++ developers. with paradigm c++ professional, you get both ansi c and ansi c++ compilers that work within the integrated development environment or from the command line if you choose to use makefiles. also available the paradigm c++ lint utility that can be used to perform a high level of checking on c/c++ source files. just select a c/c++ source file node in the project view and look under the special local menu item. lint can be used to find dead definitions, unreferenced header files, and much more. this tool can tell you a great deal about your code and catch hidden problems you may not have realized…”
“…powerful high-level programming language compilers, which translate programs directly into machine code. the c/c++ compilers support object-oriented programming with c++ on all platforms. c++ is a powerful, high-level programming language which supports the principles of object-oriented programming, such as encapsulation, inheritance and polymorphism. c++ is particularly suitable for developing reusable software building blocks in the form of class libraries. c/c++ permits selective use of the advantages of object-oriented programming. the c language set is also available…”
the three clause bsd-licensed c and c++ compiler, with c++ stl support.
a versatile ide for c and c++, written for gtk/gnome. features include project management, application wizards, an onboard interactive debugger, and a powerful source editor with browsing and syntax highlighting.
“…a set of powerful tools to assist developers in migrating applications from unix/linux to the microsoft windows; platform. cygwin delivers the open source standard red hat gnu gcc compiler and gdb debugger on windows. in addition, it provides for a standard unix/linux development environment on windows including apis and command shells. the cygwin.dll library, included with cygwin, delivers the interesting subset of unix svr4, bsd, and posix apis to enable quick ports of unix/linux applications to the windows platform…”
ch ide. originally the ch, an embeddable c/c++ interpreter for cross-platform scripting, shell programming,2d/3d plotting, numerical computing, and embedded scripting.chscite ide allows you to edit, parse, and run c, ch and c++ code within the ide with the user interface in the local language such as german, chinese, and korea. it supports iso c standard (c90), major new features in c99, classes in c++, posix, x/motif, windows, opengl, odbc, gtk+, c lapack, cgi, xml, 2d/3d graphical plotting, advanced numerical computing, and shell programming. c/ch/c++ allows users to use one language, anywhere and everywhere, for any programming tasks.
provide optimizing c, c++/embedded c++, ada 95, and fortran compilers to the embedded industry.
provide solution for building c/c++ web services as part of a service-oriented architecture.
theadaptive communication environment (ace) is a freely available,open-source object-oriented (oo) framework that implements many corepatterns for concurrent communication software. this cross platform software functionalities include event demultiplexing and event handler dispatching,signal handling,service initialization,interprocess communication, shared memory management,message routing,dynamic (re)configuration of distributed services,concurrent execution and synchronization.
used to visualize and flowchart codes and support c, c++, vc++ (visual c++ .net) and other programming languages.
provide c/c++ code validation and standard conformance. its products, pc-lint and flexelint will check your c/c++ source code and find bugs, glitches, inconsistencies, non-portable constructs, redundant code, and much more.
c/c++ code validation and standard conformance tool. provides tests for the more traditional components of your c++ library, like language support and iostreams classes, as well as the more recent additions, like the standard template library (stl).
the kdevelop-project was founded in 1998 to build up an easy to use ide (integrated development environment) forkde. since then, the kdevelop ide is publicly available under thegpl and supportsmany programming languages.
|c++ boost library||this c++ library is part of the standard c++ (iso c++). it is supposed to be useful, and usable across a broad spectrum of applications|
the hp c/ac++ developer's bundle provides the tools for compiling, linking, and debugging c and c++ programs. it also includes performance analysis tools, code analysis tools, and the hp-ux developer's toolkit. this product runs on hp-ux 11i v3, on the hp integrity and hp 9000 systems. the hp c/ac++ developer's bundle includes:
the hp ac++ compiler is hp's implementation of the iso/iec 14882 standard for the c++ programming language (the international standard for c++) and largely conforms to this standard.
|pro *c/c++ precompiler|
an oracle precompiler is a programming tool that enables the user to embed sql statements in a high-level source program. the precompiler accepts the source program as input, translates the embedded sql statements into standard oracle runtime library calls, and generates a modified source program that you can compile, link, and execute in the usual way.
|elsa: the elkhound-based c/c++ parser||a c and c++ parser. it is based on theelkhound parser generator. it lexes and parses input c/c++ code into an abstract syntax tree.|
|edison design group c++ frontend||it supports the c++ language of the iso/iec 14882:2003 standard, and many features from the iso/iec 14882:2011 standard. under control of command-line options, the front end also supports ansi/iso c (both c89 and c99, and the embedded c tr), the microsoft dialects of c and c++ (including c++/cli), gnu c and c++, sun c++, the cfront 2.1 and 3.0.n dialects of c++, and k&r/pcc c.|
|oracle solaris studio||oracle's advanced c, c++ and fortran development tool suite, delivers the latest in compiler optimizations, multithread performance, and powerful analysis tools for the best application performance and reliability on oracle solaris, oracle linux, and red hat enterprise linux operating systems.|
more information on c and c++ tools, libraries, utilities, sdks and other related c and c++ 'creatures', open source or commercial can be found inc/c++ libraries blog.