[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where is sparc64-linux-ld?



On Fri, Aug 13, 1999 at 08:51:35PM +0200, Samuel Tardieu wrote:
> When recompiling a kernel with "make-kpkg --arch sparc64 ..." on an
> Ultra5:
> 
> sparc64-linux-ld  -r -o kernel.o signal.o ksyms.o sched.o dma.o fork.o exec_domain.o panic.o printk.o sys.o module.o exit.o itimer.o info.o time.o softirq.o resource.o sysctl.o acct.o capability.o kmod.o
> make[3]: sparc64-linux-ld: Command not found
> 
> Where can I find it?

as root:
ln -s ld /usr/bin/sparc64-linux-ld
ln -s as /usr/bin/sparc64-linux-as

The ld that comes with binutils will handle elf64, but for some reason,
the kernel looks for ld with the sparc64-linux- prefix.

NOTE: if you want to build sparc64 kernels with kernel-package, use this
format:

make-kpkg --subarch=sun4u --arch_in_name ...

This is the way that kernel-package expects it, and the way it was
intended to compile (which also includes the -sun4u extension to the
package anem).

Ben


Reply to: