Do you really need a Windows compiler? The problem is you usually need
standard library headers to compile anything, plus windows.h header and
stuff if you are compiling for Windows. This means that along with the
compiler you need all those files too, plus the libraries to link to
(MFC if you are using this for GUI or maybe .NET). You always need
libraries (.lib) and headers (.h) for everything you include in your
program aside to you own code.
All the IDE's (Interated Development Environment) you mentioned include
and install them when you install the very code editor. So the trick is
you would need to have all the standard libs and headers on you USB key
too. Have you thought about trying to install a mentioned IDE with the
USB key as a target, then check which of the files get installed in the
Windows/System32 dir on any other not in the installation directory and
then copying those files along with the IDE on you USB key?
It's all much easier if you are programming for Linux or other Unix
flavors, cause the standarad libs and files are usually included in
those systems and the compiler gcc too. Maybe try to think about buying
an usb with a little larger capacity and installing a very lightwright
version of whole Windows onto it, and use ti to boot the system up from
the usb, compile in that system and then run the proggy in faculty lab
computers.
Greets,
Ivan Leben
kotori wrote:
Hi, i'm looking for a C++ compiler that I can run straight off of a USB
Thumbdrive for compiling my applications on-the-go. I currently use
both dev-cpp and MSVS8 at home, but I desperately need something I can
run on the labs at school. The computers there are all running locked
down accounts so its impossible to install anything beyond what they
have for a base installation. I was looking at mingw and such but they
require enviornment path changes which are also "impossible" for me to
change due to the account restrictions. Any help or suggestions would
be greatly appreciated.
Thanks.