Im trying to compile on my raspberry pi, ive allready updated g++ so i can start compiling. I type make and after a few hours it ends with signal 9 and error 1. From going over the output it looks like It’s compiled all the files individually and then failed to combine them.
Im a beginner with linux but have some software engineering knowledge. Any one got any ideas?
I believe I compiled mine a long time ago. It was probably just ./configure, ./make. Actually it may have been a Linaro/Debian type build on an mk802 1GB, but still should work on Pi.
Copy/paste your output logs after ./configure and ./making
Are you compiling term or SDL? Term should work easily, SDL probably wouldn’t.
Top is a terminal application that shows the state of all your processes, think a terminal version of the windows process manager.
You just run it from the terminal with ‘top’, reading the output may be a different matter, the column you’re interested in is ‘RSS’, which stands for resident set size, and in English means the amount of ram the process is using. It’s in KB by default.
I’m not that much of a terminal wizard but I could run make through xterminal and check how much memory it is using via system tools. Is there a way of just running the linking phase because I don’t want to wait 3 hours while it makes all the object files again.
Cross compling sounds like the best bet. I’ll try it this weeked when I have access to a linux tower. Thanks for your help guys ill let you know how it goes.
I ran make again with task manager on and can confirm that the problem is a lack of memory. I’ll have to see how well cross compiling works on saterday.