Re: g++4.4 - managed to compile but can't run g++ | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Sat, Aug 23, 2008 at 12:42 AM, Brian Dessent <brian@xxxxxxxxxxx> wrote: > Simon Hill wrote: ... >> "cd /make/gcc-4.4-20080808" >> "mkdir target" >> "cd target" >> "../configure --disable-multilib" And don't forget about the possible consequences of a build in or under the gcc source tree--possible the cause of your build problems (failure to follow recommended configuration, see fifth para. on this page http://gcc.gnu.org/install/configure.html ). [Note: I believe the recommended procedure should be turned into a mandatory one, and the build procedure prohibited from continuing if the rule is not followed.] > configure your gcc to have a different name. For example if you used > --program-suffix=-4.4 then after "make install" you would have gcc-4.4, > g++-4.4 and so on. ... I have used the --program-suffix=-X.Y.Z method for many years and many versions and it has never failed me. It obviates many of the concerns Brian mentions. I highly recommend it. -Tom
[Linux C Programming] [C Programming] [Kernel List] [eCos] [Fedora Development] [Fedora Announce] [Autoconf] [The DWARVES Debugging Tools] [Yosemite Campsites] [Yosemite News] [C++ How to Program]