473,386 Members | 1,621 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

C++ Compiler That Doesn't Need To Install

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
9 9649
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
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

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
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

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
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
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

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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dbrown2 | last post by:
I'm trying to understand and document how to install pypar on Win2k. Pypar needs to be installed with some MPI library code and also needs libpython23.a and other files which are not included with...
188
by: Ilias Lazaridis | last post by:
I'm a newcomer to python: - E01: The Java Failure - May Python Helps? http://groups-beta.google.com/group/comp.lang.python/msg/75f0c5c35374f553 - I've download (as suggested) the python...
0
by: Kris Desmadryl | last post by:
Hi all, I get two problems, I don't know if there are related, but I do know that I'm already stuck for days on them. First problem : Visual Basic .NET compiler is unable to recover from the...
7
by: Ebay boy | last post by:
I have recently bought a compiler and I have this sample code that includes the following: #include <stdlib.h> #include <string.h> #include <time.h> Unfortunately, my compiler doesn't...
5
by: fayyaz | last post by:
I need to install C# compiler, could you please help me the steps? I got .net framework installed, because I have been learing ASP.NET on my own.What else needed to be installed, could you send...
41
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
11
by: Pablo Suarez | last post by:
In all my previous C++ projects I used the gcc as compiler. For some reasons I want to try out the Sun compiler instead. How can I install and use this compiler instead? Is the Sun C++...
3
by: jmichae3 | last post by:
I need a compiler that 1. can generate 32 and 64-bit code, (64-bit code that will work on an AMD as well as Intel) 2. Doesn't require the enduser to install .Net to run the program (in other...
27
by: Dave | last post by:
I'm having a hard time tying to build gcc 4.3.1 on Solaris using the GNU compilers. I then decided to try to use Sun's compiler. The Sun Studio 12 compiler reports the following code, which is in...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.