Add g++ compiler to my snap


#1

Hello everybody,
I want to make a tool that helps to solve c++ object-oriented exercises, so I want the user to write a solution to the exercise and my snap will compile his solution and using a tester it will verify his solution. my problem is I want g++ compiler to be a part of my snap so when my snap is built I can access it inside my snap to compile user’s solution, I don’t want to use the system compiler.
any help would be appreciated.


#2

Isn’t adding the g++ and the gcc package to the stage-packages property enough?


#3

Thank you that was very helpful! :smiley: