LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-27-2005, 05:01 PM   #1
stealthgate
Member
 
Registered: Apr 2005
Location: Rochester, NY USA
Posts: 31

Rep: Reputation: 15
unable to compile .exe files under KDevelop


I've tried to compile a win32 console program and it won't go. It simply says it can't compile the executable. I can, however, compile linux console and gui programs fine. Is there a patch I need or anything like that?

I'm looking to boot windows for good, and this is the last reservation I have (besides games . Any help with this would be awesome.
 
Old 08-27-2005, 07:30 PM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
AFAIK, there's no way to compile windows executables in linux short of vmware (or some other virtualizer). The c/c++ compiler for linux compiles programs that will run under linux.

So the only ways I can see you compiling win32 programs:

1. Boot into windows.
2. Run vmware and use that to compile windows programs.
 
Old 09-16-2005, 05:34 PM   #3
Tusk
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Rep: Reputation: 0
Actually you can build win32 programs on a linux platform..

All you need is a cross compiler, which can be build using MinGW sources.

Check out --> http://www.mingw.org/MinGWiki/index.php/BuildMingwCross
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to compile source files Hallowedpoint Linux - Newbie 6 11-19-2005 08:02 AM
kdevelop unable to recognize headers wasaabi4784 Programming 2 08-16-2005 06:12 PM
kdevelop compile problems Phalloides Linux - Software 0 01-22-2005 09:04 AM
Is it possible to compile a windows .exe program using g++? fuzzyworm Programming 5 02-05-2004 04:55 PM
Can I compile a windows .exe? odious1 Linux - Software 6 08-29-2003 11:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:16 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration