| delorie.com/archives/browse.cgi | search |
| Message-ID: | <001001c2c9cc$06685f50$0100a8c0@acp42g> |
| From: | "Andrew Cottrell" <acottrel AT ihug DOT com DOT au> |
| To: | <djgpp-workers AT delorie DOT com> |
| Cc: | "Andris Pavenis" <pavenis AT latnet DOT lv> |
| Subject: | Rhide 1.6 alpha human debuggers |
| Date: | Sat, 1 Feb 2003 19:29:22 +1100 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook Express 6.00.2800.1106 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
| Reply-To: | djgpp-workers AT delorie DOT com |
Hi all,
I am currently in the process of finishing off a Rhide 1.6 alpha build which
is built with the following:-
- TV 2.01
- Setedit CVS get
- Rhide 1.6 alpha source tarball from Andris
- GDB 5.3
- DJGPP CVS LIBC
The resulting Rhide 1.6 will include bugs and the severity is unknown. In
order to reduce the bugs I would like to see if anyone would like to test
the exe that I have built. This one so far crashes less on XP than the 1.5.0
snapshot did, but I have only tested if for about 1 hour so far.
If you would like to try it please send me an email instead of cluttering up
the mailing list.
Here are the instructions and process that I went through in order to build
Rhide:-
HOW TO BUILD RHIDE
==================
Please note that these instructions may change as the source code changes.
These
instructions were correct as at 31-Jan-2003.
Code needed:
1) Download TV 2.01 RC2 zip for DJGPP
2) Get lastest Rhide 1.6 code tarball send email to get address
3) Get lastest Seteditor CVS code
4) GDB 5.3 Sources
5) Allegro 4.1.x or 4.03
5) Other DJGPP 2.04 packages at clio
Process:
=========
1) Unzip the TV 2.01 zip
2) set the following environment variables:-
set DJGPP_ROOT=D:\DJ204
set HOME=%DJGPP_ROOT%
set RHIDESRC=%DJGPP_ROOT%\CONTRIB\RHIDE
set GDB_SRC=%DJGPP_ROOT%\GNU\GDB-5.3
set GDB_OBJ=%DJGPP_ROOT%\GNU\GDB-5.3
set SETSRC=%DJGPP_ROOT%\contrib\setedit
set SETOBJ=%DJGPP_ROOT%\contrib\setedit\makes
set TVSRC=%DJGPP_ROOT%\contrib\tvision
set TVOBJ=%DJGPP_ROOT%\contrib\tvision\djgpp
set TV_INC=%DJGPP_ROOT%\contrib\tvision\include
3) Add the folling define for DJGPP (approx line 46)
#define NEEDS_REGEX
4) Build Tvision as follows:-
cd %DJGPP_ROOT%\contrib\tvision
make clean
sh configure
make
make install
5) Build setedit as follows:-
a) remove references to winoldap.o & winoldap.h in makes\libset.mak
b) in seteditor bufrun.cc remove refereces to SearchPHPFuncs
c) perform the following:-
cd %DJGPP_ROOT%\contrib\setedit
attrib -a -r *.* /s
rm ...\rh*.env
if not exist makefile goto seteditconfig
if not exist makefile goto seteditconfig
:seteditmake
rm ...\*.a
rm ...\*.o
rm ...\*.o
make clean
:seteditconfig
configure
make
cd internac
make
cd %DJGPP_ROOT%\contrib\setedit
make
make install
make clean
configure --libset
make
make install
5) To build rhide try the following:-
a) edit configure to change GDB version from 5.1 to 5.3
b) cd %DJGPP_ROOT%\contrib\rhide-1.5
d) sh configure
d) change all relative paths in config.env to absolute paths
e) In config.env change the following line
export SET_LIBS=pcre bz2 z easyd settv rhtv
to
export SET_LIBS=pcre bz2 z easyd settv rhtv m
(add m at the end to link in libm.a)
f) In idemain.cc :-
1) remove all references to slow_screen
2) Change references to use_mouse_handler to only be applicable for
TV 1.x series and DJGPP
3) update the rhide startup options "rhide -help"
g) Fudge modify regs.c to
i) add the following lines:-
#if __DJGPP__
/* This is needed for GDB 5.3 */
extern char const *i386_register_name (int reg);
extern signed char *register_valid;
extern signed char *register_valid;
extern char *registers;
int inferior_pid;
/*
gnu\gdb-5.3\gdb\regcache.h:extern signed char *register_valid;
*/
#endif
ii) change is_float_reg(int num) to always return a number.
This is the bigest fudge and is expected to cause problems
in the debugger!!!!
j) run the following commands :-
make needed
make
k) open the following gpr files and in the project menu select clear
dependencies:-
gpr2mak.gpr
gprexp.gpr
RHIDE CVS MODIFIED FILES
========================
idemain.cc
librhgdb\regs.c
libgdb\makefile.src
SETEDIT CVS MODIFIED FILES
==========================
include/configed.h
mainsrc/bufun.cc
TVISION 2.01 MODIFIED FILES
===========================
include\needs.h
Thanks,
Andrew
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |