Being in Window Program for Linux
Being in Window Program for Linux
Is there any tool by help of which i can use power of all Linux Libraries for C/C++ using windows environment , and run this program in Linux.
Allah Is The Only Source Of Help.
-
- Havaldaar
- Posts: 141
- Joined: Wed Apr 07, 2004 12:58 am
- Location: Karachi, Pakistan
Hi, janjee!
i dont think that you can use linux (specific) libraries for C/C++ in windows environment. But you can use C/C++ compilers under windows. there is a gcc port available for windows.
you can download it from, http://sourceforge.net/projects/mingw/
HTH,
Hameed Khan.
i dont think that you can use linux (specific) libraries for C/C++ in windows environment. But you can use C/C++ compilers under windows. there is a gcc port available for windows.
you can download it from, http://sourceforge.net/projects/mingw/
HTH,
Hameed Khan.
Thanks,
Hameed U. Khan
Linux User #: 354374
Hameed U. Khan
Linux User #: 354374
Cygwin gives you a good degree of compatibility with Linux applications that you want to run on Windows. There are some things, like signals etc. that just don't work the same in the windows environment.
In order to use Cygwin, you have to recompile your application. If you are looking for binary compatibility, this is not the solution. If you want to write code that is portable across Linux and Windows, i.e. may compile and run in both environments, this may work.
Windowing / GUI stuff is another whole issue. I've heard good things about Qt.
In order to use Cygwin, you have to recompile your application. If you are looking for binary compatibility, this is not the solution. If you want to write code that is portable across Linux and Windows, i.e. may compile and run in both environments, this may work.
Windowing / GUI stuff is another whole issue. I've heard good things about Qt.
RE:Being in Window Program for Linux
Assalam o Alaikum
Dear JanJee,
If your concern is about the Standard C/C++ libraries (for Linux) to be useful in Windows as well, then you are at luck. Both Cygwin and Mingw enable you to use standard C/C++ libraries (for Linux) under Windows.
But you might like a better choice i.e. you may want to do all the pretty work of programming under Windows environment in a nice to use IDE, which gives you access to all the libraries documentation, compilers, debugger, and features like auto-completion of types and functions, syntax high lighting, project management etc., but all in all use the libraries in Windows you have in Linux.
Dev-C++ http://www.bloodshed.net/dev/devcpp.html is the solution, and uses Mingw. Dev-C++ comes with compiler, libraries (all the Standard C/C++ libraries you know under Linux and more others for GUI and 3D graphics programming for example GTK+, FLTK, OpenGL, Win32 APIs, DirectX), debugger, documentation. More packages can be downloaded using its update tool.
You have to write a single source code under Windows in Dev-C++ and compile and run as Windows executable, then rebooting, make a few changes in the source and compile under Linux to have a Linux ELF executable and vice versa. Similarly for dlls and .so shared libraries.
GUI applications development under Linux can be done using GTK+ (C library) http://www.gtk.org and Gtkmm (C++ library) http://www.gtkmm.org , with Anjuta IDE http://www.anjuta.org and Glade http://glade.gnome.org as RAD tool for ease of development.
Fortunately both GTK+ and Gtkmm are also available for Windows platform. You can use them with Dev-C++. Glade is also ported to Windows and comes with Dev-C++ tools. For their complete and error-fee installation read http://www.gtkmm.org/docs/gtkmm-2.4/doc ... l/ape.html and read the Gtkmm official documentation accompanied by a book for Gtkmm programming and for GTK+ programming download the book http://developer.gnome.org/doc/GGAD/GGAD.tar.gz .
Enjoy portability.
Sincerely,
Kashif Masood
masumails@yahoo.com
Dear JanJee,
If your concern is about the Standard C/C++ libraries (for Linux) to be useful in Windows as well, then you are at luck. Both Cygwin and Mingw enable you to use standard C/C++ libraries (for Linux) under Windows.
But you might like a better choice i.e. you may want to do all the pretty work of programming under Windows environment in a nice to use IDE, which gives you access to all the libraries documentation, compilers, debugger, and features like auto-completion of types and functions, syntax high lighting, project management etc., but all in all use the libraries in Windows you have in Linux.
Dev-C++ http://www.bloodshed.net/dev/devcpp.html is the solution, and uses Mingw. Dev-C++ comes with compiler, libraries (all the Standard C/C++ libraries you know under Linux and more others for GUI and 3D graphics programming for example GTK+, FLTK, OpenGL, Win32 APIs, DirectX), debugger, documentation. More packages can be downloaded using its update tool.
You have to write a single source code under Windows in Dev-C++ and compile and run as Windows executable, then rebooting, make a few changes in the source and compile under Linux to have a Linux ELF executable and vice versa. Similarly for dlls and .so shared libraries.
GUI applications development under Linux can be done using GTK+ (C library) http://www.gtk.org and Gtkmm (C++ library) http://www.gtkmm.org , with Anjuta IDE http://www.anjuta.org and Glade http://glade.gnome.org as RAD tool for ease of development.
Fortunately both GTK+ and Gtkmm are also available for Windows platform. You can use them with Dev-C++. Glade is also ported to Windows and comes with Dev-C++ tools. For their complete and error-fee installation read http://www.gtkmm.org/docs/gtkmm-2.4/doc ... l/ape.html and read the Gtkmm official documentation accompanied by a book for Gtkmm programming and for GTK+ programming download the book http://developer.gnome.org/doc/GGAD/GGAD.tar.gz .
Enjoy portability.
Sincerely,
Kashif Masood
masumails@yahoo.com
Magic C++
Hi!
If you want to do developement for linux from windows plateform, the best choice i think is Magic C++, just install its server application on Linux and client application on windows, that is nerarly same as Visual C++, and do your developement on client, when you compile, the code will be compiled on server side.
Its great, and available on internet, if you like it and want a registered version, just contact me, I have contributed in the programming of Magic C++ and i can provide you registration key.
If you want to do developement for linux from windows plateform, the best choice i think is Magic C++, just install its server application on Linux and client application on windows, that is nerarly same as Visual C++, and do your developement on client, when you compile, the code will be compiled on server side.
Its great, and available on internet, if you like it and want a registered version, just contact me, I have contributed in the programming of Magic C++ and i can provide you registration key.
Praise the sea, But stay on Land
-
- Cadet
- Posts: 4
- Joined: Fri Jul 22, 2005 4:41 pm
Free Anonymous proxy list download: http://www.checkproxy.net