tar -xf lilo-24.0.tar.gz
Targets:
make all # binaries (without dosexe, diag.)
make dosexe # DOS lilo.com utility
make diagnostic # standalone diagnostics
make alles # all above + static binary
make docs # doc/[user,tech].html docs
make floppy # 2 standalone bootable diagnostic floppies
make install # install binaries++ into root directory
make install DESTDIR=
# install binaries++ into directory
make uninstall # remove binaries++ from root directory
make uninstall DESTDIR= # rmove binaries++ from directory
Maintenance:
make test # test for all needed utilities (as86, ld86, etc.)
make tidy # remove listings & other unnecessary files
make clean # remove objects & ready for a fresh 'make all'
make distclean # remove editor temps, & all of the above
./checkit
GCC version 3.3.5 or later is required
gcc version 4.8.2
OKAY
AS86 version 0.16.14 or later is required
as86 version 0.16.17
OKAY
LD86 version 0.16.14 or later is required
ld86 version 0.16.17
OKAY
BCC version 0.16.14 or later is recommended
bcc version 0.16.17
OKAY
echo Tested >test.img
make -C src all
make[1]: Entering directory `/home/djemos/lilo/src/lilo-24.0/src'
gcc -O2 -march=i486 -mtune=i686 -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -DSHS_MAIN -o version common.c
echo "#define CFLAGS \"" -O2 -march=i486 -mtune=i686 -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` "\"" >flags.i
tail -$((`wc -l _TmP_
for i in boot.c bsect.c cfg.c common.c device.c edit.c geometry.c identify.c lilo.c map.c partition.c probe.c raid.c shs2.c temp.c bdata.h bitmap.h boot.h bsect.h cfg.h common.h config.h device.h edit.h geometry.h identify.h lilo.h loader.h map.h md-int.h partition.h probe.h raid.h shs2.h temp.h version.h vesainfo.h ; do cat $i >>_TmP_ ; done
echo "#define CSOURCE " `./version _TmP_` >>flags.i
rm -f _TmP_
gcc -c -O2 -march=i486 -mtune=i686 -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` lilo.c
lilo.c: In function ‘show_images’:
lilo.c:307:3: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
offset = *(short*)&boot.sector[1] + 3;
^
lilo.c:353:2: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if (*(unsigned short *) buffer != DC_MAGIC /* || !buffer[2] */)
^
lilo.c:366:2: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if (*(unsigned short *) buffer == DC_MAGIC)
^
lilo.c:457:7: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if (!*(unsigned int *) descrs.d.descr[image].rd_size)
^
lilo.c:460:6: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(unsigned int *) descrs.d.descr[image].rd_size);
^
lilo.c:476:7: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if (*(unsigned short *) buffer != DC_MAGIC)
^
gcc -c -O2 -march=i486 -mtune=i686 -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` raid.c
raid.c: In function ‘raid_setup’:
raid.c:236:10: προειδοποίηση: variable ‘disk_fd’ set but not used [-Wunused-but-set-variable]
int disk_fd;
^
gcc -c -O2 -march=i486 -mtune=i686 -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` map.c
map.c: In function ‘map_create’:
map.c:89:5: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(unsigned short *) buffer = DC_MGOFF;
^
map.c:108:2: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(unsigned short *) buffer = 0;
^
map.c: In function ‘sa6_from_sa’:
map.c:355:2: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
sector = *(unsigned int*)&(sa->sector);
^
gcc -c -O2 -march=i486 -mtune=i686 -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` geometry.c
geometry.c: In function ‘geo_get’:
geometry.c:1104:6: προειδοποίηση: variable ‘raid_limit’ set but not used [-Wunused-but-set-variable]
int raid_limit;
^
gcc -c -O2 -march=i486 -mtune=i686 -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` boot.c
boot.c: In function ‘boot_image’:
boot.c:109:2: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(unsigned int *) descr->rd_size = st.st_size;
^
boot.c: In function ‘boot_other’:
boot.c:309:29: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define PART(s,n) (((struct partition *) (s)[0].par_c.ptable)[(n)])
^
boot.c:469:9: σημείωση: in expansion of macro ‘PART’
PART(buff,0).boot_ind = geo.device;
^
boot.c:309:29: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define PART(s,n) (((struct partition *) (s)[0].par_c.ptable)[(n)])
^
boot.c:470:9: σημείωση: in expansion of macro ‘PART’
PART(buff,0).start_sect = geo.start; /* pseudo partition table */
^
gcc -c -O2 -march=i486 -mtune=i686 -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` device.c
device.c: In function ‘register_bios’:
device.c:631:6: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
serial = *(int*)&buff.sector[PART_TABLE_OFFSET-6];
^
device.c:642:3: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(int*)&buff.sector[PART_TABLE_OFFSET-6] = serial;
^
device.c:643:3: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if (*(short*)&buff.sector[PART_TABLE_OFFSET - 2] == 0)
^
device.c:644:7: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(unsigned short*)&buff.sector[PART_TABLE_OFFSET - 2] = MAGIC_SERIAL;
^
gcc -c -O2 -march=i486 -mtune=i686 -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` common.c
gcc -c -O2 -march=i486 -mtune=i686 -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` bsect.c
bsect.c: In function ‘bsect_open’:
bsect.c:662:2: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
stage_flags = ((BOOT_SECTOR*)(loader->data)) -> par_2.stage;
^
bsect.c:714:5: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(unsigned short *) &bsect.sector[BOOT_SIG_OFFSET] = BOOT_SIGNATURE;
^
bsect.c: In function ‘get_image’:
bsect.c:988:13: προειδοποίηση: value computed is not used [-Wunused-value]
*tmp++;
^
bsect.c: In function ‘bsect_common’:
bsect.c:1249:2: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(unsigned short *) fallback_buf = DC_MAGIC;
^
bsect.c: In function ‘bsect_update’:
bsect.c:1471:6: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(short*)&bsect_wr.sector[1] = space - 3;
^
bsect.c:1477:3: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(short*)&bsect_wr.sector[space+1] += len;
^
bsect.c: In function ‘bsect_uninstall’:
bsect.c:1627:5: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if (*(unsigned short *) &bsect.sector[BOOT_SIG_OFFSET] != BOOT_SIGNATURE)
^
bsect.c: In function ‘bsect_raid_update’:
bsect.c:1698:2: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(unsigned short *) &bsect.sector[BOOT_SIG_OFFSET] = BOOT_SIGNATURE;
^
gcc -c -O2 -march=i486 -mtune=i686 -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` cfg.c
gcc -c -O2 -march=i486 -mtune=i686 -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` partition.c
partition.c: In function ‘part_nowrite’:
partition.c:111:2: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
&& *(short*)bs.par_d.bpb.bytes_per_sector == SECTOR_SIZE
^
partition.c:121:5: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else if (*(int*)bs.sector == 0xFFFFFFFEU) {
^
partition.c: In function ‘part_verify’:
partition.c:168:2: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if (*(int*)bs.signature==EX_MAG_HL) mbr = bs.stage;
^
gcc -c -O2 -march=i486 -mtune=i686 -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` identify.c
gcc -c -O2 -march=i486 -mtune=i686 -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` probe.c
probe.c: In function ‘fetch’:
probe.c:194:5: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if (*(int*)buf.s5.checksum != crc32((unsigned char*)&buf.s5 + 4, got-4, CRC_POLY1))
^
probe.c: In function ‘purge’:
probe.c:233:5: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(int*)buf.s5.checksum = crc32((unsigned char*)&buf.s5 + 4, i-4, CRC_POLY1);
^
probe.c: In function ‘bios_device’:
probe.c:937:9: προειδοποίηση: variable ‘mbios’ set but not used [-Wunused-but-set-variable]
int mbios[BD_MAX_HARD];
^
probe.c: In function ‘do_volid’:
probe.c:1154:33: προειδοποίηση: variable ‘valid’ set but not used [-Wunused-but-set-variable]
int uniq[MAX_BIOS_DEVICES], valid[MAX_BIOS_DEVICES];
^
probe.c:1154:9: προειδοποίηση: variable ‘uniq’ set but not used [-Wunused-but-set-variable]
int uniq[MAX_BIOS_DEVICES], valid[MAX_BIOS_DEVICES];
^
gcc -c -O2 -march=i486 -mtune=i686 -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` shs2.c
gcc -c -O2 -march=i486 -mtune=i686 -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` edit.c
edit.c: In function ‘get_std_headers’:
edit.c:108:2: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
bmh->sizeImageData = *(int*)(fh->size) - *(int*)(fh->offsetToBits);
^
edit.c:108:2: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
edit.c:128:5: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if (*(int*)(fh->offsetToBits) == sizeof(BITMAPFILEHEADER) +
^
edit.c:136:2: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(int*)(lh->size) = size;
^
edit.c: In function ‘put_std_bmpfile’:
edit.c:174:5: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(int*)(fh->offsetToBits) = n = sizeof(BITMAPFILEHEADER) +
^
edit.c:177:5: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(int*)(fh->size) = total + n;
^
edit.c: In function ‘bmp_file_close’:
edit.c:309:9: προειδοποίηση: variable ‘n’ set but not used [-Wunused-but-set-variable]
int n;
^
gcc -O2 -march=i486 -mtune=i686 -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -DLILO_BINARY -o mkloader temp.c
gcc -E -P -ffreestanding `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -DFIRST=0x62177489 -o first.s first.S
gcc -E -P -ffreestanding -C -traditional -DLILO_ASM -o common.s common.h
as86 -0 -a -w -l first.lis -o first.o first.s
ld86 -0 -s -o first.img first.o
dd if=first.img of=first.b bs=32 skip=1
16+0 records in
16+0 records out
512 bytes (512 B) copied, 0,00765722 s, 66,9 kB/s
gcc -E -P -ffreestanding `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -DTEXT=0x9dd476ec second.S -o second.s
as86 -0 -a -w -l second.lis -o second.o second.s
ld86 -0 -s -o second.img second.o
dd if=second.img of=second.b bs=32 skip=1
224+0 records in
224+0 records out
7168 bytes (7,2 kB) copied, 0,00771189 s, 929 kB/s
gcc -E -P -ffreestanding `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -DMENU=0x2012a4a7 second.S -o third.s
as86 -0 -a -w -l third.lis -o third.o third.s
ld86 -0 -s -o third.img third.o
dd if=third.img of=third.b bs=32 skip=1
288+0 records in
288+0 records out
9216 bytes (9,2 kB) copied, 0,0041955 s, 2,2 MB/s
gcc -E -P -ffreestanding `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -DBITMAP=0x2ece2fbe second.S -o bitmap.s
as86 -0 -a -w -l bitmap.lis -o bitmap.o bitmap.s
ld86 -0 -s -o bitmap.img bitmap.o
dd if=bitmap.img of=bitmap.b bs=32 skip=1
304+0 records in
304+0 records out
9728 bytes (9,7 kB) copied, 0,010189 s, 955 kB/s
gcc -E -P -ffreestanding -traditional `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -DMBR=0xafbbe760 \
-o mbr.s mbr.S
as86 -0 -a -w -l mbr.lis -o mbr.o mbr.s
ld86 -0 -s -o mbr.img mbr.o
dd if=mbr.img of=mbr.b bs=32 skip=49
16+0 records in
16+0 records out
512 bytes (512 B) copied, 0,00634646 s, 80,7 kB/s
gcc -E -P -ffreestanding `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -DCHAIN=0x536a7646 chain.S -o chain.s
as86 -0 -a -w -l chain.lis -o chain.o chain.s
ld86 -0 -s -o chain.img chain.o
dd if=chain.img of=chain.b bs=32 skip=1
48+0 records in
48+0 records out
1536 bytes (1,5 kB) copied, 0,00242823 s, 633 kB/s
gcc -E -P -ffreestanding -traditional `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -DMBX=0x93c00848 \
-o mbr2.s mbr.S
as86 -0 -a -w -l mbr2.lis -o mbr2.o mbr2.s
ld86 -0 -s -o mbr2.img mbr2.o
dd if=mbr2.img of=mbr2.b bs=32 skip=49
16+0 records in
16+0 records out
512 bytes (512 B) copied, 0,00227262 s, 225 kB/s
./mkloader >loader.i
gcc -c -O2 -march=i486 -mtune=i686 -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` temp.c
gcc -o lilo lilo.o raid.o map.o geometry.o boot.o device.o common.o bsect.o cfg.o partition.o identify.o probe.o shs2.o edit.o temp.o `if [ -f /usr/include/libdevmapper.h ]; then echo "-ldevmapper"; fi`
gcc -E -P -ffreestanding -traditional `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -o disk.s disk.S
as86 -0 -a -w -l disk.lis -o disk.o disk.s
ld86 -0 -s -o disk.img disk.o
dd if=disk.img of=disk.b bs=32 skip=1
125+1 records in
125+1 records out
4016 bytes (4,0 kB) copied, 0,00293889 s, 1,4 MB/s
gcc -E -P -ffreestanding -traditional `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` \
-DSIZEDISKB=`wc -c