Friday, July 31, 2009

What is GCC ( GNU C++ Compiler ) ? what does it do ?

I need full explanation of GNU .. i mean what it is acyually for ..

What is GCC ( GNU C++ Compiler ) ? what does it do ?
yes, gcc works on windoze. You can even cross-compile linux programs using gcc on windoze (i.e., run a gcc on windoze on a program source to generate a linux (or any other supported architecture for that matter) executable). So, yes, you can do all the same stuff with it you can on a normal OS.


Also, gcc is not just a "C/C++" compiler. The abbreviation "gcc" stands for "GNU compiler collection". It compiles C, C++, Fortran, Java, Ada, Objective-C, and some other languages.


Finally, linux and BSD aren't really "GNU operating systems", although, a large portion of their software (such as most shell file manipulation utilities and programming tools - awk,make,tar,gzip,grep,gdb etc) has indeed been developed by GNU project, but kernels (that actually define the "OS" for all practical purposes - that's what essetially makes, say, linux different from BSD, while both are running gnu software on top of their respective kernels. MAC OS btw, is a BSD too)are independent developments.


The X servers, used by various *nix flavours are also created by an project, separate from GNU, called "X concortium"
Reply:It all started in 1983, when the ideea of creating a Unix-like operating system came to life. GNU comes from "GNU's not UNIX".


All software that have been developed under GNU project were absolutely free, and this included not only entire operating systems (like Linux, BSD, ReactOS and so on) but other applications as well (X server, system kernels, boot managers, office applications...)


GCC is GNU C/C++ compiler, so a compiler for C language that will run on GNU compatible operating systems. Not only that it's absolutely free to use and modify, but it's also one of the best C compilers out there.


As I already said it works only on Linux, BSD and other compatible OS, but it was also ported to windows as well (of course it had to be adapted to windows structure so doesn't mean that everything you can do with gcc on Linux ofr example you can do in windows and vice vers).


For a list of compilers adapted after gcc look here:
Reply:You are not going to get it here for 2 points. Find google.





A compiler is a special program which takes a program which someone has written and converts it into a final executable program. All executable programs of any size are compiled, whether in Windows or Unix or Linux.


No comments:

Post a Comment