Advertisement
Guest User

Untitled

a guest
Jun 28th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. jeanpat@dip4fish ~]$ whereis gcc-4.9
  2. gcc-4: /usr/bin/gcc-4.9
  3. [jeanpat@dip4fish ~]$ whereis g++-4.9
  4. g++-4: /usr/bin/g++-4.9
  5. [jeanpat@dip4fish ~]$ whereis g++
  6. g++: /usr/bin/g++ /usr/share/man/man1/g++.1.gz
  7. [jeanpat@dip4fish ~]$ whereis gcc
  8. gcc: /usr/bin/gcc /usr/lib/gcc /usr/share/man/man1/gcc.1.gz /usr/share/info/gcc.info.gz
  9.  
  10. jeanpat@dip4fish ~]$ export CC=/usr/bin/gcc-4.9
  11. [jeanpat@dip4fish ~]$ export CXX=/usr/bin/g++-4.9
  12.  
  13. [jeanpat@dip4fish ~]$ gcc --version
  14. gcc (GCC) 6.1.1 20160602
  15.  
  16. $ echo $LD_LIBRARY_PATH
  17. :/opt/cuda/lib64:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement