Re: gcc 4.9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2016-07-31 at 11:32 -0700, stan wrote:
> On Sun, 31 Jul 2016 11:06:18 -0700
> stan <stanl-fedorauser@xxxxxxxxxxx> wrote:
> 
> > 
> > On Sun, 31 Jul 2016 17:24:16 +0000 (UTC)
> > "Amadeus W.M." <amadeus84@xxxxxxxxxxx> wrote:
> > 
> > > 
> > > On Sun, 31 Jul 2016 16:36:10 +0000, Rick Stevens wrote:
> > >   
> > > > 
> > > > IIRC the cuda installer lets you override the check for the gcc
> > > > version (try running the installer ".run" file with the "
> > > > --help"
> > > > option).
> > > > 
> > > > 
> > > > Note that overrides the gcc check during installation--there's
> > > > no
> > > > guarantee that compilations will work. Cuda uses certain gcc
> > > > flags
> > > > that may be deprecated or non-existent in newer gcc
> > > > implementations.
> > > > 
> > > > 
> > > > Rick Stevens, Systems Engineer AllDigital, Inc.
> > > > ________________________________    
> > > 
> > > NVIDIA provides a cuda rpm repository and I installed everything
> > > from there with dnf, so it installed with whatever defaults it
> > > came
> > > with. And, as you said, even if it doesn't check for the
> > > compiler,
> > > it won't necessarily compile. I'm really looking for a clean way
> > > of
> > > installing gcc-4.9.  
> 
> Some further thoughts.  The 4.9 compiler is from F21.  So you could
> build a virtual machine of F21 to use for this, or do a minimal
> install
> just for this purpose. I can't remember the link, but Fedora keeps a
> snapshot of the last version of each version, so there is an F21
> repository with all the software in it, current at the end of the
> version.  Then just install from the cuda repository, and off you go.
> 
> This would be a lot easier than trying to bolt gcc 4.9 onto the
> latest
> Fedora.

Another alternative would be to just get the source from https://www.gn
u.org/software/gcc/ and build a local copy in /usr/local or your home
directory. That would avoid all the conflicts that RPMs generate with
the system GCC. I did that once some time back and it's not that hard.

-- 
Matthew Saltzman
Clemson University Math Sciences
mjs AT clemson DOT edu
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux