CFanatic

Go Back   CFanatic > General discussion > The Lounge


  #1  
Old 03-22-2010, 11:32 PM
inspiration inspiration is offline
Member
 
Join Date: Feb 2010
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
inspiration is on a distinguished road
| More
Lightbulb Question on compiler

I have a different kind of question. I was wondering if there is a compiler that will compile C/C++ programs that run on Windows and Unix/Linux?

Thanks,
Reply With Quote
  #2  
Old 03-22-2010, 11:33 PM
pankaj.sea pankaj.sea is offline
Senior Member
 
Join Date: Sep 2009
Location: Serampore
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
pankaj.sea is on a distinguished road
| More
Re: Question on compiler

I have never used the following product so I can't tell you anything about it:

http://www.mainsoft.com/products/mainwin.html
Reply With Quote
  #3  
Old 03-22-2010, 11:34 PM
meyup meyup is offline
Senior Member
 
Join Date: Feb 2010
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts
meyup is on a distinguished road
| More
Re: Question on compiler

The GNU compiler is available for both platforms. If you're asking whether you can compile a program on Windows and have it run on *nix, then no. The executable formats aren't compatible.*

* This isn't entirely true - you could get a cross compiler, but you'd still have to compile two different versions - one for Windows, one for *nix. You're better off just compiling on the intended platform.
Reply With Quote
  #4  
Old 03-22-2010, 11:35 PM
pankaj.sea pankaj.sea is offline
Senior Member
 
Join Date: Sep 2009
Location: Serampore
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
pankaj.sea is on a distinguished road
| More
Re: Question on compiler

Find GNU Compiler Here
http://www.gnu.org/software/gcc/gcc.html
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best C Compiler? meyup The Lounge 5 03-01-2010 09:14 PM
C Compiler for VISTA batman.pratik C Programming 3 07-31-2009 05:56 AM
Get BIOS String from C-C++ in vc7 Compiler doeg C Programming 1 01-21-2009 08:31 AM
c++ compiler hkp819 C++ Programming 1 01-17-2009 07:47 AM
can't use graphics.h! i need a compiler that have a BGI! comp_sci11 C Programming 1 12-26-2006 03:37 AM

 

Follow CFanatic on Twitter
CFanatic Search
Custom Search

Advertisement

Go4Expert's Job Board
Powered by

Go4Expert Newsletter
Enter your Name and Email Address below and Click Subscribe.

Subscriber Counter

Not planning to subscribe yet, browse Go4Expert's Newsletter Archive

All times are GMT -5. The time now is 05:21 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Looking for work in C, C++, C#? Sign up at Elance and search over 30,000 Freelancing jobs today.