Open GoogleCodeExporter opened 9 years ago
Here's a list of the standard include directories for g++: (in this order)
C:\android-ndk-r6\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/include/c++/4.4.3
C:\android-ndk-r6\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/include/c++/4.4.3/arm-linux-androideabi
C:\android-ndk-r6\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/include/c++/4.4.3/backward
C:\android-ndk-r6\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\../lib/gcc/arm-linux-androideabi/4.4.3/include
C:\android-ndk-r6\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed
C:\android-ndk-r6\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/include
c:/android-ndk-r6/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/lib/gcc/../../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/include/c++/4.4.3
c:/android-ndk-r6/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/lib/gcc/../../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/include/c++/4.4.3/arm-linux-androideabi
c:/android-ndk-r6/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/lib/gcc/../../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/include/c++/4.4.3/backward
/tmp/ndk-digit/build/install/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/sysroot/tmp/ndk-digit/build/install/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/lib/gcc/arm-linux-androideabi/4.4.3/../../../../include
c:/android-ndk-r6/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/lib/gcc/../../lib/gcc/arm-linux-androideabi/4.4.3/include
c:/android-ndk-r6/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/lib/gcc/../../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed
c:/android-ndk-r6/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/lib/gcc/../../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/include
/tmp/ndk-digit/build/install/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/sysroot/usr/include
Original comment by timothy...@msn.com
on 3 Aug 2011 at 9:20
The first six directories are affected by -iprefix
"C:\android-ndk-r6\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\.
./lib/gcc/arm-linux-androideabi/4.4.3/", automatically passed to cc1plus.
Original comment by timothy...@msn.com
on 3 Aug 2011 at 10:01
Original comment by gavin.dj.pugh
on 4 Aug 2011 at 4:56
Original comment by gavin.dj.pugh
on 21 Feb 2012 at 11:46
Timothy, sorry but, what does that comment mean? #2. are you saying that we
need to set our include path to that?
Original comment by laserbea...@gmail.com
on 29 Feb 2012 at 5:51
laserbea, it's just informational. I'm saying that if you wish to add the
standard include directories to IntelliSense to match g++'s behavior, you might
want to know that they're affected by the optional -iprefix argument passed to
g++ (which, in turn, is passed to cc1plus). Most users don't pass it, though.
Original comment by timothy...@msn.com
on 20 Apr 2012 at 4:26
Original comment by gavin.dj.pugh
on 25 Jul 2012 at 2:06
Timothy, how is "-iprefix" affecting anything? It seems as merely a command
line convenience option.
Original comment by ilya.kon...@gmail.com
on 21 Nov 2014 at 6:51
I didn't mean passing -iprefix would fix IntelliSense. I was trying to say that
the include directories g++ uses change if you use -iprefix.
Anyway, it's been a long time since I posted that stuff, so I don't know if
it's even accurate anymore.
Original comment by timothy...@msn.com
on 21 Nov 2014 at 9:54
-iprefix only affects uses of -iwithprefix. Since we never use -iwithprefix,
why do we need to care about -iprefix?
Original comment by ilya.kon...@gmail.com
on 21 Nov 2014 at 10:10
Original issue reported on code.google.com by
timothy...@msn.com
on 3 Aug 2011 at 8:02