LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 11-18-2001, 02:40 AM   #1
bkhashaee
LQ Newbie
 
Registered: Nov 2001
Location: iran
Distribution: email
Posts: 1

Rep: Reputation: 0
Unhappy moving linux application to windows


Hi,
I have a program that is written with C language program in Linux environment but I want to transfer it to Windows environment but I don't know how I must do that. This program is in Image processing field that include very various libraries.I will appreciate if somebody could help me.
Thank you.
Bahareh Khashaee.

Last edited by bkhashaee; 11-20-2001 at 04:39 AM.
 
Old 11-19-2001, 01:15 AM   #2
Thomas.P
LQ Newbie
 
Registered: May 2001
Posts: 7

Rep: Reputation: 0
To do this u have to ways :

1. u can use the gcc compiler for windows. u can get by searching(I forgot the URL). Now compile as u would in linux and run the exe.

2. Try porting the code to windows using the VC++ compiler. U can open it in VC++ and simply compile. I would recommend this option.
 
Old 11-19-2001, 01:08 PM   #3
Cyth
Member
 
Registered: Mar 2001
Location: Sweden, Lund
Distribution: Slackware
Posts: 68

Rep: Reputation: 15
Perhaps, it's not that easy.. What kind of program is it? Do you have any networking, multimedia or such? If it's only pure C/C++ then it's only to compile but if you are using any libraries.. there could be a problem.

/Cyth
 
Old 11-19-2001, 08:12 PM   #4
tyler_durden
Member
 
Registered: May 2001
Posts: 125

Rep: Reputation: 15
if it uses standard c++ libraries, you can just open it in visual c++ and compile it. if not, you may have some problems.

you can get a free c++ (will also compile c) compiler from www.borland.com.

again, if you do anything fancy ie networking, sys calls, ect, you will need to do some work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving from Windows to Linux dlublink Linux - Distributions 3 10-04-2005 09:44 AM
how i migrate windows application to Linux base application vandarakalpesh Linux - Software 0 06-26-2004 03:34 AM
Moving an office from windows to linux shijk Linux - Enterprise 4 05-26-2004 10:32 AM
moving files between windows and linux endezeichen Linux - Software 4 11-19-2003 02:39 AM
Moving contacts from Windows to Linux freezinbutt Linux - Newbie 6 03-28-2002 06:25 PM


All times are GMT -5. The time now is 02:50 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration