what files to keep after building 2.2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

what files to keep after building 2.2

stargazerinwg
I built 2.2 on a Debian Bullseye PC and it is working nicely.   I followed the procedure described on
Build from source

The develop directory comprises about 1.1 GB.  Are there directories and files that are only associated with the build process and can be deleted?  Do I only need to keep the Unix directory which holds the generated executable which is about 262 MB?  Not a big deal but if the files aren't needed, I'd rather not keep them.

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: what files to keep after building 2.2

LordOfBikes
Administrator
Basically the unix folder is enough to keep.

The executable is that big, because it contains a lot of debug information, which is not needed for regular use.
You can wipe out debug infos with the command strip librecad in the unix folder.
Then the executable is about 10MB.

If you plan to pull sources later again, you can keep everything untouched and only delete the contents of the generated folder.
There are all binary and other files created by the build process, which are not needed for execution.
This should also minimize the used space to about the half.
investing less than half an hour into Search function can save hours or days of waiting for a solution
Reply | Threaded
Open this post in threaded view
|

Re: what files to keep after building 2.2

stargazerinwg
Thank you - that is just what I needed to know.