[syslinux] Recompiling syslinux
g.esp at free.fr
g.esp at free.fr
Mon Feb 4 03:50:41 PST 2013
----- Mail original -----
> De: "Alakesh" <alakesh.haloi at gmail.com>
> À: Syslinux at zytor.com
> Envoyé: Dimanche 3 Février 2013 21:08:43
> Objet: [syslinux] Recompiling syslinux
>
> I need to recompile syslinux on xenserver 6.0 with a minor change in the
> ldlinux part. Can someone post the syslinux toolchain details? The dyslinux
> version that comes with xenserver is 4.02. I have tried to compile it on
> Ubuntu 12.10 and use the extlinux binary but with all kinds of side
> effects. I cannot recompile 4.02 code on xenserver with gcc and nasm that
> can be installed there from it base repository. Any help is
> appreciated
Ubuntu gcc is modified to use some hardening code options by default.
When I recompile syslinux with my gcc-4.4.5 that is too a modified gcc and nasm-2.10,
I use in my makefile
CFLAGS += -fno-PIE -nopie -norelro -nonow -nocombreloc
LDFLAGS := -nopie
make -s --no-print-directory spotless
make V=1
make installer
make install
I am unsure ubuntu gcc has the same modified options, so you may adjust CFLAGS settings.
Gilles
More information about the Syslinux
mailing list