This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Trouble building gcc on debian testing


On 8 July 2011 11:27, Pedro Larroy wrote:
> Hi
>
> 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...
> /home/piotr/devel/gcc_obj/./gcc/xgcc
> -B/home/piotr/devel/gcc_obj/./gcc/
> -B/usr/local/x86_64-unknown-linux-gnu/bin/
> -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
> /usr/local/x86_64-unknown-linux-gnu/include -isystem
> /usr/local/x86_64-unknown-linux-gnu/sys-include
> checking for C compiler default output file name...
> configure: error: in
> `/home/piotr/devel/gcc_obj/x86_64-unknown-linux-gnu/libgomp':
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> make[2]: *** [configure-stage1-target-libgomp] Error 77
> make[2]: Leaving directory `/home/piotr/devel/gcc_obj'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: 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
x86_64-unknown-linux-gnu/libgomp/config.log)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]