Results 1 to 3 of 3
Where is the location of the header files for the c++ standard library?
I assume that they were installed by gnu g++, please correct me if i'm wrong.
I'm running ...
- 07-21-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 1
Location of (gnu) c++ standard library
Where is the location of the header files for the c++ standard library?
I assume that they were installed by gnu g++, please correct me if i'm wrong.
I'm running ubuntu 10.04 with g++ 4.4.
I looked in /usr/lib/gcc/i486-linux-gnu/4.4/include, but this directory contains only the following:
...which doesnt seem to include the really basic things like iostream, for example.Code:-rw-r--r-- 1 root root 3089 2010-03-26 14:02 ammintrin.h -rw-r--r-- 1 root root 47999 2010-03-26 14:02 avxintrin.h -rw-r--r-- 1 root root 43393 2010-03-26 14:02 bmmintrin.h -rw-r--r-- 1 root root 5286 2010-03-26 14:02 cpuid.h -rw-r--r-- 1 root root 2598 2010-03-26 14:02 cross-stdarg.h -rw-r--r-- 1 root root 49931 2010-03-26 14:02 emmintrin.h -rw-r--r-- 1 root root 7847 2010-03-26 14:02 float.h -rw-r--r-- 1 root root 1537 2010-03-26 14:02 immintrin.h -rw-r--r-- 1 root root 1279 2010-03-26 14:02 iso646.h -rw-r--r-- 1 root root 6632 2010-03-26 14:02 mm3dnow.h -rw-r--r-- 1 root root 5394 2010-03-26 14:02 mmintrin-common.h -rw-r--r-- 1 root root 30625 2010-03-26 14:02 mmintrin.h -rw-r--r-- 1 root root 1763 2010-03-26 14:02 mm_malloc.h -rw-r--r-- 1 root root 1379 2010-03-26 14:02 nmmintrin.h -rw-r--r-- 1 root root 3622 2010-03-26 18:35 omp.h -rw-r--r-- 1 root root 4272 2010-03-26 14:02 pmmintrin.h -rw-r--r-- 1 root root 24036 2010-03-26 14:02 smmintrin.h -rw-r--r-- 1 root root 4203 2010-03-26 14:02 stdarg.h -rw-r--r-- 1 root root 1451 2010-03-26 14:02 stdbool.h -rw-r--r-- 1 root root 12542 2010-03-26 14:02 stddef.h -rw-r--r-- 1 root root 6001 2010-03-26 14:02 stdfix.h -rw-r--r-- 1 root root 8222 2010-03-26 14:02 tmmintrin.h -rw-r--r-- 1 root root 10246 2010-03-26 14:02 unwind.h -rw-r--r-- 1 root root 139 2010-03-26 14:02 varargs.h -rw-r--r-- 1 root root 4359 2010-03-26 14:02 wmmintrin.h -rw-r--r-- 1 root root 1693 2010-03-26 14:02 x86intrin.h -rw-r--r-- 1 root root 41731 2010-03-26 14:02 xmmintrin.h
Where can I take a look at the header files for these standard c++ libraries?
due diligence: I found a similar thread ( /forum/linux-programming-scripting/59600-location-standard-library-files.html ). but it led me only to the directory mentioned above, where I couldn't find what I was looking for.
- 07-21-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Look in /usr/include/c++/4.4.0
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 07-22-2010 #3Just Joined!
- Join Date
- May 2009
- Posts
- 1
cd /usr/include
find . -name "iostream"


Reply With Quote