public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Cross compiling conceptual confusion
@ 2004-09-21 17:10 Ghazan Haider
  0 siblings, 0 replies; only message in thread
From: Ghazan Haider @ 2004-09-21 17:10 UTC (permalink / raw)
  To: gcc-help


Lets get this straight. 

Binutils must be compiled targetting the target
system, but it runs on the host system. The target can
be seen in sparc-linux-ld -V

gcc must be compiled like so:
../configure --target=sparc-linux --prefix=/usr/local
--disable-threads

And this gives me a missing crti.o

So libgcc needs the targets libc headers. Does it need
the COMPILED libraries?

I added --with-headers ../../glibc-2.3.x/include and
it bombs out with
/usr/local/sparc-linux/sys-include/libio not found.

Someone said the c libraries must be COMPILED, but I
dont have a compiler. 

My eventual aim is to use uclibc, a custom kernel and
busybox for sparc. I have a good binutils, and uclibc,
glibc2.3 sources, and a good slackware 10
installation.

What to do next?

And if this is such a chicken and egg problem, how is
the first gcc/library of any platform compiled?







		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-21 17:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-21 17:10 Cross compiling conceptual confusion Ghazan Haider

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).