Portbale compiler?

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

User avatar
thbp
Chaos Rift Regular
Chaos Rift Regular
Posts: 132
Joined: Tue Dec 08, 2009 5:32 pm
Current Project: Learn
Favorite Gaming Platforms: PC/PS/GC/DC
Programming Language of Choice: C(++)/Perl
Location: wrestling matts
Contact:

Portbale compiler?

Post by thbp »

Is there a porable compiler? i Know of pcc for C but i am learning C++ and i don't think it supports it.

the reason is i have alot of time at school so i was going to work at school with portable notepad++ and a portable compiler
XNA ========== eXtreme Nuclear Atomic
Image
Image
Image
Wrestlers have three motion: side 2 side , circle, and stalk
User avatar
davidthefat
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 529
Joined: Mon Nov 10, 2008 3:51 pm
Current Project: Fully Autonomous Robot
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: California
Contact:

Re: Portbale compiler?

Post by davidthefat »

thbp wrote:Is there a porable compiler? i Know of pcc for C but i am learning C++ and i don't think it supports it.

the reason is i have alot of time at school so i was going to work at school with portable notepad++ and a portable compiler
DevC++ in a USB drive does the trick, its small and you dont need to install

http://www.bloodshed.net/devcpp.html
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Portbale compiler?

Post by dandymcgee »

Just a tip: I highly recommend you avoid attempting to make Code::Blocks portable. While it can be done, it's not fun.. at all.. trust me.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
thbp
Chaos Rift Regular
Chaos Rift Regular
Posts: 132
Joined: Tue Dec 08, 2009 5:32 pm
Current Project: Learn
Favorite Gaming Platforms: PC/PS/GC/DC
Programming Language of Choice: C(++)/Perl
Location: wrestling matts
Contact:

Re: Portbale compiler?

Post by thbp »

yeah i know i ilike screwed i up now i can't like un install now ugh
XNA ========== eXtreme Nuclear Atomic
Image
Image
Image
Wrestlers have three motion: side 2 side , circle, and stalk
User avatar
RyanPridgeon
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 447
Joined: Sun Sep 21, 2008 1:34 pm
Current Project: "Triangle"
Favorite Gaming Platforms: PC
Programming Language of Choice: C/C++
Location: UK
Contact:

Re: Portbale compiler?

Post by RyanPridgeon »

Codeblocks will work absolutely fine.

You just have to get GCC seperately. First get MinGW and put that in a folder on your memory stick, then install Codeblocks to your memory stick (the non MinGW version) with all plugins. Then just set the executable path in the Codeblocks settings for your MinGW folder.
Ryan Pridgeon
C, C++, C#, Java, ActionScript 3, HaXe, PHP, VB.Net, Pascal
Music | Blog
User avatar
M_D_K
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1087
Joined: Tue Oct 28, 2008 10:33 am
Favorite Gaming Platforms: PC
Programming Language of Choice: C/++
Location: UK

Re: Portbale compiler?

Post by M_D_K »

dandymcgee wrote:Just a tip: I highly recommend you avoid attempting to make Code::Blocks portable. While it can be done, it's not fun.. at all.. trust me.
WTF, I've got C::B on my USB drive, it was painless. What kind of problems did you have?
Gyro Sheen wrote:you pour their inventory onto my life
IRC wrote: <sparda> The routine had a stack overflow, sorry.
<sparda> Apparently the stack was full of shit.
User avatar
thbp
Chaos Rift Regular
Chaos Rift Regular
Posts: 132
Joined: Tue Dec 08, 2009 5:32 pm
Current Project: Learn
Favorite Gaming Platforms: PC/PS/GC/DC
Programming Language of Choice: C(++)/Perl
Location: wrestling matts
Contact:

Re: Portbale compiler?

Post by thbp »

like it actually installed in windows if you go to add/remove programs (in windows) it says Code::Blocks on there and i want it portable were its like unzip and well compile (and i'm talking about just a compiler i don't need an IDE i can use Notepadd++)
XNA ========== eXtreme Nuclear Atomic
Image
Image
Image
Wrestlers have three motion: side 2 side , circle, and stalk
User avatar
RyanPridgeon
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 447
Joined: Sun Sep 21, 2008 1:34 pm
Current Project: "Triangle"
Favorite Gaming Platforms: PC
Programming Language of Choice: C/C++
Location: UK
Contact:

Re: Portbale compiler?

Post by RyanPridgeon »

Well.. if the actual program files for Codeblocks are on the memory stick, you could try removing the memory stick, then clicking "Remove" in the Add/Remove Programs window.
Ryan Pridgeon
C, C++, C#, Java, ActionScript 3, HaXe, PHP, VB.Net, Pascal
Music | Blog
User avatar
eatcomics
ES Beta Backer
ES Beta Backer
Posts: 2528
Joined: Sat Mar 08, 2008 7:52 pm
Location: Illinois

Re: Portbale compiler?

Post by eatcomics »

DevC++ on a usb drive here :)
Image
User avatar
thbp
Chaos Rift Regular
Chaos Rift Regular
Posts: 132
Joined: Tue Dec 08, 2009 5:32 pm
Current Project: Learn
Favorite Gaming Platforms: PC/PS/GC/DC
Programming Language of Choice: C(++)/Perl
Location: wrestling matts
Contact:

Re: Portbale compiler?

Post by thbp »

doesn't work because unistall.exe does not exist (already tried) wait would installing it? coping all the files to the desktop then uninstall from the thumb drive then copying back the files work?
XNA ========== eXtreme Nuclear Atomic
Image
Image
Image
Wrestlers have three motion: side 2 side , circle, and stalk
User avatar
RyanPridgeon
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 447
Joined: Sun Sep 21, 2008 1:34 pm
Current Project: "Triangle"
Favorite Gaming Platforms: PC
Programming Language of Choice: C/C++
Location: UK
Contact:

Re: Portbale compiler?

Post by RyanPridgeon »

When it tells you that the un-installer doesn't exist, it SHOULD prompt you if you want to remove the program anyway.

This is because otherwise you could potentially get a program stuck there forever if the uninstaller gets corrupted/lost :P
Ryan Pridgeon
C, C++, C#, Java, ActionScript 3, HaXe, PHP, VB.Net, Pascal
Music | Blog
User avatar
thbp
Chaos Rift Regular
Chaos Rift Regular
Posts: 132
Joined: Tue Dec 08, 2009 5:32 pm
Current Project: Learn
Favorite Gaming Platforms: PC/PS/GC/DC
Programming Language of Choice: C(++)/Perl
Location: wrestling matts
Contact:

Re: Portbale compiler?

Post by thbp »

well it doesn't though so then what? do i do?
Last edited by thbp on Thu Dec 17, 2009 4:54 pm, edited 1 time in total.
XNA ========== eXtreme Nuclear Atomic
Image
Image
Image
Wrestlers have three motion: side 2 side , circle, and stalk
User avatar
RyanPridgeon
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 447
Joined: Sun Sep 21, 2008 1:34 pm
Current Project: "Triangle"
Favorite Gaming Platforms: PC
Programming Language of Choice: C/C++
Location: UK
Contact:

Re: Portbale compiler?

Post by RyanPridgeon »

Wel... Try to copy & paste the files somewhere, "uninstall" it, and then paste them back.
Ryan Pridgeon
C, C++, C#, Java, ActionScript 3, HaXe, PHP, VB.Net, Pascal
Music | Blog
User avatar
Ginto8
ES Beta Backer
ES Beta Backer
Posts: 1064
Joined: Tue Jan 06, 2009 4:12 pm
Programming Language of Choice: C/C++, Java

Re: Portbale compiler?

Post by Ginto8 »

I have the ultimate portable compiler: linux on a usb drive :mrgreen:
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
User avatar
thbp
Chaos Rift Regular
Chaos Rift Regular
Posts: 132
Joined: Tue Dec 08, 2009 5:32 pm
Current Project: Learn
Favorite Gaming Platforms: PC/PS/GC/DC
Programming Language of Choice: C(++)/Perl
Location: wrestling matts
Contact:

Re: Portbale compiler?

Post by thbp »

I got it to work like my steps i took (i'll post it ) worked thanks!!!!!


1. Run install to your flash drive
2. Copy your files to your desktop (copy not move)
3. Run unistall from your start menu
4. Copy back files from your desktop
5. Start up Code::Blocks and off you go

(i have not fully tested this yet though so i do not know if all the features work (though they should))
XNA ========== eXtreme Nuclear Atomic
Image
Image
Image
Wrestlers have three motion: side 2 side , circle, and stalk
Post Reply