[syslinux] Syslinux 2.11 and gcc 3.4.1
TenThumbs
tenthumbs at cybernex.net
Fri Aug 20 07:22:02 PDT 2004
Memdisk still won't build because gcc doesn't always inline functions. Here's
a patch I used.
--- memdisk/Makefile.orig 2004-01-24 16:37:22.000000000 -0500
+++ memdisk/Makefile 2004-08-18 06:34:53.000000000 -0400
@@ -17,11 +17,12 @@
then echo $(1); else echo $(2); fi)
M32 := $(call gcc_ok,-m32,)
+MINLINE := $(call gcc_ok,-minline-all-stringops,)
ALIGN := $(call gcc_ok,-falign-functions=0 -falign-jumps=0
-falign-loops=0,-malign-functions=0 -malign-jumps=0 -malign-loops=0)
CC = gcc $(M32)
CFLAGS = -g -W -Wall -Os -fomit-frame-pointer -march=i386 $(ALIGN) \
- -DVERSION='"$(VERSION)"' -DDATE='"$(DATE)"'
+ $(MINLINE) -DVERSION='"$(VERSION)"' -DDATE='"$(DATE)"'
LDFLAGS = -g
INCLUDE = -I../com32/include
LD = ld -m elf_i386
Menu doesn't build either because there's still an asm ebp constraint that's
now unnecessary.
--- menu/biosio.c.orig 2004-08-16 12:36:36.000000000 -0400
+++ menu/biosio.c 2004-08-18 06:40:34.000000000 -0400
@@ -141,7 +141,7 @@
"call bios_int10"
: "+a" (x)
: "abcdmi" (page), "acdmi" (attr)
- : "ebx", "ecx", "ebp");
+ : "ebx", "ecx");
}
void putch(char x, char attr, char page)
Thanks.
--
Earth
2004-08-20 14:19:28.505 UTC (JD 2453238.096858)
X = 0.860519102, Y = -0.495296591, Z = -0.214831353
X' = 0.008878678, Y' = 0.013315372, Z' = 0.005773308
More information about the Syslinux
mailing list