![]() |
| | #1 | |||
| C\C++ beginner Join Date: Nov 2007 Location: Somewhere nearby,Who Cares?
Posts: 385
| an online cross platform compiler?! i mean i need way to compile my codes on different platforms, without installing the targeted OS. e.g Mac, how am i supposed to to it rather than emulating the machine to work with Mac for example.!? it will be a great help, if an online compiler exists.!so that you feed the compiler by your source code and you will get what you want in a jiffy , without installing the oS.
__________________ Quote:
Quote:
Quote:
Bill Bryson Last edited by Masterx; 01-30-2009 at 09:21 PM. Reason: spell checking stuff | |||
| Masterx is offline | |
| | #2 | |
| Jack of many languages Join Date: Nov 2007 Location: Katy, Texas
Posts: 2,071
| Quote:
(I am now putting on flame retardant pants....)
__________________ Mac and Windows cross platform programmer. Ruby lover. | |
| Dino is offline | |
| | #3 | |||
| C\C++ beginner Join Date: Nov 2007 Location: Somewhere nearby,Who Cares?
Posts: 385
| sorry i didnt mention the language itself .! well its C++! i dont think java can help in this case!
__________________ Quote:
Quote:
Quote:
Bill Bryson | |||
| Masterx is offline | |
| | #4 |
| and the Hat of Guessing Join Date: Nov 2007
Posts: 8,841
| They make cross compilers, like say gcc. Somebody here was trying to set one up within the last couple weeks and you should be able to find the thread if you bother to look for it. |
| tabstop is offline | |
| | #5 |
| a newbie :p Join Date: Aug 2008 Location: indonesia
Posts: 76
| try googling "online compiler".... hope you find some...
__________________ from indonesia with love |
| auralius is offline | |
| | #6 |
| Registered User Join Date: May 2006
Posts: 158
| If you are looking for a portable compiler that will work on recent Windows machines, you could carry a usb stick with Msys + MinGW. It may only take around 150mb depending on what libraries you use. |
| glo is offline | |
| | #7 | |||
| C\C++ beginner Join Date: Nov 2007 Location: Somewhere nearby,Who Cares?
Posts: 385
| hey guys dont get me wrong! im not looking for a portable compiler! i already have one! im looking for a website that offers online compilers for diffrent platforms, so that one can visit the website and compile his codes as if he is on Mac Os X! so this will omit the need of installing the Os though! i ve googled it already, but i just found the C#s online compiler! not C++'s!.
__________________ Quote:
Quote:
Quote:
Bill Bryson | |||
| Masterx is offline | |
| | #8 |
| MENTAL DETECTOR Join Date: Apr 2006 Location: United States
Posts: 3,295
| I don't think compiling online will do the things that you want. You say you want to test your program on mac without installing it. Well, you would have to be realistic and use a virtual machine, or finding access to a mac, to do program testing. You can compile online, but you cannot link online. I've only seen Comeau's compiler even offer this anyway (and only as a try before you buy thing). Even in a perfect scenario, targeting a specific OS with an online compiler makes no sense.
__________________ <Niggawatts> Writing is both mechanical and organic <Niggawatts> It's like a cyborg dragon. <Niggawatts> Writing is like a cyborg dragon. |
| whiteflags is offline | |
| | #9 |
| Jack of many languages Join Date: Nov 2007 Location: Katy, Texas
Posts: 2,071
| Do what I did. Buy a Mac Pro ($5000 US) with 2GB ram and 500GB hard drive, add a new 1TB hard drive ($400), add install VMWare Fusion ($70), install XP and Vista (had licenses already) and any other operating systems you want, and then upgrade your core RAM to 10GB ($400) and you'll be good to go.
__________________ Mac and Windows cross platform programmer. Ruby lover. |
| Dino is offline | |
| | #10 | |||||
| C\C++ beginner Join Date: Nov 2007 Location: Somewhere nearby,Who Cares?
Posts: 385
| Quote:
thats just a really great feature that can be implemented really!., just think about that . and about simulating( or emulating!?) mac osx on Vmware e.g. i dont have a Mac! and im not going to buy one ( for 5000$ )just to test a crappy newbish project of mine ! Quote:
__________________ Quote:
Quote:
Quote:
Bill Bryson | |||||
| Masterx is offline | |
| | #11 | |
| MENTAL DETECTOR Join Date: Apr 2006 Location: United States
Posts: 3,295
| Quote:
Installing multiple OSes (rather than just installing them on a virtual machine) involves a dual-boot set up. You're going to want to cruise the internet for (several!) guides and sources of information before you make that leap. It's something that I am not comfortable writing about here. You don't have a willing friend who has a mac? He could do the build and beta test for you. Even if the other suggestions are too much effort to expend on this program, then you just need to write more portable C++. Consider abstracting away the mac specific bits to a more portable interface... implement that interface for your OS now; test; and write it again on a mac later; test again. Back again to online compiling, even if a web server compiles, links, and transfers the executable to you, the executable is written in the server's machine language, which is probably unhelpful. The server's OS probably isn't even a mac, and there are other factors toward compatibility with your computer, if it is. edit: your sig is frakking annoying. Could you make it so that it isn't one huge link? I click it accidentally, constantly.
__________________ <Niggawatts> Writing is both mechanical and organic <Niggawatts> It's like a cyborg dragon. <Niggawatts> Writing is like a cyborg dragon. Last edited by whiteflags; 01-31-2009 at 11:14 AM. | |
| whiteflags is offline | |
| | #12 |
| and the hat of sweating Join Date: Aug 2007 Location: Toronto, ON
Posts: 3,283
| I believe what he's asking is if there's a website with multiple platforms behind it like a Mac, Windows, Linux... and you just choose which architecture you want to build and it sends it to the appropriate machine to build it. BTW, if Windows can now run on a Mac, shouldn't Mac OS also be able to run on a PC? They're both using x86/x64 right? Also, I'm no compiler expert, but shouldn't it be possible to tell the compiler which architecture you want to build for and have it create the appropriate machine instructions for that platform?
__________________ "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008 "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010 |
| cpjust is offline | |
| | #13 | |||||
| C\C++ beginner Join Date: Nov 2007 Location: Somewhere nearby,Who Cares?
Posts: 385
| Quote:
i have a friend! but he doesn't know about programming! and i'm not always in touch with him! Quote:
i ve heard mac uses a different architecture rather thatn x86! if it was compatible with x86, what are those experts trying to make patch to make it run on a x86 PC) for?
__________________ Quote:
Quote:
Quote:
Bill Bryson | |||||
| Masterx is offline | |
| | #14 |
| MENTAL DETECTOR Join Date: Apr 2006 Location: United States
Posts: 3,295
| >> BTW, if Windows can now run on a Mac, shouldn't Mac OS also be able to run on a PC? >> They're both using x86/x64 right? I don't think it's 1:1. Well, there are windows SDKs for mac programs, specifically ones that are ported to windows (such as QuickTime, iTunes and insignificant others) if that is what you mean. Being a skeptic, (and dumb) I am unsure how this relates to an end result for mac machines. As your other question depends on this one I don't think anything I could say about that is meaningful.
__________________ <Niggawatts> Writing is both mechanical and organic <Niggawatts> It's like a cyborg dragon. <Niggawatts> Writing is like a cyborg dragon. Last edited by whiteflags; 01-31-2009 at 02:02 PM. |
| whiteflags is offline | |
| | #15 | |
| The Right Honourable Join Date: Mar 2004 Location: Where circles begin.
Posts: 1,068
| Quote:
__________________ Memorial University of Newfoundland Computer Science Mac and OpenGL evangelist. | |
| psychopath is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cross platform multithreading | Bargi | C Programming | 7 | 10-19-2008 07:26 AM |
| Cross platform portability, about data types... | gaah | C++ Programming | 9 | 01-21-2005 10:32 PM |
| OpenScript2.0 Compiler | jverkoey | C++ Programming | 3 | 10-30-2003 01:52 PM |
| Problem building Quake source | Silvercord | Game Programming | 14 | 01-25-2003 10:01 PM |
| cross compiler | cozman | Linux Programming | 2 | 08-10-2001 09:28 PM |