Ben Collins wrote: > On Sun, Sep 05, 1999 at 11:38:47PM +0200, Eric Delaunay wrote: > > Not really useful (could be ln -s /usr/sparc-linux . ?) > > In effect, ld on sparc32 arch tries to create sparc32 binaries, not sparc64 > > ones unless "-m elf64_sparc" is provided on the command line. > > The makefiles in linux kernel sources tree don't call ld like above but just > > sparc64-linux-ld. Therefore I have had to replace the link with a script to > > put the -m argument in front of the command line. > > I'm using kernel-package and the only thing I have linked is /usr/sparc-linux > to "." > else when supplying elf64_sparc, it can't find the linker scripts (bug in > binutils > IMO). The names of the bintutils that the kernel looks for for sparc64 is > just a side > affect of how the people doing the development had their systems setup (which > is why > kernel-package passes args to the make to overrride the defaults so that it > works > properly, except for the sparc-linux link). However on my system, even the > standard > kernel make adds -melf64_sparc to the linker command line.
Which version of kernel-package are you using ? I installed 6.23 from potato because the one from slink does not support --subarch=sun4u very well. About the -melf64_sparc option passed to the linker, I will check that next time I will build a kernel. Now I compiled a ultrasparc kernel but I don't have any chance to test it because I don't have access to a ultrasparc neither at home nor at my office :-(( Could you help me, or anybody else, doing a trial run to see if it ever works ? I can upload it somewhere to make it available to you. Regards. -- Eric Delaunay | "La guerre justifie l'existence des militaires. [EMAIL PROTECTED] | En les supprimant." Henri Jeanson (1900-1970)

