Advertisement
Guest User

Untitled

a guest
Aug 31st, 2015
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.75 KB | None | 0 0
  1. sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ ls
  2. hello_world.cpp
  3. sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ g++ hello_world.cpp
  4. sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ ./a.out
  5. Hello World!
  6. sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ g++ -v
  7. Using built-in specs.
  8. COLLECT_GCC=g++
  9. COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
  10. Target: x86_64-linux-gnu
  11. Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
  12. Thread model: posix
  13. gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  14. sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ source activate fenics27
  15. discarding /home/sohail/anaconda/bin from PATH
  16. prepending /home/sohail/anaconda/envs/fenics27/bin to PATH
  17. (fenics27)sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ g++ -vUsing built-in specs.
  18. COLLECT_GCC=g++
  19. COLLECT_LTO_WRAPPER=/home/sohail/anaconda/envs/fenics27/libexec/gcc/x86_64-unknown-linux-gnu/4.8.2/lto-wrapper
  20. Target: x86_64-unknown-linux-gnu
  21. Configured with: ./configure --prefix=/home/sohail/anaconda/envs/fenics27 --with-gmp=/home/sohail/anaconda/envs/fenics27 --with-mpfr=/home/sohail/anaconda/envs/fenics27 --with-mpc=/home/sohail/anaconda/envs/fenics27 --with-isl=/home/sohail/anaconda/envs/fenics27 --with-cloog=/home/sohail/anaconda/envs/fenics27 --disable-multilib
  22. Thread model: posix
  23. gcc version 4.8.2 (GCC)
  24. (fenics27)sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ g++ hello_world.cpp
  25. In file included from /home/sohail/anaconda/envs/fenics27/include/c++/4.8.2/x86_64-unknown-linux-gnu/bits/os_defines.h:39:0,
  26.                  from /home/sohail/anaconda/envs/fenics27/include/c++/4.8.2/x86_64-unknown-linux-gnu/bits/c++config.h:426,
  27.                  from /home/sohail/anaconda/envs/fenics27/include/c++/4.8.2/iostream:38,
  28.                  from hello_world.cpp:1:
  29. /home/sohail/anaconda/envs/fenics27/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include-fixed/features.h:338:25: fatal error: sys/cdefs.h: No such file or directory
  30.  #  include <sys/cdefs.h>
  31.                          ^
  32. compilation terminated.
  33. (fenics27)sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ ls
  34. a.out  hello_world.cpp
  35. (fenics27)sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ rm a.out
  36. (fenics27)sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ g++ hello_world.cpp
  37. In file included from /home/sohail/anaconda/envs/fenics27/include/c++/4.8.2/x86_64-unknown-linux-gnu/bits/os_defines.h:39:0,
  38.                  from /home/sohail/anaconda/envs/fenics27/include/c++/4.8.2/x86_64-unknown-linux-gnu/bits/c++config.h:426,
  39.                  from /home/sohail/anaconda/envs/fenics27/include/c++/4.8.2/iostream:38,
  40.                  from hello_world.cpp:1:
  41. /home/sohail/anaconda/envs/fenics27/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include-fixed/features.h:338:25: fatal error: sys/cdefs.h: No such file or directory
  42.  #  include <sys/cdefs.h>
  43.                          ^
  44. compilation terminated.
  45. (fenics27)sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ ls
  46. hello_world.cpp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement