delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/03/15/09:02:24

From: kunst AT prl DOT philips DOT nl
Subject: Compiling FSDB091
To: terra AT diku DOT dk
Date: Tue, 15 Mar 1994 14:29:22 +0100 (MET)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP users list)

Hello Morten,                                Morten Welinder (terra AT diku DOT dk) 

I just got your Full Screen Debugger (FSDB091.ZIP), but I'm having
trouble to compile the sources. I have completed steps 1 to 3 below
succesfully, but I get compilation errors at step 4. Perhaps I'm
missing something 'obvious', e.g. some special environment setting.
Can you see what is wrong ?

Regards,

 .^^^^^^^^           _____________________________________
 |      |          / 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             /
  |   /     \_______________________________________________/
  /____\

PS I have posted a copy of this mail to the DJGPP list, in case 
   other DJGPP users have experienced (and solved ?!?) similar problems.

===============================================================================
1.3 Installation

To install the debugger, go through the following steps

        1. Backup the files in `djgpp\go32\ed', and the binaries
           in `djgpp\bin' (the files `edebug32' and `ed32-dpm').
        2. Go to the djgpp\go32\ed directory.
        3. Unzip the archive files.
        4. Compile the debugger: "make" or "gmake" or whatever your
           make utility is called.
        5. Copy the new debugger executeables to the binary directory:
           "copy edebug32 ..\..\bin" then "copy ed32-dpm ..\..\bin" 

You can now use the new debugger in the same way as you used to use the old
one, i.e., if you want to execute "myprog 42 a:\out" under the debugger,
you do

        go32 -d edebug32 myprog 42 a:\out

if you use the non-dpmi version, or 

        go32 -d ed32-dpm myprog 42 a:\out

if you are debugging under dpmi.  [Which you would be if you are running
under Windows or OS/2 -- see also the section about known problems below.]
===============================================================================


C:\DJGPP\GO32\ED>make
MAKE Version 3.6  Copyright (c) 1991 Borland International

Available memory 388384 bytes

        gcc -I.. -I. -I- -O2 -g -Wformat -Wunused -DFULLSCR -c ed.c
ed.c: In function `invalid_addr':
ed.c:70: warning: unsigned int format, word32 arg (arg 2)
ed.c: In function `main':
ed.c:102: warning: unused variable `v'
ed.c:102: warning: unused variable `i'
        gcc -I.. -I. -I- -O2 -g -Wformat -Wunused -DFULLSCR -c fullscr.c
fullscr.c: In function `code_skip':
fullscr.c:565: warning: assignment makes pointer from integer without a cast
fullscr.c:566: warning: assignment makes pointer from integer without a cast
fullscr.c:585: warning: assignment makes pointer from integer without a cast
fullscr.c: In function `code_pane_goto':
fullscr.c:643: warning: comparison between pointer and integer
fullscr.c: In function `step':
fullscr.c:669: warning: assignment makes pointer from integer without a cast
fullscr.c:678: warning: assignment makes pointer from integer without a cast
fullscr.c: In function `redraw':
fullscr.c:973: warning: assignment makes pointer from integer without a cast
fullscr.c:983: warning: assignment makes pointer from integer without a cast
fullscr.c: In function `whereis_pane_command':
fullscr.c:2027: too many arguments to function `syms_listwild'

** error 1 ** deleting fullscr.o


===============================================================================


- Raw text -


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