Mail Archives: djgpp/1995/02/06/18:48:24
TWIMC,
the ladybug distribution does not contain a DPMI version binary, so i tried to
build it. first, i had to unzip some header files and move them to the parent
(/djgpp/go32) directory. then i tried a "make -k ed32-dpmi" with the following
results:
gcc -I.. -I. -I/djgpp/include -O2 -g -Wunused -DFULLSCR -c ed.c
gcc -I.. -I. -I/djgpp/include -O2 -g -Wunused -DFULLSCR -c fullscr.c
c:/djgpp/tmp\cca00080: Assembler messages:
c:/djgpp/tmp\cca00080:937: Error: Rest of line ignored. First ignored character is `*'.
make.exe: *** [fullscr.o] Error 1
gcc -I.. -I. -I/djgpp/include -O2 -g -Wunused -DFULLSCR -c unassmbl.c
gcc -I.. -I. -I/djgpp/include -O2 -g -Wunused -DFULLSCR -c xsupport.c
gcc -I.. -I. -I/djgpp/include -O2 -g -Wunused -DFULLSCR -c perform.c
gcc -I.. -I. -I/djgpp/include -O2 -g -Wunused -DFULLSCR -c io.c
gcc -I.. -I. -I/djgpp/include -O2 -g -Wunused -DFULLSCR -c syms.c
gcc -I.. -I. -I/djgpp/include -O2 -g -Wunused -DFULLSCR -c wild.c
make.exe: Target 'ed32-dpmi' not remade because of errors.
for what it's worth, the offending lines in the assembler output look like
this:
935: movl $_npx,%eax
936:/* movb $0,4(%eax) */ /* clear pending exceptions */
937: frstor (%eax)
these appear to be quoted assembler code from the load_npx() function.
cutting out the offending line altogether fixed that problem. then another
problem arose, the ld command seems to be bogus on two fronts:
1) does the GNU make handle lines >128 characters on MS-DOS??
2) do we really need the DJGPP 1.11 version libraries? [see below]
hacking up a batch file FOO.BAT and a link file ED32-DPMI.LNK like these:
--------------------------------
ld -Ttext 0x000000a8 -N -o ed32-dpmi @ed32-dpmi.lnk
--------------------------------
/djgpp/lib/crt0.o
ed.o fullscr.o unassmbl.o serial.o xsupport.o perform.o io.o syms.o wild.o
/djgpp/lib/libc.a /djgpp/lib/libpc.a
--------------------------------
the next problem was no "serial.o". i compiled it explicitly by
gcc -I.. -I. -I/djgpp/include -O2 -g -Wunused -DFULLSCR -c serial.c
and then the link appeared to work. of course the debugger doesn't
work -- it generates a segmentation violation while loading the
program. :-( i would assume the DJGPP 1.11 libraries are really
needed. (!?) naturally, i threw those away when version 1.12 seemed to
be stable. :-(
my environment is as follows:
MS-DOS 5.00
Windows 3.1 (only when needed! :-)
DECpc 450DX/2 (486 DX2/50) with 16MB of RAM and 250MB disk (90% full)
DJGPP 1.12m4 with GCC 2.6.3 (from oak.oakland.edu Feb 3-4, 1995)
for what it's worth, i'd prefer a separate name such as "ladybug" and
"lady-dpmi" rather than replacing the standard debuggers altogether. :-) :-)
i hope this feedback helps.
--
Stephen McConnel steve AT acadcomp DOT sil DOT org
Academic Computing Department or
Summer Institute of Linguistics steve DOT mcconnel AT sil DOT org
7500 W. Camp Wisdom Road phone: (214)709-3361
Dallas, TX 75236 U.S.A. fax: (214)709-3387
- Raw text -