Results 1 to 5 of 5
I want to write (in C) and compile a simple , command line, server app (using sockets).
The app is to be run on Linux.
What would be my best ...
- 07-27-2007 #1Just Joined!
- Join Date
- Jul 2007
- Posts
- 3
compile a Unix sockets app, in Windows (VC++)
I want to write (in C) and compile a simple , command line, server app (using sockets).
The app is to be run on Linux.
What would be my best route?
I've never coded for Unix.
Can i use VC++ on a windows PC to write and compile my Linux app?
Is it possible?
Is there any tips anyone can give me?
(maybe this is the totally wrong route to take?)
- 07-28-2007 #2Linux Enthusiast
- Join Date
- Aug 2006
- Posts
- 631
Hi,
First read a guide to network programming:
Beej's Guide to Network Programming
Regards
- 08-01-2007 #3Just Joined!
- Join Date
- Jul 2007
- Posts
- 3
i know about programming , my question was if i can compile on windows, code to be run on unix
- 08-01-2007 #4Linux Enthusiast
- Join Date
- Aug 2006
- Posts
- 631
Hi,
The answer is no, you can't run a windows exe file on Unix.
Regards
- 08-01-2007 #5Just Joined!
- Join Date
- Jul 2007
- Posts
- 3

my question, again, was if i can COMPILE ... a Unix executable on Windows... not run it on Windows...just compile it (to be run on a unix box)


Reply With Quote