I know make uses some kind of special file with instructions on how to compile, but how does it differ from just using g++ directly and why is it used? I am trying to figure out an issue with serial communication and using the source of picocom to reference as picocom works fine to talk to the device but the minute I try talking to it with my own code or using echo / cat in the command line, all hell breaks loose and it starts spamming a bunch of bullcrap.
I'm starting to wonder if the way picocom is compiled may actually be having an effect on the behavior of the app. If I try to compile it with g++ it does not work, says a bunch of functions don't exist. I wanted to compare.
So what does make do differently than g++?
Also what is the difference between gcc and g++? I always use g++, should I be using gcc instead?
I'm starting to wonder if the way picocom is compiled may actually be having an effect on the behavior of the app. If I try to compile it with g++ it does not work, says a bunch of functions don't exist. I wanted to compare.
So what does make do differently than g++?
Also what is the difference between gcc and g++? I always use g++, should I be using gcc instead?