Mail Archives: djgpp/1994/04/08/10:35:25
> --- src200.zip.940407:
> This is the current working copy of the sources to djgpp version 2.0.
> It does not include any executables, and no sources for any GNU
> programs. Just the stub loader, libraries, and includes, plus a few
> utilities. This is only for people who want to help work on V2.0 and
> is not intended to be an official release. You can use 1.11's
> development tools to build this, and use this to build running
> programs (no extender or BCC required!). V2.0 apps require DPMI at
> the moment.
I would like to help with V2.0 development as far as my
capabilities (time and knowledge) allow me.
Three observations concerning 'src200.zip':
(1) During the making of 'stubedit.exe' a new version of
'crt0.o' is created. This new 'crt0.o' is then used
when linking 'stubedit.exe' which I think is not meant
that way (yet). See below for details.
I renamed the new 'crt0.o' to 'crt0_200.o' in the makefile,
and reinstalled 'crt0.o' from dj111m3.zip.
(2) _go32_dpmi_exception_setup() and npxsetup() seem to be
missing, but I understand that V2.0 is under development.
(3) With supplied dummies for the two routines in (2) the sample
program 'sample.c' only outputs some newlines, i.e. printf()
doesn't show the arguments given to the program 'sample.exe'.
(I have a Dell PC with S3 graphics)
Perhaps the above observations are caused by my lack of knowledge
of V2.0 essentials. If you can help me on these I would like to hear.
Meanwhile, I'll try to get a better grasp of what V2.0 is offering
My compliments for the 'djasm' program!
(We don't need to be afraid of the Borland no-nonsense licence anymore!)
| | / Pieter Kunst (P.J.) \
| _ _| / Philips Research Laboratories, \
.--(o)(o) / Building WY3, Prof. Holstlaan 4, \
|@ _) / 5656 AA Eindhoven, The Netherlands. |
| ,___| / e-mail: kunst AT prl DOT philips DOT nl /
| / \_______________________________________________/
bison -y -t djasm.y
mv -f y_tab.c djasm.c
gcc -O4 -g -I../include -c djasm.c -o djasm.o
gcc djasm.o -o djasm
djasm stub.asm stub.h stub.map
0x5fa bytes generated, 0x600 bytes in file, 0x877 bytes total, 118 symbols
gcc -O4 -g -I../include stub2inc.c -o stub2inc
stub2inc stub.map stub.asm ../include/stubinfo.h
djasm sbrk16.asm sbrk16.ah
0x70 bytes generated, 0x70 bytes in file, 0x270 bytes total, 11 symbols
gcc -O4 -g -I../include -c dpmi0.S -o dpmi0.o
gcc -O4 -g -I../include -c dpmi1.c -o dpmi1.o
ld -r -o ../lib/crt0.o dpmi0.o dpmi1.o
gcc -O4 -g -I../include stubedit.c -o stubedit
fake:535: (___dpmi1_startup): undefined reference to `_go32_dpmi_exception_setup
fake:538: (___dpmi1_startup): undefined reference to `npxsetup'
make.exe: *** [stubedit] Error 1
rm djasm.o djasm.c
- Raw text -