home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.suse      Suse is actually not that bad      138,051 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 136,618 of 138,051   
   Malcolm to conrrrod@gmail.com   
   Re: running 2 versions of gcc/g++ in Sus   
   15 Sep 18 23:52:00   
   
   From: malcolmlewis@cableone.net.invalid   
      
   On Sat, 15 Sep 2018 19:53:22 -0700 (PDT)   
   conrrrod@gmail.com wrote:   
      
   > In Leap 42.3, one can install gcc 5.3 from official repo.   
   > Then one uses gcc-5 or g++-5 in makefiles. Invoking gcc will give you   
   > the default 4.8.5 version. Is each version of g++ looking in the   
   > correct subdirectory to pickup header files? They are in something   
   > like /usr/include/c++/$version   
   > There are also a few libraries in:   
   > /usr/lib/gcc/$distro/$version   
   > There are some guides on the web, but mostly tell you how to compile   
   > another gcc from source, or else use update-alternatives thing for   
   > Debian family.   
   >   
   Hi   
   You can use update-alternatives in openSUSE, but exporting the necessary   
   Makefile flags eg CC=/usr/bin/gcc-5 should suffice to know what to use.   
      
   --   
   Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)   
   SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.16-default   
   HP 255 G4 Notebook | E2-7110 X4 @ 1.80 GHz | AMD Radeon R3   
   up 16 days 16:26, 2 users, load average: 0.43,   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca