Can you name some compilers which convert data to binary like GCC?Also help me download it.I try'd but failed.
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
For what language or languages?
Many native code compilers out there for a plethora of languages. Besides the GCC there's some individual compilers for different languages, like the GHC for Haskell: http://www.haskell.org/ghc/
There's the Intel C compiler. There's the Microsoft Visual C compiler
A compilers which convert data(code) to binary.That is the reason CGG is different.It converts source code of C,C++,Java,etc. to binary(010010101010100.......)
The classic (Unix/C) model for a compiler runs in phases:
preprocessing (conditionals, macros, includes, etc)
actual compilation to textual assembly code
assembling the assembly code to a relocatable file
linking (usually) relocatable files with libraries into an executable (an executable file contains binary codes, as Vibhor16 says, together with loading and debugging information)
These phases sometimes blur together. Some optimizations (and, therefore code generation) can happen in the linking step/ A great speed-up can occur if preprocessing and compilation are merged.
This sequence can be interrupted by options, so that you can get just the preprocessed source code, or the assembly code, or the relocatable file, stopping before the next phase.
I forgot the download part of your question. The hard way, with GCC or any open-source compiler, is to download the source and try to build it. This takes a lot of experience. And, you can download pre-built binaries from various places on the web, like here: http://sourceware.org/cygwin/ or here: http://www.mingw.org/.
I'd be interested to hear which of those sites was easier to use. Things change quickly and I haven't used either on for a while.