Is Dietpi for developers

OK I posted this problem on wasp-os bug issue https://github.com/daniel-thompson/wasp-os/issues/252 and it seems to me that problem with with gcc++ library installation wrong source file can cause issues SO i did search the forum https://dietpi.com/forum/t/dietpi-how-to-cross-compile-customized-c-software-package/5301/1 and it does have somewhat different instruction to intall the gcc complier. Now if I do apt install build-essentials will it install the gcc along with gdb and required library files from the right source ? How do I make sure it does use the right source libraries/scripts ?
OR should i be using sometihing from diepi-software menu ? Most of the script work well when installed with Diepi-sofware menu rather than with apt install from the terminal