[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: gcc 4 <--> gcc 3
- From: "Iain Morrison" <idm24 medschl cam ac uk>
- To: "Red Hat Enterprise Linux 4 \(Nahant\) Discussion List" <nahant-list redhat com>
- Subject: RE: gcc 4 <--> gcc 3
- Date: Thu, 6 Sep 2007 18:28:54 +0100
> -----Original Message-----
> From: nahant-list-bounces redhat com
> [mailto:nahant-list-bounces redhat com] On Behalf Of Ed Greshko
> Sent: 06 September 2007 15:31
> To: Red Hat Enterprise Linux 4 (Nahant) Discussion List
> Subject: Re: gcc 4 <--> gcc 3
>
> Iain Morrison wrote:
> > Dear all, we have recently needed to use gcc 4 [to compile
> an R library].
> > Apologies if this is a FAQ but do we need to do anything else except
>
> Normally all you'd need do is set an environment variable for
> CC=/usr/bin/gcc4.
That doesn't seem to work [setting CXX=/usr/bin/g++4 as well didn't help either]. (However that may be a problem compiling from within R.)
thanks
iain
>
>
> >
> > [ after an initial
> >
> > cp -p /usr/bin/gcc /usr/bin/gcc3 cp -p /usr/bin/g++ /usr/bin/g++3 ]
> >
> >
> > 3 à 4
> >
> > cp -p /usr/bin/gcc4 /usr/bin/gcc cp -p /usr/bin/g++4 /usr/bin/g++
> >
> > 4 à 3
> >
> > cp -p /usr/bin/gcc3 /usr/bin/gcc cp -p /usr/bin/g++3 /usr/bin/g++
> >
> > Is it feasible to use gcc4 as the default compiler or
> should we stick
> > with the RHEL AS 4 U5 default? Is 3 still the RHEL 5 default?
> >
> > thanks
> >
> > iain
> >
> >
> > ----------------------------------------
> >
> > Iain Morrison IT Manager MRC Epidemiology Unit Institute of
> Metabolic
> > Science Box 285 Addenbrooke's Hospital Hills Road Cambridge CB2 0QQ
> >
> > Tel 01223 769200
> >
> >
> > -- nahant-list mailing list nahant-list redhat com
> > https://www.redhat.com/mailman/listinfo/nahant-list
>
>
> --
> The number of arguments is unimportant unless some of them
> are correct.
> -- Ralph Hartley
>
> --
> nahant-list mailing list
> nahant-list redhat com
> https://www.redhat.com/mailman/listinfo/nahant-list
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]