Ask your own question, for FREE!
Computer Science 13 Online
OpenStudy (anonymous):

Can you name some compilers which convert data to binary like GCC?Also help me download it.I try'd but failed.

OpenStudy (shadowfiend):

For what language or languages?

OpenStudy (anonymous):

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/

OpenStudy (anonymous):

There's the Intel C compiler. There's the Microsoft Visual C compiler

OpenStudy (anonymous):

Turbo C :-D

OpenStudy (anonymous):

Lots of "Turbo" ones - Turbo C, Turbo C++, Turbo Pascal...

OpenStudy (anonymous):

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.......)

OpenStudy (llib_xoc):

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.

OpenStudy (llib_xoc):

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.

OpenStudy (anonymous):

Thanks, they both are easy to use :)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!