Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* How to get a working C++ environment on RHL 5.0?
@ 1998-02-21 16:23 Hugo van der Kooij
  0 siblings, 0 replies; 5+ messages in thread
From: Hugo van der Kooij @ 1998-02-21 16:23 UTC (permalink / raw)


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 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.

I did give EGCS RPM's a brief try but then the configure scripts don't
recognize it as a valid C++ environment.

So I would welcome suggestions that will keep as close as possible to a
clean RedHat Linux 5.0 system as possible.

(As I want to keep a clean system to build clean packages.)

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to get a working C++ environment on RHL 5.0?
       [not found] <Pine.LNX.3.96.980221170721.29584A-100000@hvdkooij.dyn.ml.org>
@ 1998-02-21 17:46 ` Michal Jaegermann
  1998-02-21 20:39   ` Hugo van der Kooij
  0 siblings, 1 reply; 5+ messages in thread
From: Michal Jaegermann @ 1998-02-21 17:46 UTC (permalink / raw)


> 
> 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).

  Michal

-- 
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to get a working C++ environment on RHL 5.0?
  1998-02-21 17:46 ` Michal Jaegermann
@ 1998-02-21 20:39   ` Hugo van der Kooij
  0 siblings, 0 replies; 5+ messages in thread
From: Hugo van der Kooij @ 1998-02-21 20:39 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to get a working C++ environment on RHL 5.0?
       [not found] <Pine.LNX.3.96.980221213530.746A-100000@hvdkooij.dyn.ml.org>
@ 1998-02-21 21:53 ` Michal Jaegermann
  0 siblings, 0 replies; 5+ messages in thread
From: Michal Jaegermann @ 1998-02-21 21:53 UTC (permalink / raw)


> 
> 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.

That is likely a serious mistake.  I know that Jay suggested that
on this list but I disagree.  Instead of a trivial fix to
linux/include/asm/resource.h this seems to be a gross overkill with
a serious potential for problems.  I did not try really to check
and reconcile both sets of headers, but I do not have a real desire
to do that. :-)

The mentioned fix is needed to avoid this infamous buglet with
undefined RLIMIT_ ... constants was discusses on axp-list only
around a hundred times or so.  No other adjustments I would be aware of.

> Well I finally decided to switch it to the running kernel directory and
> things seem to be running much better now.

As it could be expected.

  Michal

-- 
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to get a working C++ environment on RHL 5.0?
@ 1998-02-22 20:56 DIGITAL
  0 siblings, 0 replies; 5+ messages in thread
From: DIGITAL @ 1998-02-22 20:56 UTC (permalink / raw)


Prekratite
pisat!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!

-- 
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-02-22 20:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.3.96.980221213530.746A-100000@hvdkooij.dyn.ml.org>
1998-02-21 21:53 ` How to get a working C++ environment on RHL 5.0? Michal Jaegermann
1998-02-22 20:56 DIGITAL
     [not found] <Pine.LNX.3.96.980221170721.29584A-100000@hvdkooij.dyn.ml.org>
1998-02-21 17:46 ` Michal Jaegermann
1998-02-21 20:39   ` Hugo van der Kooij
  -- strict thread matches above, loose matches on Subject: below --
1998-02-21 16:23 Hugo van der Kooij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox