By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,412 Members | 1,006 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,412 IT Pros & Developers. It's quick & easy.

C++ Compiler That Doesn't Need To Install

P: n/a
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.

Sep 9 '06 #1
Share this Question
Share on Google+
9 Replies


P: n/a
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.
Sep 9 '06 #2

P: n/a
kotori wrote:
Hi, i'm looking for a C++ compiler that I can run straight off of a USB
http://www.google.com/search?q=cygwin+usb

There were only 1.7 million hits there...

--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
Sep 9 '06 #3

P: n/a

Phlip wrote:
http://www.google.com/search?q=cygwin+usb

There were only 1.7 million hits there...

--
Phlip
wow phlip i never even thought that would've been possible, thanks both
of you for the info, i'll look a tad deeper into now.
thanks

Sep 9 '06 #4

P: n/a
On 9 Sep 2006 06:00:00 -0700, "kotori" <ko******@gmail.comwrote:
>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.
Buy a laptop (second hand can be cheap) and use that. Otherwise talk
to the computer people tthe school to see if there is anything they
can do. They might be willing to install Dev-C++ for you if it is
needed for your course.

rossum

Sep 9 '06 #5

P: n/a

rossum wrote:
On 9 Sep 2006 06:00:00 -0700, "kotori" <ko******@gmail.comwrote:
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.
Buy a laptop (second hand can be cheap) and use that. Otherwise talk
to the computer people tthe school to see if there is anything they
can do. They might be willing to install Dev-C++ for you if it is
needed for your course.

rossum
I happened upon a deal at walmart for 3 - 512mb USB thumbdrives for
$30.00 so I was just trying to figure out a cheap method of getting my
compiler to go along with me. The laptop idea is great, but
unforunately I am a poor college student. As poor as I am, I do have 2
FreeBSD servers here at my residence both with a great DEV enviornment,
and I've been SSH'ing into them to compile my stuff, but that requires
me UL'ing the work to the server, and then compiling them, FTP just
isn't working through our home router at the moment :(
thanks

Sep 9 '06 #6

P: n/a
Kotori <ko******@hotmail.comwrote:
As poor as I am, I do have 2 FreeBSD servers here at my
residence both with a great DEV enviornment, and I've been
SSH'ing into them to compile my stuff, but that requires me
UL'ing the work to the server, and then compiling them, FTP
just isn't working through our home router at the moment :(
If you can ssh through the router, then you can use scp rather
than ftp. Scp is better anyway.

Steve
Sep 9 '06 #7

P: n/a
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.
The Digital Mars C/C++ compiler doesn't need to be installed. In fact,
there is no install script for it. Just unzip and run it. No need to
mess with environment variables or registry settings. No need to stuff
anything into your Windows system directories. No registration, no
dongles, no DRM, no activation, no phone home.

To uninstall it, just blow away the directory it's in.

-Walter Bright
www.digitalmars.com C, C++, D programming language compilers
Sep 10 '06 #8

P: n/a

Walter Bright wrote:
The Digital Mars C/C++ compiler doesn't need to be installed. In fact,
there is no install script for it. Just unzip and run it. No need to
mess with environment variables or registry settings. No need to stuff
anything into your Windows system directories. No registration, no
dongles, no DRM, no activation, no phone home.

To uninstall it, just blow away the directory it's in.

-Walter Bright
www.digitalmars.com C, C++, D programming language compilers
Wow, now that is definetely something i've been looking for! Thanks
for that heads up Walter. As previously mentioned I had been using a
form of SCP to get into my UNIX system for file management.

Sep 12 '06 #9

P: n/a
kotori wrote:
Walter Bright wrote:
>The Digital Mars C/C++ compiler doesn't need to be installed. In fact,
there is no install script for it. Just unzip and run it. No need to
mess with environment variables or registry settings. No need to stuff
anything into your Windows system directories. No registration, no
dongles, no DRM, no activation, no phone home.

To uninstall it, just blow away the directory it's in.

-Walter Bright
www.digitalmars.com C, C++, D programming language compilers

Wow, now that is definetely something i've been looking for! Thanks
for that heads up Walter. As previously mentioned I had been using a
form of SCP to get into my UNIX system for file management.
You're welcome. I've never liked 'install' programs, as who knows what
they're doing to your system. Furthermore, they make it difficult and
time consuming to restore your system from backups.
Sep 12 '06 #10

This discussion thread is closed

Replies have been disabled for this discussion.