View Full Version : c and linux
09-24-2009, 02:40 PM
hi,i made a program for address diary in C sometime back..now i am learning linux and i want to know,is there any way i can convert my c code into linux ? is that possible and how should i proceed..i have to do the same address diary thing in linux..please help ...
09-24-2009, 03:00 PM
Recompile the source code using gcc on your Linux machine. I believe most Linux distros come with it, but if not, go here (http://gcc.gnu.org/).
09-24-2009, 03:30 PM
If your program is a console application, it should be as simple as recompiling as Shane said. If you don't have gcc, if your distro has a package manager, it will probably be in there.
09-25-2009, 03:23 PM
As long as you didn't utilize any Windows API or other various packages such as sockets that differ between Windows and Unix/Linux then you should be fine.
09-26-2009, 07:39 AM
thanx... i think this will do gr9 fr me
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.