Results 1 to 8 of 8

Thread: Third-party library: Binary vs. recompilation

  1. #1
    Felix Clark is offline Member
    Join Date
    Jun 2009
    Posts
    93
    Rep Power
    3

    Default Third-party library: Binary vs. recompilation

    Hi,

    I do not exactly end the interest of a recompile Qt lib example rather than using the precompiled binaries?

    Performance Issues? And if so why?

    Thank you

  2. #2
    Fabian Nadal is offline Member
    Join Date
    Jun 2009
    Posts
    81
    Rep Power
    3

    Default

    It also depends on the OS library if you got a multi-target and multi-arch eh. Secondly, yes the perfs may change if you take the time tuner options compilers.

  3. #3
    Cohen Cassius is offline Member
    Join Date
    Jun 2009
    Posts
    91
    Rep Power
    3

    Default

    linux binary format is different from the Windows binary.

  4. #4
    Felix Clark is offline Member
    Join Date
    Jun 2009
    Posts
    93
    Rep Power
    3

    Default

    ok but I suppose talking about windows binary, interest recomplier is only optimization that can be done via the compiler options?, developers who produce the binary have not already done?

  5. #5
    Join Date
    Jun 2009
    Posts
    83
    Rep Power
    3

    Default

    Rarely. ATLAS kind of stuff do x by generating binary versions of LAPACK / BLAS with different set of optimizations.

  6. #6
    Join Date
    Jun 2009
    Posts
    84
    Rep Power
    3

    Default

    You can adjust the processor you have (usually when you supplied binaries, you limit the instruction set to something relatively old - for gcc-march - and you optimized for something more recent but not the last out --mtune for gcc, you can amuse yourself not to provide versions for all 42 possible cases). For a library, you have more choices of dynamic / static or multi-threaded or not and some choices in what is configured (you can completely deactivate the support of things that you do not use).

  7. #7
    Felix Clark is offline Member
    Join Date
    Jun 2009
    Posts
    93
    Rep Power
    3

    Default

    ok interesting. Another issue directly related, in visual, when compiled, the compiler detects the CPU of the machine and carry out optimizations? Or if you want to use the instruction sets of a given μ it is for us to mention it in the command line.

  8. #8
    Join Date
    Jun 2009
    Posts
    79
    Rep Power
    3

    Default

    No idea for Visual C + +. But it seems a bad idea; generally the programs are deployed on different machines from those where they are compiled.

Similar Threads

  1. Various binary directories of Mac
    By PerrySullivan in forum Operating System
    Replies: 2
    Last Post: 03-04-2010, 02:16 PM
  2. Have the binary code of the bios
    By sheldon in forum Programming
    Replies: 0
    Last Post: 11-16-2009, 11:59 AM
  3. BIT - Binary DigIT
    By webrich in forum Technologies
    Replies: 0
    Last Post: 01-23-2009, 10:54 AM
  4. Binary - Base 2
    By backtiq in forum Technologies
    Replies: 0
    Last Post: 01-23-2009, 10:02 AM
  5. Binary
    By techno23 in forum Programming
    Replies: 0
    Last Post: 03-26-2008, 10:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48