Re: Installing Cygwin C and C++ compilers for NetBeans IDE 7.2

2012-07-29 Thread Csaba Raduly
Hi,

On Sat, Jul 28, 2012 at 3:06 PM, nososo  wrote:
 My question is : Which exact packages do i install using the Cygwin
 setup.exe installer so that i can create C  C++ projects using Netbeans IDE
 7.2? and what other steps do i have to take note to ensure complete
 successful installation? do i have to wait all the selected required
 packages to be installed?

No, you don't need to install all packages. At the very least, you will need

gcc4
gcc4-g++
binutils
make

You will probably need

gdb

You may need

autoconf
automake
libtool

You'll have to ensure that NetBeans can run Cygwin's gcc and/or make.
You can achieve this by putting C:\cygwin\bin into the Windows version
of PATH.

Hope this helps,
Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
Ok, it boots. Which means it must be bug-free and perfect.  -- Linus Torvalds
People disagree with me. I just ignore them. -- Linus Torvalds

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Installing Cygwin C and C++ compilers for NetBeans IDE 7.2

2012-07-28 Thread nososo

I am very new to Cygwin, C, C++ and NetBeans IDE 7.2. My PC is running
MICROSOFT WINDOWS 7 OS.

I have read the documentation on how to install the Cygwin C C++ compilers.

http://netbeans.org/community/releases/72/cpp-setup-instructions.html#compilers

I have tried to run Cygwin setup.exe that has the most recent version of the
Cygwin DLL is 1.7.16-1.

I am not very sure which exact package to install when the Cygwin setup.exe
installer prompted for the selection of packages to download and install. I
want to install the Cygwin C and C++ compilers so that i can create C and
C++ projects using NetBeans 7.2

I selected those packages that has contains the following names gcc, g++,
gdb and make. Then i proceed on to install the selected packages

The installation took up a long time so i stopped after about 45 minutes or
so.

I browsed the installation folder and i saw some packages i selected were
installed. I noticed that some packages came in some sort of zip file with
tar.gz extension.

i added the folder path into the PATH variable in the windows 7 environment
variables window.

I think this command works

C: cygcheck -c cygwin

but the rest doesn't work i think.

C: gcc --version

C: g++ --version

C: make --version

C: gdb --version

I tried to create the C C++ project using the Netbeans IDE 7.2 and the IDE
pops out a dialog message saying that there was no c c++ compilers found.

Have i made some mistake here? like installing the wrong packages or
something else???

Are there packages shown in the Cygwin setup.exe installer that contains
exact names and exact version that is compatible with NetBeans IDE 7.2??
This i am not too sure. Because i i think i didn't really see some required
packages with exact names and versions.

My question is : Which exact packages do i install using the Cygwin
setup.exe installer so that i can create C  C++ projects using Netbeans IDE
7.2? and what other steps do i have to take note to ensure complete
successful installation? do i have to wait all the selected required
packages to be installed?

I WOULD LIKE TO KNOW THE EXACT NAMES AND THE VERSIONS FOR THE REQUIRED
PACKAGES (NAMES AND VERSIONS DISPLAYED IN THE CYGWIN SETUP.EXE INSTALLER
WHEN PROMPTED) NEEEDED FOR C  C++ PROGRAMMING USING NETBEANS IDE 7.2??
-- 
View this message in context: 
http://old.nabble.com/Installing-Cygwin-C-and-C%2B%2B-compilers-for-NetBeans-IDE-7.2-tp34224256p34224256.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Installing Cygwin C and C++ compilers for NetBeans IDE 7.2

2012-07-28 Thread David Sastre Medina
On Sat, Jul 28, 2012 at 06:06:16AM -0700, nososo wrote:
 The installation took up a long time so i stopped after about 45 minutes or
 so.

I'd be surprised if something worked properly after having interrupted
the installation process. Try reinstalling, let the process end
its job this time, and after that, follow the guidelines described
here to report a problem:

http://cygwin.com/problems.html

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature