Windos/Cygwin
-
Does someone nows something about how to run a program in Cygwin? I need to study a program, but i can run it only from cygwin.
AFAIK Cygwin is a Unix-like env where you can run standard windows executables. What is you doubt about?:confused:
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
-
AFAIK Cygwin is a Unix-like env where you can run standard windows executables. What is you doubt about?:confused:
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
-
I dont know how to run it. I have c files and headers and i dont know how to compile and make executable files.
Well, if you have the development tools installed, then you can use
gcc
(org++
for c++ projects) to create the executable for simple projects. If the project is complex, probably you have to create a makefile. AFAIK there are also some IDE's that can be used with Cygwin, for instance DEV-C++ [^]. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
-
Well, if you have the development tools installed, then you can use
gcc
(org++
for c++ projects) to create the executable for simple projects. If the project is complex, probably you have to create a makefile. AFAIK there are also some IDE's that can be used with Cygwin, for instance DEV-C++ [^]. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
-
I dont know how to run it. I have c files and headers and i dont know how to compile and make executable files.
There should be an existing makefile ( "makefile" ) or even better, a configure thingy somewhere. if there is a makefile, just type
make
in the directory where the makefile resides. if there is a configure thingy, just typeconfigure
in the directory where the configure is.
Maximilien Lincourt Your Head A Splode - Strong Bad
-
Unfortunately I have a complex project:( and I dont know how to start. Is there a chance to make my program work only under windows?
-
There should be an existing makefile ( "makefile" ) or even better, a configure thingy somewhere. if there is a makefile, just type
make
in the directory where the makefile resides. if there is a configure thingy, just typeconfigure
in the directory where the configure is.
Maximilien Lincourt Your Head A Splode - Strong Bad
This program has many subfolders and I found a makefile.in in the folder, but there are a lot of makefile.in in others subfolders too. And in the folder Include, who contains the header files I found a config.h.in and a Makefile.common.in
-
This program has many subfolders and I found a makefile.in in the folder, but there are a lot of makefile.in in others subfolders too. And in the folder Include, who contains the header files I found a config.h.in and a Makefile.common.in
There should be a README (or some other file that explain how to build that ) file somewhere that you can read to help you. or maybe, if memory serves me well, you could do a "
make makefile
" where there is a makefile.in; and it should generate the makefiles for the project.
Maximilien Lincourt Your Head A Splode - Strong Bad
-
This program has many subfolders and I found a makefile.in in the folder, but there are a lot of makefile.in in others subfolders too. And in the folder Include, who contains the header files I found a config.h.in and a Makefile.common.in
-
There should be a script called "configure" in the source directory, and running it creates the Makefile.
-
Does someone nows something about how to run a program in Cygwin? I need to study a program, but i can run it only from cygwin.
You could try compiling under windows, just select WIN32 Console application, add all your c files to the project, and compile. It may work of the program has no unix specific calls. If not, you need to install the GCC compiler. Google cygwin to get the files.