On 4/7/08, wp <qwertygd@xxxxx> wrote: > Thanks a lot for You help Tom. > > Today, finaly I understand You suggestion about CXX and CC environment > variables. > I add file gcc.sh to /etc/profilr.d directory > and everything works fine. When I change export CC=/user/bin/gcc-X.Y.Z then > I change default compiler to X.Y.Z. > I try the same beafor but I don't discover so I must relogin. When I'm > logout and login again then everythings work ok. Yep, I forgot to mention that. You can resource the changed files, but it is usually best to relogin. And I am really glad it works, because I realized after I sent the last mesage that I DO NOT use rpmbuild with gcc routinely, just rpm to build a binary package from my own development tree. > Very very thanks for You help and patience. You are very welcome. -Tom