Hi Hiro et al, On Thu, 11 Oct 2001 12:10:33 -0500 (CDT) Hironori Ito <hito@students.phsx.ukans.edu> wrote concerning "Re: new PC and gcc": > > > > CC=egcs CXX=egcs++ ./configure > > > > This works!!!!!! > > And, with this compilation, you can compile in RH7.1 and use it on > RH6.2. (This is what we want. right???) Well, it's more like the other way around. Compile BRAT/BRAG/BROP/BREG/CRASH/... on RH 6.2 (that is on rcas) and use it on the pii's. If someone wants to compile anything against BRAT/BRAG/BROP/BREG/CRASH/... on the RH 7.2 machines, thay better make sure to use the EGCS compilers. All our software is installed in /afs/rhic/opt/brahms/[new|pro] and maintained from brahmlib@rcas<xxxx>, since the rcas machines are identical (more or less) to the rcrs machines. > Anyway, if this is what we want, can we change the following. > > In configure.in > > AC_PROG_CC to AC_PROG_CC(egcs gcc) > AC_PROG_CXX to AC_PROG_CXX(egcs++ g++) > > Does this cause the problem to the people who are not using RH or > linux? Baaaaad idea. For people not at BNL [and there's great many of those], and who doesn't care to copy binaries from one machine to another (since it's a bad idea too), it does not make sense to use the old compilers. Rather, they want to use the new compilers. Now, that's just for RH Linux. If you do something on Debian/Mandrake/LinuxPPC/... you may end up in a load of trouble. The solution is really simple. If someone really wants to be able to copy binaries from RH 7.2 to other RH's, they _must_ set the environment variables CXX and CC, like you described above. I seem to remember you said the RH 7.2 pii's are collecting dust. Well, there's never been any reason for that at all, since RH 7.2 can exec RH 6.2 binaries - no problem - and all our 'official' binaries on Linux are compiled on RH 6.2 machines. The problem is the other way around - RH 6.2 machines cannot exec RH 7.2 binaries - which is really only relevant if you want to build stuff on RH 7.2 machines. Yours, Christian Holm Christensen ------------------------------------------- Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91 DK-2200 Copenhagen N Cell: (+45) 28 82 16 23 Denmark Office: (+45) 353 25 305 Email: cholm@nbi.dk Web: www.nbi.dk/~cholm
This archive was generated by hypermail 2b30 : Thu Oct 11 2001 - 13:49:20 EDT