|
From: David W. H. \(Cyclops\) <dw...@bl...> - 2004-03-26 05:05:25
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ok, I know I just snipped off your whole list of replies but it was getting a bit long... As far as I understand what you're asking - you want to know how to make Dev C++ use the new header files associated with GCC v3.3.1 right? In Dev-C++ go to "Tools" then "Compiler Options" then "C++ Includes" There you'll see a list of where Dev-C++ looks for its include files. When you download an updated version of GCC, if you look you'll find that the tar.gz file has a directory tree like this: bin/ include/ include/c++ include/c++/3.3.1 include/c++/3.3.1/backward include/c++/3.3.1/bits include/c++/3.3.1/ext include/c++/3.3.1/mingw32 include/c++/3.3.1/mingw32/bits lib/ man/ man/man1 You'll see this is VERY similar to how Dev-C++ is organized. In fact, if you decompress the tar.gz file of GCC v3.3.1 over Dev-C++'s directory structure, you'll find that all you need to do to make things work is the following: Add the above directories to your includes list (above the default ones so it looks there first): include/c++/3.3.1 include/c++/3.3.1/backward include/c++/3.3.1/mingw32 This will make Dev-C++ look in the NEW directories for include files first (thus using new versions, if any) and if it can't find them there, it'll default to the older ones. Now, change to "Binaries" list of directories and add the following: lib/gcc-lib/mingw32/3.3.3 Right above the similar entries (probably lib/gcc-lib/mingw32/3.2 or lib/gcc-lib/mingw32/3.1). Once more, don't remove the old entry incase it can't find something it'll have default to look into. I found some of the C includes not with the G++ tar.gz file but with the GCC Core download, in which they were in: lib\gcc-lib\mingw32\3.3.1\include I would assume that if you felt you needed them, you could add this directory to to "C Includes" then you'd need to add the entry: lib/gcc-lib/mingw32/3.3.1/include Right above the one: include/ I hope that helps. -----BEGIN PGP SIGNATURE----- Version: PGP 8.0.3 iQA/AwUBQGO53Gz8H+FYJEQ7EQIPqgCg/EIzBUMa83uKXVPU0aXTOYXVZ80AoKVs 2vczeMH04hjNfKFIJlsAhVlo =do1g -----END PGP SIGNATURE----- |