How can i do unix c programs in turbo c editor in windows

Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
Reply

Join Date: Feb 2006
Posts: 18
Reputation: harrypotter is an unknown quantity at this point 
Solved Threads: 1
harrypotter harrypotter is offline Offline
Newbie Poster

How can i do unix c programs in turbo c editor in windows

 
0
  #1
Mar 14th, 2006
Please tell me how to do unix system programming in C in windows.

Is there any c editor which contains all header files required for unix system programming in windows?

Please tell me.
There is a problem in installing linux in my system. but there is a need for me to execute those programs.

so suggest any editor in which i can execute those programs like using fork(), exec() etc.....


Thank You
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,600
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 712
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: How can i do unix c programs in turbo c editor in windows

 
0
  #2
Mar 14th, 2006
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 233
Reputation: Lord Soth is an unknown quantity at this point 
Solved Threads: 4
Lord Soth's Avatar
Lord Soth Lord Soth is offline Offline
Posting Whiz in Training

Re: How can i do unix c programs in turbo c editor in windows

 
0
  #3
Mar 18th, 2006
Hi,

http://www.Mingw.org Download MinGW Developper Studio for no hassle linux development on Windows.

Loren Soth
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,600
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 712
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: How can i do unix c programs in turbo c editor in windows

 
0
  #4
Mar 18th, 2006
>Download MinGW Developper Studio for no hassle linux development on Windows.
MinGW only supports what the Windows API supports, and that excludes fork (which was explicitly mentioned by the OP) and many other POSIX features. Cygwin is a POSIX emulator that sits on top of Windows, and is far more faithful to POSIX without forcing you to use Windows alternatives.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 233
Reputation: Lord Soth is an unknown quantity at this point 
Solved Threads: 4
Lord Soth's Avatar
Lord Soth Lord Soth is offline Offline
Posting Whiz in Training

Re: How can i do unix c programs in turbo c editor in windows

 
0
  #5
Mar 18th, 2006
Hi,

MinGW do support fork with a self hosting patch (check this post about the subject http://www.computing.net/programming...orum/1041.html) and -ufork switch on gcc without using cygwin. Yet you can also use cygwin from within MinGW if you think it is worth the trouble. Mean while MinGW's main advantage is the independence of Cygwin runtime (cygwin1.dll and other things installer install) and the presence of the Visual IDE called MinGW Dev. Studio.
I have two more recomendations for this subject. One is the use of Dev-C++ Visual IDE which cames with MinGW and a great modular package system (you must give it a try); and if you don't like to mess with all those emulation layers and ports just install Microsoft VirtualPC or VMWare and install/use a Linux from within your Windows. (Just like they use WINE for the same thing from within Linux.)

Loren Soth
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Computer Science Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC