Success on native compilation of HURD
Hello,
I finally managed to recompile the Hurd, natively. Not surprisingly,
Marcus was right about the difficulties in setting up a cross-compilation
environment; I got some weird assembler errors and gave up.
I then tried native compilation from current CVS, which gave me the
following error in the serverboot subdirectory:
make[2]: *** No rule to make target `boot_script.o', needed by
`serverboot'. Stop.
The patch below may not be the best solution, but with this change to the
Makefile I managed to successfully recompile and install the new Hurd
which I am now running.
Index: Makefile
===================================================================
RCS file: /gd/gnu/anoncvsroot/hurd/serverboot/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile 1999/04/30 11:04:06 1.6
+++ Makefile 1999/08/26 14:20:05
@@ -34,10 +34,14 @@
default_pagerServer.o excServer.o bootstrapServer.o \
memory_object_defaultServer.o $(UNZIP_OBJS)
-vpath boot_script.c $(srcdir)/../boot
+#vpath boot_script.c $(srcdir)/../boot
+
# Look for zip stuff
VPATH += $(srcdir)/../exec
+
+VPATH += $(srcdir)/../boot
+
# If SMALL_BZIP2 is defined, use relatively small memory.
# It's crucial for serverboot, because swap is not enabled yet.
CPPFLAGS += -I$(srcdir)/../exec -DGZIP -DBZIP2 -DSMALL_BZIP2
Reply to: