Hi,
I'm trying to compile ld86 (from the bin86 distribution) but I am running
into a problem. The output produced by my compiled version produces files
which are 16 bytes longer than the (binary) ld86 which comes with the
binutils.tar.Z. I suspect the recent change in the a.out format has
something to do with this. It seems to me that instead of a 32-byte header
I now have an 48-byte header (see the octal dumps below). When trying to
run this I get the error-message: Non-Minix header of 'boot'
I compiled ld86 with CFLAGS= -O6 -m486 -fstrenght-reduce -DBSD_A_OUT.
Configuration: Linux-0.96c, GCC v2.2.2.
Any clues?
Ben Lippolt
----
% ls -l boot*
-rwxr-xr-x 1 root root 560 Jul 8 21:43 bootsect
-rwxr-xr-x 1 root root 544 Jul 8 21:38 bootsect.old
% od bootsect | head -5
0000000 001401 002021 000060 000000 001000 000000 000000 000000
0000020 000000 000000 010000 000000 000000 000001 000000 000000
0000040 000000 000000 000000 000000 000000 000000 000000 000000
0000060 140270 107007 134330 110000 140216 000271 024401 024766
0000100 176377 122763 014752 000020 106220 135310 037764 154216
% od bootsect.old | head -5
0000000 001401 002020 000040 000000 001000 000000 000000 000000
0000020 000000 000000 000000 000000 000000 000001 000000 000000
0000040 140270 107007 134330 110000 140216 000271 024401 024766
0000060 176377 122763 014752 000000 106220 135310 037764 154216
0000100 140216 107120 104720 065324 007400 135641 000170 007544