Real-Time Systems Development

17.9: Tips!

17.9 Tips!

Should any of the makefiles fail to complete (which is quite likely in my experience!) the build-xxxx directories need to be cleaned, either by running make distclean or rm -rf *, or both, before repeating the configure/make sequence. Check the environment variables to make sure they have not been lost, and ensure you do not run as root. Read carefully the first error message dumped to the screen and log file. Identify any offending source file where possible, and have a good look at the error line. An advantage of running through the whole procedure under /tmp is that there is less opportunity for confusing native-CPU and target-CPU files. Also cleaning out directories becomes quick and thoughtless. Which versions of gcc, newlib and binutils to work with may be significant, and little advice beyond personal experience is available. So, although it may be attractive to choose the most recent releases, that may not be advisable. The popular combination is: gcc-2.95.3, binutils-2.11.3 and newlib-1.9.0. But the more recent binutils-2.15 appears to work with the two other versions as well.

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Trade Magazines
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.