This is the mail archive of the gcc-bugs@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]

[Bug bootstrap/21162] Build failure


------- Additional Comments From jdavidb at goreadthebible dot com  2005-04-22 18:13 -------
(In reply to comment #7)
> > For that matter, if one cannot build the 64 bit compiler with the stock compiler
> > on Debian sparc64-unknown-linux-gnu, how does one build this compiler?
> 
> That's a Debian problem, the system compiler is probably the 32-bit biarch
> compiler, in which case you have to configure with CC="gcc -m64" to bootstrap
> the 64-bit compiler.  Does that solve the problem?

  Still solving my problem as described earlier, but as a test I tried:
~/gcc-64-build$ CC="gcc -m64" ../gcc-4.0.0/configure
--prefix=/usr/local/gnu/gcc/4.0.0 && make bootstrap-lean

  ... and the output ended with:
checking for sparc64-unknown-linux-gnu-ar... no
checking for ar... ar
checking for sparc64-unknown-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for sparc64-unknown-linux-gnu-gcc... gcc -m64
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled
programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make: *** [configure-build-libiberty] Error 1




-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21162


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