delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/07/28/06:00:39

From: Andrew Cottrell <spam AT bigpond DOT com DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: GDB for DOS
Date: Mon, 28 Jul 2003 19:47:32 +1000
Organization: HOME
Message-ID: <hor9ivc2tibrp94pto5o2hf7ai0rbak4u1@4ax.com>
References: <20030728012733 DOT 31630 DOT qmail AT web10007 DOT mail DOT yahoo DOT com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Lines: 46
NNTP-Posting-Date: 28 Jul 2003 17:47:34 WST
NNTP-Posting-Host: 202.154.115.197
X-Trace: 1059385654 news.swiftel.com.au 13860 202.154.115.197
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Do not post huge files. Instead post a link where people can download
the file if required.

>I have download the source code and tried to recompile it on my machine. However with the makefile in the package I got the following error:
> 
>make.exe[1]: *** No rule to make target 'dev/env/DJDIR/gnu/gdb-5.3/readline/config.h', needed by 'readline.o'. Stop.
>make.exe: *** [all-readline] Error 2
Have you installed the readline package? 

Next time you build re-direct the output to a file using redir.exe and
then you can see what the build is trying to do.

> 
>Is there somehting I am missing to use the makefile? 
Here is the part out of my batch file that I use to build GDB 5.3 for
the 2.04 alpha releases:-
	CD %DJGPP_ROOT%\GNU\GDB-5.3
	if not exist makefile sh ./gdb/config/djgpp/djconfig.sh
	make clean
	rm ...\*.exe
	rm ...\*.o
	rm ...\*.lo
	rm ...\*.a
	make
	make info
	make -k install prefix='${DJDIR}' INSTALL='ginstall -c'
	make -k install-info prefix='${DJDIR}' INSTALL='ginstall -c'
	cp gdb\libgdb.a %DJGPP_ROOT%\lib
	CD %DJGPP_ROOT%\GNU\GDB-5.3\bfdsym~1
	make clean
	make
	cp *.exe %DJGPP_ROOT%\bin


Please note that this is probably more complex than it neads to be,
but over the last 2 years with changes to allot of the packages and
problems I keep making the way I build more resiliant to issues.

Andrew




Andrew


- Raw text -


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