Discussion:
Netbeans 6.9 and TDM-GCC.
mjordan
2010-06-18 23:04:24 UTC
Permalink
Hello. I have read the "Configuring the NetBeans IDE for C/C++/Fortran" trail in the C++ section of the Netbeans website. The article states the tested versions of the MingW toolkit are:
GCC/G++ 3.4.5
GDB 6.8
Make 3.79.1

but I see Netbeans 6.9 has a "MingW-TDM" profile in the MingW configuration. As we all know, TDM-MINGW ship more recent compiler versions and debuggers. I have tried to install the recent TDM-GCC version 4.5 (including gdb 7.1) and it is recognized by Netbeans as a valid set of compilers / debugger. The problem is Netbeans doesn't find standard C++ headers while compiling a simple C++ hello world program (for example it doesn't find stddef.h).

So, what's the problem? Is TDM-GCC really supported or not? Thank you for any answer you can give me and congratulation for the incredible work behing Netbeans.
Valeriy Soldatov
2010-06-19 09:52:45 UTC
Permalink
Post by mjordan
but I see Netbeans 6.9 has a "MingW-TDM" profile in the MingW configuration. As we all know, TDM-MINGW ship more recent compiler versions and debuggers. I have tried to install the recent TDM-GCC version 4.5 (including gdb 7.1) and it is recognized by Netbeans as a valid set of compilers / debugger. The problem is Netbeans doesn't find standard C++ headers while compiling a simple C++ hello world program (for example it doesn't find stddef.h).
1) NetBeans is tested with GCC 4.4, but I don't think it has some
problems with GCC4.5
2) If you reinstalled GCC compiler, then Code Assistance will be broken.
You need push Tools|Options menu item, click on C/C++ icon, select "Code
Assistance" tab, select your tool collection and press "Reset Settings"
button. After this you need reparse projects.
Post by mjordan
So, what's the problem? Is TDM-GCC really supported or not? Thank you for any answer you can give me and congratulation for the incredible work behing Netbeans.
mjordan
2010-06-19 19:26:20 UTC
Permalink
Post by Valeriy Soldatov
Post by mjordan
but I see Netbeans 6.9 has a "MingW-TDM" profile in the MingW configuration. As we all know, TDM-MINGW ship more recent compiler versions and debuggers. I have tried to install the recent TDM-GCC version 4.5 (including gdb 7.1) and it is recognized by Netbeans as a valid set of compilers / debugger. The problem is Netbeans doesn't find standard C++ headers while compiling a simple C++ hello world program (for example it doesn't find stddef.h).
1) NetBeans is tested with GCC 4.4, but I don't think it has some
problems with GCC4.5
2) If you reinstalled GCC compiler, then Code Assistance will be broken.
You need push Tools|Options menu item, click on C/C++ icon, select "Code
Assistance" tab, select your tool collection and press "Reset Settings"
button. After this you need reparse projects.
Post by mjordan
So, what's the problem? Is TDM-GCC really supported or not? Thank you for any answer you can give me and congratulation for the incredible work behing Netbeans.
I didn't know that. Thank you very much. I will try your suggestion.
Loading...