On Thu, Apr 12, 2001 at 08:23:32AM -0400, duane ellis wrote:
> duane> > Right now, I'm muddling my way through settig up my
> > > Intel box to cross compile the kernal.
>
> This is such a pain!!!
No. You only need a cross compiler for yout kernel. Therefor, any
glibc and so on is *not* needed. Only compiler and binutils. You may
want to fetch a script from
ftp://oss.sgi.com:/pub/linux/mips/mips-linux/simple/crossdev/make-cross.sh
and some binutils and gcc source packages. Then buils your alpha cross
compiler for "linux-alpha".
> >you should be aware, that 2.4.3 does not compile on alpha without special
> >patches. The proper patch is available via ftp on:
> >ftp.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.3aa1/00_alpha-numa-1
>
> Thanks, i'm not even that far yet. :-<
>
> The problem is a big tangled Catch-22 problem.
> I need to build glibc, gcc, binutils and the kernal
> and some parts (A) I have to hack so I can build (B)
> so that I can go back and build the unhacked version of (A)
> so that I can go back and build the unhacked version of (B)
> so that I can then get to the point where I can build the
> kernal.
For building a kernel, you only need gcc and binutils. Even on slow
machines they can be build within an hour.
> glibc is one of those... and it takes 2 hours to build
> on my box. Then it dies - and I find one more hack I have
> to put in. AGH!
You *would* need to have a cross-glibc for userspace. But don't try
to completely build it from scratch on your own. Simply fetch up
all needed alpha-packages from your preferred distribution (Debian
would be nice) and unpack them into one directory. That would be
fairly enough.
In fact, this is how I started working on DECstations (little endian
MIPS machines).
MfG, JBG
--
Fehler eingestehen, Größe zeigen: Nehmt die Rechtschreibreform zurück!!!
/* Jan-Benedict Glaw <jbglaw@lug-owl.de> -- +49-172-7608481 */
keyID=0x8399E1BB fingerprint=250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB
"insmod vi.o and there we go..." (Alexander Viro on linux-kernel)
This archive was generated by hypermail version 2a22 on Sat May 5 06:18:10 2001 PDT
Send any problems or questions about this archive to webmaster@alphalinux.org.