On 30 December 2010 12:02, Dan Track wrote: > Hi, > > I've got through a lot of the compilation stage but have struck an > error. Googling doesn't really show much on it, can someone please > help with this? Here's what I did and the results: > > cd /opt/mon > tar –xzf gcc-4.5.2.tar.gz > cd gcc-4.5.2 > mkdir mybuild > cd mybuild Please read the installation instructions, particularly http://gcc.gnu.org/install/configure.html "First, we highly recommend that GCC be built into a separate directory from the sources which does not reside within the source tree. This is how we generally build GCC; building where srcdir == objdir should still work, but doesn't get extensive testing; building where objdir is a subdirectory of srcdir is unsupported." I showed you a working sequence of commands, and it involved running ../gcc-4.5.2/configure NOT ../configure I haven't looked in detail but this is most likely the cause of your compilation failure, so please correct it and try again.