×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Re:Big object file with QT-Creator

  • Posts: 268
  • Thank you received: 72
Hi all

Half a year ago I begun to develop a new driver for the DDM "AOK-Skywalker". The learning curve was rather steep, but I manged to produce a working INDI-driver for this mount and I'm quite a bit proud of it.

Latterly, when I cleared up some code, I noticed that the file produced with QT-Creator is 5 to 6 times bigger that the one compiled by Jasem. I suppose this has to do with the debug informations, that are build in.
Now what are the required settings to catch up with the size of the file in the repo?

Thanks for the hints
Antonio
4 years 3 weeks ago #50484

Please Log in or Create an account to join the conversation.

  • Posts: 1029
  • Thank you received: 301
Hello Antonio, first you may check the build type when you initially configure the build folder with cmake. See cmake.org/cmake/help/v3.0/variable/CMAKE_BUILD_TYPE.html.

-Eric
4 years 2 weeks ago #50549

Please Log in or Create an account to join the conversation.

  • Posts: 268
  • Thank you received: 72
For all those who want to know:

The size of the object file can be reduced with "strip". It does what it says: Discarding additional information (like symbols) from the object file (see here ).

Until now I couldn't manage QT Creator to "cmake" an "install/strip", because this requires root privileges.
Last edit: 3 years 11 months ago by Toni Schriber.
3 years 11 months ago #51700

Please Log in or Create an account to join the conversation.

Time to create page: 0.228 seconds