Is your program graphical ? Do you use MFC, ATL, straight Win32 functions ? What system components does the program rely on ? What does the program do ?
Porting a program to Linux can be easy, but in most cases, you'll have to do some serious work. Maybe an OK solution would be to try to run it on Wine (Windows interface to Linux functions, they hate it when you say it's a Windows emulator ).
Get this small utility to do basic syntax highlighting in vBulletin forums (like Codeguru) easily.
Supports C++ and VB out of the box, but can be configured for other languages.
I wanted to add some 2 cents here. Our firm has applicaitons that we support on both Windows and Linux/Unix. Whenever we write C/C++, we are always very careful about the API's that we used becuase of their portability to Linux, which, if you serve corporate clients, is just about getting to be essential. So, the bottom line is, if at all possible, plan ahead and your porting is mostly based on the API' that you use, becuase otherwise, in C++, we tend to rely on MFC and other MS API which is generally not portable. For that, WINE might be something to consider.
If the bulk of the port is the GUI I think you should consider rewriting the MFC GUI part of your program to wxWindows. An additional benefit would be that apart from Linux you also get many additional platforms like Mac 'for free'.
my program is graphic based using MFC, Win32 function on windows platform. It transfer the file from one end to other end.
I want to make it executable on the Linux platform with Kernel onlyi.e without XII.
wxWindows is a cross platform GUI API. Basically, it allows you to write GUI applications in a platform independent manner. You write your GUI code, targetting the wxWindows library, then you re-compile your code on all the platforms you wish to support.
If you don't want a GUI at all (i.e. you want to re-write your application as a console app), then you don't need wxWindows. All you need to do is remove all the MFC code from your app (well, basically).
I guess I don't understand your question. The Linux platform you're targetting doesn't have X installed? Or, do you not want to use X? Either way, you don't need wxWindows, if you do not want a GUI.