On Sun, Apr 25, 1999 at 07:34:52PM +0000, Peter Teichmann wrote:
> Hi,
> 
> I now managed to compile binutils-2.9.1.0.19a and egcs-1.1.2 thanks to
> Chris Rutters toolchain guide. They are now in installed in 
> /usr/local/arm-tmp. They are also working, but of course not suitable
> for compiling binaries that run under a 2.0.35 kernel.

You can run ELF binaries under 2.0.35; I have.  Just recompile your
2.0.35 kernel with ELF support enabled.

> But now I have a problem with compiling a new kernel (2.2.3): Wen compiling
> the kernel is seems that there are some programs to be compiled before the
> kernel and needed to compile the kernel. How do I tell the computer to use
> the old C compiler (in /usr) for all these programs, and the new C compiler
> for the kernel?

Edit the makefile to specify
HOSTCC=/usr/bin/gcc
and
CROSS_COMPILE=/usr/local/arm-tmp/bin/

-- 
Matthew Wilcox <[EMAIL PROTECTED]>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to