I’ve searched the internet for this but couldn’t find anything useable, I was just wondering if there exists a C/C++ project similar to portablepython?
EDIT
I guess the question becomes: is there a portable C/C++ compiler I can stick onto a usb key?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Python is an interpreter that can run “scripts” (
.pyfiles). Therefore portablepython makes sense – if you don’t want to install Python everywhere, but still want to run the small Python files. This helps if the target PC doesn’t have Python installed (or you can’t even do it because of privileges).For C/C++ this doesn’t make much sense as these are compiled languages. Just compile them to executables and you have your “portability”.
If you need to “program C/C++ anywhere”, just place your favorite compiler and code editor on a USB stick, and you’re done. portableapps is a nice place to find portable (as in “USB carry-able” applications), and it has this link for a portable C++ IDE/Compiler.
P.S. Python programs can also be bundled into (rather large) executables using tools like py2exe and PyInstaller.