gcc-4.6.1 was already present as part of the Ubuntu instalation. I have tried installing build-essentials, cleaning and rebuilding and I have also tried build-dep gcc. Nothing changed, I get the same: ... exec: 79: : Permission denied configure:2591: $? = 1 configure: failed program was: | /* confdefs.h. */ ... ________________________________________ From: Ángel González [keisial@xxxxxxxxx] Sent: Tuesday, February 28, 2012 4:39 PM To: Mihai Daniel OPREA Cc: gcc-help@xxxxxxxxxxx Subject: Re: building cross-compiler for m68hc11/m68hc12 On 28/02/12 16:38, Mihai Daniel OPREA wrote: > I am trying to build gcc-4.3.2 as a cross compiler for the Motorola m68hc11 target on a standard, clean installation of Ubuntu 11.10 32-bit. (...) > configure:2605: error: cannot compute suffix of object files: cannot compile > > Any help is greatly appreciated, both with the issue at hand (permission denied) as well as with potential omissions / mistakes I've surely made. Do you have a compiler installed? At the very least, apt-get install build-essentials Although I think you will get better served with apt-get build-dep gcc