public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* building a gcc-3.3-prerelease cross-compiler
@ 2003-05-12 12:00 Rene Rebe
  2003-05-12 14:22 ` Daniel Jacobowitz
  0 siblings, 1 reply; 14+ messages in thread
From: Rene Rebe @ 2003-05-12 12:00 UTC (permalink / raw)
  To: gcc

Hi,

I just started to test how far the gcc-3.3-prerelease progresses
compiling our distribution build kit, but I get into trouble in the
first step creating a cross compiler. (The configuration and scripts
work flawlessly for gcc-2.95.3 and gxx-3.x).

After the configure it claims to be configured as:

Links are now set up to build a cross-compiler for i586-pc-linux-gnu
  from i686-nocross-linux-gnu.

But running "make" it compiles the initial xgcc but bails out:

checking whether the C compiler ( /home/rock-linux/rock-trunk/src.gccx.1052738245
.1392.3356848690/gcc-3.3-20030508/objdir/gcc/xgcc -B/home/rock-linux/rock-trunk/s
rc.gccx.1052738245.1392.3356848690/gcc-3.3-20030508/objdir/gcc/ -B/home/rock-linu
x/rock-trunk/build/test-2.0.0-beta3-x86-pentium-mmx-generic-expert/tools.cross/us
r/i586-pc-linux-gnu/bin/ -B/home/rock-linux/rock-trunk/build/test-2.0.0-beta3-x86
-pentium-mmx-generic-expert/tools.cross/usr/i586-pc-linux-gnu/lib/ -isystem /home
/rock-linux/rock-trunk/build/test-2.0.0-beta3-x86-pentium-mmx-generic-expert/tool
s.cross/usr/i586-pc-linux-gnu/include -O2 -g ) works... no
configure: error: installation or configuration problem: C compiler cannot create
 executables.
make: *** [configure-target-libiberty] Error 1

Where the error is:

/home/rock-linux/rock-trunk/build/test-2.0.0-beta3-x86-pentium-mmx-generic-expert/tools.cross/usr/i586-pc-linux-gnu/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:

#line 2407 "configure"
#include "confdefs.h"

main(){return(0);}

But the crt1.o is installed by the glibc which would be built after we
created the cross-compiler ...

Any ideas?

- René Rebe
    / ROCK Linux stable release maintainer

--  
René Rebe - Europe/Germany/Berlin
  rene@rocklinux.org rene.rebe@gmx.net
http://gsmp.tfh-berlin.de/gsmp http://www.rocklinux.org
http://www.rocklinux.org/people/rene http://gsmp.tfh-berlin.de/rene/

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2003-11-05 14:08 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-12 12:00 building a gcc-3.3-prerelease cross-compiler Rene Rebe
2003-05-12 14:22 ` Daniel Jacobowitz
2003-05-12 16:51   ` Rene Rebe
2003-05-12 16:59     ` Paul Koning
2003-05-12 19:24       ` Rene Rebe
2003-11-05 14:12         ` Rene Rebe
2003-05-13 15:46       ` Michael Eager
2003-05-13 16:07         ` Rene Rebe
2003-05-13 18:56           ` Michael Eager
2003-05-13 19:44             ` Rene Rebe
2003-05-13 20:34               ` Michael Eager
2003-05-13 22:14                 ` Rene Rebe
2003-05-12 17:04     ` Joseph S. Myers
2003-05-12 17:13     ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).