|
From: | Andrew Gaylard |
Subject: | Re: About Solaris versions. |
Date: | Mon, 29 Nov 2004 08:33:28 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031030 |
Yang, Xiao Dong (Xiao Dong) wrote:
Andrew, Thanks very much. Because there are so many compile Errors in our source files with new gcc version, we can't use the latest gcc. I have rebuild ddd 3.0 in Solaris 2.8 My question is: Now we have multi versions of gdb, gdb4.1.7 for Solaris 2.5.1 and gdb5.0 for Solaris 2.8 How ddd know which gdb should be invoked? just depends on $PATH or because gdb and ddd in the same directory, such as /usr/local/bin Or something else?
You certainly *can* use the latest gcc. It is perfectly possible -- even simple -- to have multiple versions of gcc installed. Just run configure with --prefix= and choose two different prefixes. Then use the new gcc to build and install ddd, and use the old gcc to build your source code. You will need to change your path to select which gcc and which gdb you want to use. Andrew.
[Prev in Thread] | Current Thread | [Next in Thread] |