Netbeans compiler C/C++
People,
Before beginning, I installed Netbeans 6.1 beta version portuguese.
Check before installing if there is this compilers on your machine.
- Cygwin 1.5.21
- Cygwin gcc-core (C compiler) 3.4.x
- Cygwin gcc-c++ (C++ compiler) 3.4.x
- Cygwin gdb (GNU Debugger) 6.5.50
- Cygwin make 3.80

Se por acaso, não existir os compiladores abaixe nesse site : http://cygwin.com/

- Download the Cygwin setup.exe program by clicking the Install or Update Now! icon in the middle of the page.
- Run the setup.exe program. Accept the defaults until you reach the Select Your Internet Connection page. Select the option on this page that is best for you. Click Next.
- On the Choose Download Site page, choose a download site you think might be relatively close to you. Click Next.
- On the Select Packages page you select the packages to download. Click the + next to Devel to expand the development tools category. You may want to resize the window so you can see more of it at one time.
- Select each package you want to download by clicking the Skip label next to it. At a minimum, select gcc-core: C compiler, gcc-g++: C++ compiler, gdb: The GNU Debugger, and make: the GNU version of the 'make' utility.
-
Now add the Compiler directory to your path:
- Open the Control Panel (Start > Settings > Control Panel) and double-click the System program.
- Select the Advanced tab and click Environment Variables.
- In the System Variables panel of the Environment Variables dialog, select the Path variable and click Edit.
- Add the path to the cygwin-directory\bin directory to the Path variable, and click OK. By default, cygwin-directory is C:\cygwin\bin. Directory names must be separated with a semicolon.
- Click OK in the Environment Variables dialog and the System Properties dialog.

sir
how to install c/c++ compiler and where will i dowload the compiler package for windows operating system
please help me
Posted by jayaraj on Julho 24, 2008 at 03:17 PM BRT #
I have a little question.
would you mind to tell me how can i add the "cygwin" compiler to the final version of NetBeans 6.1.
-- I modified the variable [Environment variable] Path and I set
C:\cygwin;C:\cygwin\bin
and did not work.
Then I tried to put the compiler into the netbeans-->tools-->options-->C/C++ folder.
I tried to add the compiler but I didn't understand how to do it.
Would you mind to help me?
Thanks a lot.
Bye
Posted by Pavel on Setembro 25, 2008 at 06:18 AM BRT #
thank you
Posted by 203.111.235.14 on Novembro 16, 2008 at 08:52 AM BRST #
ty
Posted by 203.111.235.14 on Novembro 16, 2008 at 08:53 AM BRST #
I followed every thing in the document but still have compiler error when trying to build my first c application with main file
rm -f build/Debug/Cygwin-Windows/newmain1.o.d
gcc.exe -c -g -MMD -MP -MF build/Debug/Cygwin-Windows/newmain1.o.d -o build/Debug/Cygwin-Windows/newmain1.o newmain1.c
gcc: installation problem, cannot exec `as': No such file or directory
make[2]: *** [build/Debug/Cygwin-Windows/newmain1.o] Error 1
make[2]: Leaving directory `/cygdrive/c/Documents and Settings/enas.qawasmi/My Documents/NetBeansProjects/Application_1'
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory `/cygdrive/c/Documents and Settings/enas.qawasmi/My Documents/NetBeansProjects/Application_1'
make: *** [.build-impl] Error 2
Build failed. Exit value 2.
Posted by Enas on Fevereiro 18, 2009 at 12:02 PM BRT #