public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Installing Cygwin C and C++ compilers for NetBeans IDE 7.2
@ 2012-07-28 13:06 nososo
  2012-07-28 13:58 ` David Sastre Medina
  2012-07-29  7:48 ` Csaba Raduly
  0 siblings, 2 replies; 3+ messages in thread
From: nososo @ 2012-07-28 13:06 UTC (permalink / raw)
  To: cygwin


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Installing Cygwin C and C++ compilers for NetBeans IDE 7.2
  2012-07-28 13:06 Installing Cygwin C and C++ compilers for NetBeans IDE 7.2 nososo
@ 2012-07-28 13:58 ` David Sastre Medina
  2012-07-29  7:48 ` Csaba Raduly
  1 sibling, 0 replies; 3+ messages in thread
From: David Sastre Medina @ 2012-07-28 13:58 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 496 bytes --]

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 230 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Installing Cygwin C and C++ compilers for NetBeans IDE 7.2
  2012-07-28 13:06 Installing Cygwin C and C++ compilers for NetBeans IDE 7.2 nososo
  2012-07-28 13:58 ` David Sastre Medina
@ 2012-07-29  7:48 ` Csaba Raduly
  1 sibling, 0 replies; 3+ messages in thread
From: Csaba Raduly @ 2012-07-29  7:48 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-29  7:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-28 13:06 Installing Cygwin C and C++ compilers for NetBeans IDE 7.2 nososo
2012-07-28 13:58 ` David Sastre Medina
2012-07-29  7:48 ` Csaba Raduly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).