knc1 - My old code is gone now, I changed my project to c++11 because it's more comfortable for me!
But I can easily make something small to test again, the code wasn't the problem, it was just compiling.
I think the issue I was facing was not knowing exactly where to put the libraries from the kindle.
I just tested, putting some more at:
/lib/arm-linux-gnueabi/
/usr/lib/arm-linux-gnueabi/
and that got rid of some errors, I think it would be possible to get working.
I would imagine the version 4.8/4.9 is not the issue, just user error because I'm new and not fully understanding where to put things.
I'm quite certain I put them in the right place, but, I guess I didn't. It might be really simple.
It took a few attempts to copy the libs and get them where I want, maybe that was the problem.
I'm just happy I have it set up and working now!
..Although when testing to get the previous toolchain working, instead of copying I mistakenly
mv'd all my libs from the working set up, and now it's a total mess. So I have to set it all up again