Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ ls
- hello_world.cpp
- sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ g++ hello_world.cpp
- sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ ./a.out
- Hello World!
- sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ g++ -v
- Using built-in specs.
- COLLECT_GCC=g++
- COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
- Target: x86_64-linux-gnu
- 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
- Thread model: posix
- gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
- sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ source activate fenics27
- discarding /home/sohail/anaconda/bin from PATH
- prepending /home/sohail/anaconda/envs/fenics27/bin to PATH
- (fenics27)sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ g++ -vUsing built-in specs.
- COLLECT_GCC=g++
- COLLECT_LTO_WRAPPER=/home/sohail/anaconda/envs/fenics27/libexec/gcc/x86_64-unknown-linux-gnu/4.8.2/lto-wrapper
- Target: x86_64-unknown-linux-gnu
- 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
- Thread model: posix
- gcc version 4.8.2 (GCC)
- (fenics27)sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ g++ hello_world.cpp
- 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,
- from /home/sohail/anaconda/envs/fenics27/include/c++/4.8.2/x86_64-unknown-linux-gnu/bits/c++config.h:426,
- from /home/sohail/anaconda/envs/fenics27/include/c++/4.8.2/iostream:38,
- from hello_world.cpp:1:
- /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
- # include <sys/cdefs.h>
- ^
- compilation terminated.
- (fenics27)sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ ls
- a.out hello_world.cpp
- (fenics27)sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ rm a.out
- (fenics27)sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ g++ hello_world.cpp
- 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,
- from /home/sohail/anaconda/envs/fenics27/include/c++/4.8.2/x86_64-unknown-linux-gnu/bits/c++config.h:426,
- from /home/sohail/anaconda/envs/fenics27/include/c++/4.8.2/iostream:38,
- from hello_world.cpp:1:
- /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
- # include <sys/cdefs.h>
- ^
- compilation terminated.
- (fenics27)sohail@sohail-Inspiron-N5110:~/learning/gitfiles/bitbucket/c++$ ls
- hello_world.cpp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement