Help with downloading cygwin for running c programmes on windows?
?
2015-02-27 13:46:31 UTC
I am not sure what packages to download. I want all the basic libraries such as stdio.h, math.h etc. Can someone tell me the names of all the ones I need to download since I dont wanna download any extra ones. There are sooo many and I am really confused!
thanks
Five answers:
_Object
2015-02-27 15:53:04 UTC
"for running c programmes"
You mean _compiling_ C programs.
The C standard library will come (built-in) with the default GCC under Cygwin. You don't really need to install anything other than that, although a decent text editor, make, valgrind, gdb, gprof, etc. could be helpful.
You can find everything under `devel', (I think), and obviously under `editors' if you're looking for a text-editor.
It's been a while since I've had to use Windows (and therefore, Cygwin).
John
2015-02-27 15:09:43 UTC
I will take you at your word. Cygwin is a perfectly fine decision. It is an environment that allows sensible programming inside a windows machine. You should download the whole Cygwin bundle, and not a few bits of it.
>
> John (gnujohn)
mmarrero
2015-02-27 14:32:35 UTC
Cygwin? Why?? If you really need to create Linux-compatible executables, why not install a Linux distro in a virtual machine (HyperV, VirtualBox, VMWare, etc.) which can also use decent IDEs? After managing to install the local tools/integration software it will run at most only 10 to 20% slower.
Chris
2015-02-27 14:12:48 UTC
Forget cygwin, just get CodeBlocks. It's a free IDE prepackaged with everything you need.
http://www.codeblocks.org/
Andy T
2015-02-28 18:19:16 UTC
I would go as low as Turbo C++ for this, of course it isn't "free" so well...
The aforementioned studio and math .h are minimum standards; I don't think you have to worry about those just now.
I do recall ansi.h is not a standard library. But C/C++ is so simple a running platform you just ignore all those header headaches until you need to solve them.
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.