Compiling on sparc64
Status: Beta
Brought to you by:
qiq
In order to compile on a sparc64, we need some changes
in the Makefile:
in shfs/Linux-2.4/Makefile:
CC := sparc64-unknown-linux-gnu-gcc
CFLAGS = -O2 -fomit-frame-pointer -fno-strict-aliasing
-pipe -Wall ${SEARCHDIRS} -DMODULE ${MVER} -D__KERNEL__
-DLINUX
LINKER := sparc64-unknown-linux-gnu-ld
LDFLAGS = -r -m elf64_sparc
It compiles and produces a good format kernel module.
Logged In: YES
user_id=801583
and
LOADLIBES := ${KERNEL_SOURCES}/lib/string.o
I don't know if it's really proper...
With all theses changes shfs seams to works fine on my sparc64