This is the mail archive of the
mailing list for the GCC project.
Re: Trouble building gcc on debian testing
On 8 July 2011 11:27, Pedro Larroy wrote:
> I'm trying to build gcc from svn on debian testing, I manually solved
> a couple of obstacles like crti.o and crtn.o not being found. By cp
> /usr/lib/x86_64-linux-gnu/crti.o x86_64-unknown-linux-gnu/libgcc/
> In which location are they expected?
Not where Debian puts them.
> ?Now I'm stuck with the following error:
> checking for x86_64-unknown-linux-gnu-gcc...
> -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
> /usr/local/x86_64-unknown-linux-gnu/include -isystem
> checking for C compiler default output file name...
> configure: error: in
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> make: *** [configure-stage1-target-libgomp] Error 77
> make: Leaving directory `/home/piotr/devel/gcc_obj'
> make: *** [stage1-bubble] Error 2
> make: Leaving directory `/home/piotr/devel/gcc_ob
> Any clues?
It tells you right there what to do. See config.log for more details
(the one it's referring to is