Mail Archives: djgpp/1994/04/08/10:35:25

From: kunst AT prl DOT philips DOT nl
Subject: Re: uploads to cygnus - dll, farptr, V2.0 src
To: dj AT ctron DOT com (DJ Delorie)
Date: Fri, 8 Apr 1994 15:54:11 +0100 (METDST)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP users list)

DJ writes:
> ---
> 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.
> Enjoy!

Hello DJ,

I would like to help with V2.0 development as far as my
capabilities (time and knowledge) allow me.

Three observations concerning '':

(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

(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
already now.

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
coff2exe djasm
djasm stub.asm stub.h
0x5fa bytes generated, 0x600 bytes in file, 0x877 bytes total, 118 symbols
gcc -O4 -g -I../include    stub2inc.c   -o stub2inc
coff2exe stub2inc
stub2inc 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 -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019