More cross-compiling

Tim Waugh (tim@cyberelk.demon.co.uk)
Sun, 17 May 1998 01:29:16 +0100 (BST)


I've got as far as the final link step with my cross-compile on a Pentium
for an Alpha target, but there are undefined references to
__builtin_memset.

Looks like include/asm-alpha/string.h is the culprit.

(I got it to link by replacing __builtin_memset with __memset, but..)

Tim.
*/

PS.

--- arch/alpha/Makefile~ Sun May 17 01:22:20 1998
+++ arch/alpha/Makefile Sun May 17 01:23:20 1998
@@ -8,7 +8,7 @@
# Copyright (C) 1994 by Linus Torvalds
#

-NM := nm -B
+NM := $(NM) -B

#LINKFLAGS = -static -T arch/alpha/vmlinux.lds
#CFLAGS := $(CFLAGS) -pipe -mno-fp-regs -ffixed-8
--- arch/alpha/boot/Makefile~ Sun May 17 01:25:36 1998
+++ arch/alpha/boot/Makefile Sun May 17 01:26:59 1998
@@ -80,7 +80,7 @@

vmlinux: $(TOPDIR)/vmlinux
cp $(TOPDIR)/vmlinux vmlinux
- strip vmlinux
+ $(STRIP) vmlinux

tools/lxboot: $(OBJSTRIP) bootloader
$(OBJSTRIP) -p bootloader tools/lxboot

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu