From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199802190154.SAA13463@ellpspace.math.ualberta.ca> Date: Sat, 21 Feb 1998 21:39:29 +0100 (MET) From: Hugo van der Kooij Subject: Re: How to get a working C++ environment on RHL 5.0? In-Reply-To: <199802211746.KAA17057@ellpspace.math.ualberta.ca> On Sat, 21 Feb 1998, Michal Jaegermann wrote: > > > > I have seen several messages regarding the issue that c++ does not work > > well on RedHat Linux 5.0 but not seen a good soulution to cure this. > > I am very far from C++ guru but on a few programs I tried c++ from > egcs-1.0.1 (a fix posted on this list by Richard applied) seemed to me > work just find. I did put in a new version of g++ libraries in, though. > They are avaialable as a source rpm in contrib/hurricane/SRPMS on > Red Hat mirrors. I do not have g++ from 5.0 distribution installed > anymore. > > > I must add the restriction to this cure that it will be restricted to > > working RPM's or the possibility to creat working RPM's out of the code. > > Suit yourself. Quite to the contrary, I opted for installing egcs > in a separate tree /usr/local/egcs/. Once there will be a bigger body > of experience with this compiler I may opt for replacing with it > a system one but so far both 1.0.1 and a snapshot I tried seemed > to have problems compiling emacs-20.2 - for example. On the other > hand I run with a great success a Linux kernel compiled with an > egcs snapshot; but this required some manual intervention in a > compilation process. > > > I did give EGCS RPM's a brief try but then the configure scripts don't > > recognize it as a valid C++ environment. > > I do not know what you did but likely this was not something valid. > Just to check things I did recompile all four egcs compilers and > protoize and unprotoize as well and all worked fine > (updated RH 5.0 with 2.0.33+alpha patches kerneli, egcs-1.0.1). Well ackwardly enough much of these problems were due to the used kernel. I at first used the method propposed on this list. Making a new kernel directory with a new kernel (2.0.33) and the alpha patches. The kernel was fine but among the hints was the advise to relink the /usr/src/linux directory to the original (redhat shipped) kernel directory. Well I finally decided to switch it to the running kernel directory and things seem to be running much better now. I will do some testing (compiling source RPM's) and I guess much more packages will build fine. Hugo. +------------------------+------------------------------+ | Hugo van der Kooij | Hugo.van.der.Kooij@caiw.nl | | Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij | | 3155 VJ Maasland | (De man met de rode hoed) | +------------------------+------------------------------+ "Computers let you make more mistakes faster than any other invention in human history, with the possible exception of handguns and tequila." (Mitch Radcliffe) -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com