Menu

LinuxBoot

Juan Jose Pablos

Last modified 5 years ago Last modified on 03/01/10 01:14:03

This guide is now a year and a half old - please see [CompileCVS] for a more up-to-date version.

Getting linuxboot to work with the latest CVS and GCC4

Download the CVS off of the website, and adjust the version in the makefile to match this below.

Adjusted Makefile for GCC4 compiling

bash=bash-3.0

busybox=busybox-1.01

# Convert::ASN1 is required by perl-ldap

convert-asn1=Convert-ASN1-0.19

dbd-mysql=DBD-mysql-2.9006

dbi=DBI-1.48

dmidecode=dmidecode-2.6

dosemu=dosemu-1.2.2

# libuuid.so (from e2fsprogs) is required by parted

e2fsprogs=e2fsprogs-1.37

expat=expat-1.95.8

glibc=glibc-2.3.6

# Awful hack

glibc-linuxthreads=$(strip $(patsubst glibc-%,glibc-linuxthreads-%,$(glibc)))

kbd=kbd-1.12

linux=linux-2.6.11.10

module-init-tools=module-init-tools-3.2.2

mysql=mysql-4.1.14

nano=nano-1.2.4

ncurses=ncurses-5.4

parted=parted-1.6.22

pciutils=pciutils-2.1.11

pcmcia-cs=pcmcia-cs-3.2.8

perl=perl-5.8.6

# perl-ldap aka. Net::LDAP

perl-ldap=perl-ldap-0.33

perl-xml-parser=XML-Parser-2.34

perl-xml-xpath=XML-XPath-1.13

pmtools=pmtools-20031210

samba=samba-3.0.14a

wireless_tools=wireless_tools.27

zlib=zlib-1.2.3

Modify Makefile so dosemu will compile

## dosemu

$(dosemu)/.stamp-dosemu-gcc4-patch: misc/dosemu-gcc4-patch

        cd $(dosemu) && patch -p1 < $(cwd)/$<

        touch $@



$(dosemu)/.stamp-dosemu-nolock-patch: misc/dosemu-nolock-patch

        cd $(dosemu) && patch -p1 < $(cwd)/$<

        touch $@



build-$(dosemu)/config.status: $(dosemu)/.stamp-dosemu-gcc4-patch \

         $(dosemu)/.stamp-dosemu-nolock-patch \

                        $(dosemu)/configure

Add in this patch

Rename this file ​GCC4.diff to misc/dosemu-gcc4-patch


Related

Wiki: ModifyingTheBootDisk

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.