Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Vibhor16

  • 2 years ago

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

  • This Question is Closed
  1. shadowfiend
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    For what language or languages?

  2. agdgdgdgwngo
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    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/

  3. agdgdgdgwngo
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

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

  4. agdgdgdgwngo
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Turbo C :-D

  5. agdgdgdgwngo
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

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

  6. Vibhor16
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

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

  7. llib_xoc
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 2

    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.

  8. llib_xoc
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 2

    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.

  9. Vibhor16
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Thanks, they both are easy to use :)

  10. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.