> -----Original Message----- > From: cygwin-owner On Behalf Of Chris Jefferson > Sent: 15 April 2004 19:32
> $ echo "#include <stddef.h>" | gcc -mno-cygwin -E - > # 1 "/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include/stddef.h" 1 3 4 > So I'm picking up i686-pc-cygwin > > But... > > $ gcc -mno-cygwin -print-search-dirs > install: /usr/lib/gcc-lib/i686-pc-mingw32/3.3.1/ > programs: > =/usr/lib/gcc-lib/i686-pc-mingw32/3.3.1/:/usr/lib/gcc-lib/i686-pc-ming > w32/3.3.1/:/usr/lib/gcc-lib/i686-pc-mingw32/:/usr/lib/gcc/i686 > -pc-mingw32/3.3.1/ > :/usr/lib/gcc/i686-pc-mingw32/:/usr/lib/gcc-lib/i686-pc-mingw3 > 2/3.3.1/../../../. > ./i686-pc-mingw32/bin/i686-pc-mingw32/3.3.1/:/usr/lib/gcc-lib/ > i686-pc-mingw32/3. > 3.1/../../../../i686-pc-mingw32/bin/ > libraries: > =/usr/lib/gcc-lib/i686-pc-mingw32/3.3.1/:/usr/lib/gcc/i686-pc-mingw32 > /3.3.1/:/usr/lib/gcc-lib/i686-pc-mingw32/3.3.1/../../../../i68 > 6-pc-mingw32/lib/i > 686-pc-mingw32/3.3.1/:/usr/lib/gcc-lib/i686-pc-mingw32/3.3.1/. > ./../../../i686-pc > -mingw32/lib/:/usr/lib/gcc-lib/i686-pc-mingw32/3.3.1/../../../ > i686-pc-mingw32/3. > 3.1/:/usr/lib/gcc-lib/i686-pc-mingw32/3.3.1/../../../:/lib/i68 > 6-pc-mingw32/3.3.1 > /:/lib/:/usr/lib/i686-pc-mingw32/3.3.1/:/usr/lib/ > > I'm picking up mingw32 here.... strange! Not at all. There's no connection between the install:, programs: and libraries: search paths that you've displayed there and the include files search path which is set up by a separate mechanism, hence no surprise that the two don't agree. Indeed it would be *more* surprising if you saw cygwin in the output above, because that would mean *two* things had gone wrong instead of one. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/