Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

lynkynpark86

macrumors 6502
Original poster
Is there a way to compile g++ through a website (like the RAR extractors online)? I don;t have an admin password, and therefore can't install g++ or Xcode, and running downloaded g++ from the desktop has many errors, and can't find the imported files (stdio.h). I found a site that compiles Java online (http://www.innovation.ch/java/java_compile.html), but it only works with java, of course. Anyone know if these exist?
 

jiminaus

macrumors 65816
Dec 16, 2010
1,449
1
Sydney
I don't think this would exist.

An online Java compiler can be created because compiling Java on one platform results in class files that will work any platform with a Java runtime environment.

It's not the same for C++. Compiling C++ source code produces object code for a particular platform.

So not only would you need an online C++ compiler, you would also need an online C++ compiler that produces Mac OS X executables. Why would anyone bother to create such a website?
 

Mac_Max

macrumors 6502
Mar 8, 2004
404
1
You could setup a virtual machine with a VNC server built in (i.e. Virtual box) and with the proper router settings, remote into it.
 

Mac_Max

macrumors 6502
Mar 8, 2004
404
1
I assume you mean connect on a machine you don't have admin privileges on? Yes, either by using the built in VNC facilities in OS X (go to Go Menu->Connect to Server...) and type in (sans quotes) "vnc://<IPAddress>:<portnumber>". The port number is optional if you use the default one for VNC. Otherwise, if VNC is disabled on that Mac, you can try TightVNC's Java based VNC viewer. Just extract it to a keydrive and run it from there so that your sys admin isn't too cross with you ;).

http://www.tightvnc.com/
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.