On Sun, 13 May 2001, Aaron Lehmann wrote:
> I tried to compile this ... :
> 
> gcc -E vgabios.c | tools86 -E > _vgabios_.c
> /usr/lib/bcc/bcc-cc1 -o vgabios.s -c -D__i86__ -0 _vgabios_.c
> ./dataseghack vgabios.s
> # bug : with -j i get 1 byte displacement at the end of bin file !
> #as86 vgabios.s -o vgabios.o -u -w -g -0 -j
> as86 vgabios.s -o vgabios.o -u -w -g -0 

A few suggestions: 

1. Get the latest version of as86 (http://www.cix.co.uk/~mayday/).  The
version that came with my system (redhat 6.2) caused lots of trouble that 
could be described as "displacements".

2. Do make clean in bios directory and check for old files from the
previous run.  Remove any that you find before trying make again.

3. The csh script works for me, though it sounds like you must have a
different csh.  Check that there's not some subtle difference introduced
when you converted it to a /bin/sh script.

Good luck,
Bryce


Reply via email to