How to specify a new but non-default path of gdb in gcc?
- From: "LaBird" <wlcheung1975@xxxxxxxxx>
- Date: Tue, 27 Mar 2007 20:41:30 +0800
Hi,
I have installed a new gdb (6.6) in my own (normal user) account,
under /home/username/gdb/. The system already has one older
version of gdb, but I'd like to try out the new one without removing
the old one. The installation is successful, but instead of "gcc -g ...",
what should I put in the command line when compiling a C program,
so that the debug information of the new gdb can be added instead
of the default old version?
Thanks!
Best Regards,
LaBird (Benny).
[Email: Remove all numerals to get the correct address.]
.
- Follow-Ups:
- Re: How to specify a new but non-default path of gdb in gcc?
- From: Paul Pluzhnikov
- Re: How to specify a new but non-default path of gdb in gcc?
- From: LaBird
- Re: How to specify a new but non-default path of gdb in gcc?
- Prev by Date: two glib version at once
- Next by Date: Re: How to specify a new but non-default path of gdb in gcc?
- Previous by thread: two glib version at once
- Next by thread: Re: How to specify a new but non-default path of gdb in gcc?
- Index(es):
Relevant Pages
|