Monday, May 24, 2010

Need a portable IDE and compiler for C++?

Looking for an Integrated Development Environment and compiler for C++ that can be stored on a thumb drive and used in a Windows environment.

Need a portable IDE and compiler for C++?
Last year in school, i had these on my flash drive to use, and they all seemed to work perfectly fine running from the flash drive:


Dev-C++ ( http://bloodshed.net/dev/devcpp.html ),


wxDev-C++ ( http://wxdsgn.sourceforge.net/ )


Code::Blocks ( http://www.codeblocks.org/ )





After i installed them to my computer, i just copy'd the installation directory to my flash drive. They worked fine for the most part, every now and then, in a computer it would use a different drive (like H instead of G), and whenever i opened Dev-C++ (didnt use code::blocks long enough to notice this) it would make a popup message saying something like "the directorys of the include files could not be cound at ... would you like to reset them to the default? Yes | No", and when clicking yes, it just reset them to the correct path in the current drive.
Reply:Compiler? Gcc/g++ works. The thing about the environment is that because there are no environment variables, you'll have to manually deal with the appropriate. For example, include directories. And libs directories.





You probably could come up with some scripts, so that you can auto set everything. Or a set of makefiles. Or the like. Or just pass in the variables manually.





But g++ is as good as you can get.





For the editing environment, I guess you aren't satisfied with an editor? Try Code::Blocks. It's portable in its nature (just unzip and you're ready to go).


No comments:

Post a Comment