* config/djgpp/README: Fix a typo and tweak for GDB 5.1.
This commit is contained in:
parent
ebe7507a64
commit
c4282e67c1
2 changed files with 20 additions and 15 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
|
||||||
|
|
||||||
|
* config/djgpp/README: Fix a typo and tweak for GDB 5.1.
|
||||||
|
|
||||||
2001-10-20 Andrew Cagney <ac131313@redhat.com>
|
2001-10-20 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* jv-lang.h: Add #ifndef JV_LANG_H wrapper.
|
* jv-lang.h: Add #ifndef JV_LANG_H wrapper.
|
||||||
|
|
|
@ -38,7 +38,7 @@ To build the package, you will need the DJGPP development environment
|
||||||
(GCC, header files, and the libraries), and also DJGPP ports of the
|
(GCC, header files, and the libraries), and also DJGPP ports of the
|
||||||
following tools:
|
following tools:
|
||||||
|
|
||||||
- GNU Make 3.78.1 or later
|
- GNU Make 3.79.1 or later
|
||||||
- Bash 2.03 or later
|
- Bash 2.03 or later
|
||||||
- GNU Sed
|
- GNU Sed
|
||||||
- GNU Fileutils
|
- GNU Fileutils
|
||||||
|
@ -62,7 +62,7 @@ and `utod' utilities which are part of the basic DJGPP development kit
|
||||||
If you download the source distribution from one of the DJGPP sites,
|
If you download the source distribution from one of the DJGPP sites,
|
||||||
just unzip it while preserving the directory structure (I suggest to
|
just unzip it while preserving the directory structure (I suggest to
|
||||||
use unzip32.exe available with the rest of DJGPP), and proceed to the
|
use unzip32.exe available with the rest of DJGPP), and proceed to the
|
||||||
section "How to build" below.
|
section "How to build", below.
|
||||||
|
|
||||||
Source distributions downloaded from one of the GNU FTP sites need
|
Source distributions downloaded from one of the GNU FTP sites need
|
||||||
some more work to unpack. First, you MUST use the `djunpack' batch
|
some more work to unpack. First, you MUST use the `djunpack' batch
|
||||||
|
@ -75,23 +75,24 @@ distribution includes a file `gdb/config/djgpp/fnchange.lst' with the
|
||||||
necessary mappings. So you need first to retrieve that batch file,
|
necessary mappings. So you need first to retrieve that batch file,
|
||||||
and then invoke it to unpack the distribution. Here's how:
|
and then invoke it to unpack the distribution. Here's how:
|
||||||
|
|
||||||
djtar -x -p -o gdb-5.0/djunpack.bat gdb-5.0.tar.gz > djunpack.bat
|
djtar -x -p -o gdb-5.1/djunpack.bat gdb-5.1.tar.gz > djunpack.bat
|
||||||
djunpack gdb-5.0.tar.gz
|
djunpack gdb-5.1.tar.gz
|
||||||
|
|
||||||
(The name of the distribution archive and the leading directory of the
|
(The name of the distribution archive and the leading directory of the
|
||||||
path to `djunpack.bat' in the distribution will be different for
|
path to `djunpack.bat' in the distribution will be different for
|
||||||
versions of GDB other than 5.0.)
|
versions of GDB other than 5.1.)
|
||||||
|
|
||||||
If the argument to `djunpack.bat' include leading directories, it MUST
|
If the argument to `djunpack.bat' include leading directories, it MUST
|
||||||
be given with the DOS-style backslashes; Unix-style forward slashes
|
be given with the DOS-style backslashes; Unix-style forward slashes
|
||||||
will NOT work.
|
will NOT work.
|
||||||
|
|
||||||
If the distribution comes as a .tar.bz2 archive, you need to unpack it
|
If the distribution comes as a .tar.bz2 archive, and your version of
|
||||||
as follows:
|
`djtar' doesn't support bzip2 decompression, you need to unpack it as
|
||||||
|
follows:
|
||||||
|
|
||||||
bnzip2 gdb-5.0.tar.bz2
|
bnzip2 gdb-5.1.tar.bz2
|
||||||
djtar -x -p -o gdb-5.0/djunpack.bat gdb-5.0.tar > djunpack.bat
|
djtar -x -p -o gdb-5.1/djunpack.bat gdb-5.1.tar > djunpack.bat
|
||||||
djunpack gdb-5.0.tar
|
djunpack gdb-5.1.tar
|
||||||
|
|
||||||
|
|
||||||
3. How to build
|
3. How to build
|
||||||
|
@ -105,7 +106,7 @@ invoke Make:
|
||||||
|
|
||||||
To build a package downloaded from a GNU FTP site, you will need o
|
To build a package downloaded from a GNU FTP site, you will need o
|
||||||
configure it first. You will also need to configure it if you want to
|
configure it first. You will also need to configure it if you want to
|
||||||
change the configuration options (e.g., compile with support for the
|
change the configuration options (e.g., compile without support for the
|
||||||
GDBMI interface). To configure GDB, type this command:
|
GDBMI interface). To configure GDB, type this command:
|
||||||
|
|
||||||
sh ./gdb/config/djgpp/djconfig.sh
|
sh ./gdb/config/djgpp/djconfig.sh
|
||||||
|
@ -117,8 +118,8 @@ recursively configures all the subdirectories.
|
||||||
|
|
||||||
You may pass optional switches to djconfig.sh. It accepts all the
|
You may pass optional switches to djconfig.sh. It accepts all the
|
||||||
switches accepted by the original GDB configure script. These
|
switches accepted by the original GDB configure script. These
|
||||||
switches are described in the file gdb/README, and their full list be
|
switches are described in the file gdb/README, and their full list can
|
||||||
displayed by running the following command:
|
be displayed by running the following command:
|
||||||
|
|
||||||
sh ./gdb/configure --help
|
sh ./gdb/configure --help
|
||||||
|
|
||||||
|
@ -126,13 +127,13 @@ NOTE: if you *do* use optional command-line switches, you MUST pass
|
||||||
to the script the name of the directory where GDB sources are
|
to the script the name of the directory where GDB sources are
|
||||||
unpacked--even if you are building GDB in-place! For example:
|
unpacked--even if you are building GDB in-place! For example:
|
||||||
|
|
||||||
sh ./gdb/config/djgpp/djconfig.sh . --enable-gdbmi
|
sh ./gdb/config/djgpp/djconfig.sh . --disable-gdbmi
|
||||||
|
|
||||||
It is also possible to build GDB in a directory that is different from
|
It is also possible to build GDB in a directory that is different from
|
||||||
the one where the sources were unpacked. In that case, you have to
|
the one where the sources were unpacked. In that case, you have to
|
||||||
pass the source directory as the first argument to the script:
|
pass the source directory as the first argument to the script:
|
||||||
|
|
||||||
sh ./gdb/config/djgpp/djconfig.sh d:/gnu/gdb-5.0
|
sh ./gdb/config/djgpp/djconfig.sh d:/gnu/gdb-5.1
|
||||||
|
|
||||||
You MUST use forward slashes in the first argument.
|
You MUST use forward slashes in the first argument.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue