Debug and Release size – RaspberryPi

Sysprogs forums Forums VisualGDB Debug and Release size – RaspberryPi

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #7064
    Chudziutki
    Participant

    I noticed that Release size is bigger than Debug size.

    I have simple project for RaspberryPi with some classes and in Debug it has 245kB but in Release is has 295kB.

    When I compile this project in Eclipse on Linux Release has about 110 kB.

    Why Release in VisualGDB has that big size?

    Thanks for any response!

    #7065
    support
    Keymaster

    Hi,

    It’s hard to say why your executable is larger, it could be caused by some code being inlined/expanded, larger symbol tables, or some extra libraries. You can use the objdump tool to figure it out in detail, but if you are targeting Raspberry Pi with 512MB of RAM, 50 KB difference (0.01% of RAM) won’t have any noticeable effect at all.

    #7071
    Chudziutki
    Participant

    Yes, of course that this is any problem. I was just curious. 🙂

    #7073
    support
    Keymaster

    Sure. Most likely it’s the size of debug symbols then.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.