This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: RFC: Change to gdb/README
- To: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Subject: Re: RFC: Change to gdb/README
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Thu, 21 Dec 2000 17:23:20 +0000
- CC: gdb at sources dot redhat dot com, "Frank Ch. Eigler" <fche at cygnus dot com>
- Organization: Red Hat Canada Ltd. - Toronto
- References: <3A3A8368.1AB607D@cygnus.com> <4839-Sat16Dec2000004058+0200-eliz@is.elta.co.il>
I believe I have addressed Eli and Frank comments. Here it is:
---------
You can build GDB right in the source directory:
cd gdb-5.0
./configure
make
cp gdb/gdb /usr/local/bin/gdb (or wherever you want)
However, we recommend that an empty directory be used instead.
This way you do not clutter your source tree with binary files
and will be able to create different builds with different
configuration options.
You can build GDB in any empty build directory:
mkdir build
cd build
<full path to your sources>/gdb-5.0/configure
make
---------
Eli Zaretskii wrote:
>
> > Date: Fri, 15 Dec 2000 20:47:36 +0000
> > From: Fernando Nasser <fnasser@cygnus.com>
> >
> > It will be much easier if people build in a separate directory.
> >
> > Is it OK to change the instructions in the gdb/README file to
> > somewhat favor that choice?
>
> I think it is a good idea, but I would suggest to say a couple of
> words _why_ this is the recommended alternative. Otherwise, the
> following text:
>
> > You can build GDB right in the source directory:
> >
> > cd gdb-5.0
> > ./configure
> > make
> > cp gdb/gdb /usr/local/bin/gdb (or wherever you want)
> >
> > However, we recommend that an empty directory be used instead:
>
> Leaves the naive reader wondering why one way is recommended more than
> the other.
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9