Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. More detailed compile output?

More detailed compile output?

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 3 Posters 3.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • KonstantinosK Offline
    KonstantinosK Offline
    Konstantinos
    wrote on last edited by Konstantinos
    #1

    Hi I all. I have two compilers: MinGW (4.4, 4.8, 4.9, 5.3) and Microsoft Visual C++ Compiler (14.0), but the "compile output" that they give, does not satisfy me.

    So, I wonder, is there a better way to see how all the compiling is done with more detailed - bigger way? Something like debugger log?

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by Chris Kawa
      #2

      The compile output pane shows you the command line used to invoke the compiler and its output. There's not really much more to show. What information are you exactly interested in?

      I'm not sure what you mean by a debugger log. Compiling and debugging are two entirely different things and output from a debugger will be completely different from that of a compiler.

      1 Reply Last reply
      1
      • KonstantinosK Offline
        KonstantinosK Offline
        Konstantinos
        wrote on last edited by Konstantinos
        #3

        Hi Chris Kawa, thank you for your answer. I know that compiling and debugging are completely different. Just I like the detailed debugger log and I was expected something similar for compiling.

        Anyways, I like very much the process of compiling and I want to understand better how it is done. For example MinGW is a free and open source compiler, so maybe there is a way to track its code and to watch step by step how all the compiling is done?

        If someone wants to deepen in compiling, what he has to do?

        Thanks in advance.

        1 Reply Last reply
        0
        • Chris KawaC Offline
          Chris KawaC Offline
          Chris Kawa
          Lifetime Qt Champion
          wrote on last edited by Chris Kawa
          #4

          So you basically want to run a debugger on the compiler itself. Well, a compiler is a program like any other. If you want to step through its execution you'll need to download the source code and build a debug version. The MinGW build provided with Qt installation is a release build and does not have debug symbols.

          Debugging a compiler can be a little bit overwhelming to start with. If you're just interested in a more verbose output you can play around with compiler specific switches. For example MinGW has a -v switch for verbose output that you can pass by specifying it in the .pro file like this:

          QMAKE_CXXFLAGS += -v
          

          You can look around for other interesting options in the manual - there are a lot of them.

          1 Reply Last reply
          2
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi
            To gain better understanding of compiling, i suggest reading a book
            https://www.quora.com/What-are-the-best-books-about-compilers
            It will give a understanding of each step involved.

            1 Reply Last reply
            0
            • KonstantinosK Offline
              KonstantinosK Offline
              Konstantinos
              wrote on last edited by
              #6

              Ok, thanks both.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved