You are here

Portable C++ compiler

21 posts / 0 new
Last post
computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 1 month ago
Developer
Joined: 2009-08-11 11:24
Portable C++ compiler

I'm looking for a good, portable C++ compiler... I have just 2 "must-haves": the ability to create shared libraries, and the existence of a help file for the compiler. (lol)
A GUI for the compiler would be nice nice, but isn't essential...

Any suggestions?

Thanks! Biggrin

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-05-26 12:08
http://portableapps.com/node/

your friendly neighbourhood moderator Zach Thibeau

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 1 month ago
Developer
Joined: 2009-08-11 11:24
Is that for Windows?

Looks like that's for Linux, but I thought all the portableapps.com things were for Windows? Confused... Pardon
Also, can that create shared libraries?

Thanks! Smile

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-05-26 12:08
ok sorry I wasn't clear

ok sorry I wasn't clear enough MinGW is a port of the gcc tools from linux to windows and was intended for windows development.

your friendly neighbourhood moderator Zach Thibeau

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 1 month ago
Developer
Joined: 2009-08-11 11:24
Thanks! Shared lib support?

Thanks for the clarification... looks good! Smile
Can it produce shared libraries, though? That's the only thing I really really need...

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-05-26 12:08
any c++ compiler can do

any c++ compiler can do static and shared so yes it can

your friendly neighbourhood moderator Zach Thibeau

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 1 month ago
Developer
Joined: 2009-08-11 11:24
Weird

A friend of mine told me I need to get a compiler with shared library support, and that any compiler would work as long as it had shared lib support... implying that some compilers don't... Pardon

Well, I'll pick up MinGW & Code::Blocks... thanks! Biggrin

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 3 months ago
Joined: 2007-04-15 21:08
Code::Blocks

You can use Code::Blocks Portable with MinGW Portable (install MinGW Portable first and Code::Blocks Portable will detect it). Code::Blocks is a C++ IDE.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 1 month ago
Developer
Joined: 2009-08-11 11:24
Looks good... :)

That really looks good too... if MinGW supports creating shared libraries, I'll collect Code::Blocks to go with it.

Thanks for the tip! Biggrin

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 1 month ago
Developer
Joined: 2009-08-11 11:24
Need another mirror... :S

Can somebody post an alternate link for Code::Blocks? The only link there is non-resumable, and my 56kbps dialup Internet connection keeps dropping it...
For some reason, MinGW got through but Code::Blocks hasn't even made it to 50%... Sad
Can somebody give me a resumable link?

Thanks! Biggrin

computerfreaker

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 3 months ago
Joined: 2007-04-15 21:08
Wrong spot

Please post in the Code::Blocks Portable thread.

Try the download again.

As for download resuming, I've never tried it on my server... I would expect it to support it, but I've never needed it (I never download from my server for obvious reasons, let alone needing resuming...)

If you have any requests with it, please post in it the relevant thread, not here.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 1 month ago
Developer
Joined: 2009-08-11 11:24
Sorry

Sorry I didn't post over at Code::Blocks... I noticed there hasn't been much traffic there (last post was in April), so I figured I'd ask here, where my question is more likely to be seen... Wink
Anyway, I got up at 5 this morning and tried it again - it got through this time! Biggrin
Probably just my Internet connection being fickle again... lol

(btw, the server definitely doesn't support downloading - of the 4 download apps I tried - Firefox 3.0.13, Firefox's DownThemAll addon, Free Download Manager, and WinWGet - none allowed me to pause/resume. In fact, when I tried pausing the download, I was informed that pausing would force me to restart the download... just thought I'd let you know)

Anyway, sorry to bother you guys! :oops:

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

OliverK
OliverK's picture
Offline
Last seen: 3 years 3 months ago
Developer
Joined: 2007-03-27 15:21
use WinWGet

use WinWGet

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 1 month ago
Developer
Joined: 2009-08-11 11:24
No luck

I tried it last night but it wouldn't download... it gave me an error...
Since Free Download Manager reported a "Cannot resolve server name" error, I'm guessing the same thing happened to WinWGet...

Anyway, I managed to get it this morning using Firefox with the DownThemAll addon... thanks for the help! Biggrin

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

horusofoz
horusofoz's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2008-04-03 22:45
Would Eclipse with the C++

Would Eclipse with the C++ add on help?

PortableApps.com Advocate

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 1 month ago
Developer
Joined: 2009-08-11 11:24
Not sure...

(Please bear in mind that I've never used Eclipse...)
Would Eclipse with the C++ addon let me compile shared libraries? That's the biggest thing for me... and it will be a deal-breaker.

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

horusofoz
horusofoz's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2008-04-03 22:45
Just had a look and saw it is

Just had a look and saw it is not a C++ compiler. The site I looked at suggested MinGW (Portable).

PortableApps.com Advocate

aamiel
aamiel's picture
Offline
Last seen: 3 years 9 months ago
Joined: 2008-11-03 04:53
DevCPP and wxDevCPP

You can also try this:
https://portableapps.com/node/20211

Arnaud

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 1 month ago
Developer
Joined: 2009-08-11 11:24
Thanks, but...

Thanks, but I don't think DevCPP has shared library support... I was already looking at its homepage, and I didn't see anything about shared libraries... just a little bit about static libraries. Pardon

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

aamiel
aamiel's picture
Offline
Last seen: 3 years 9 months ago
Joined: 2008-11-03 04:53
Sorry

I was a bit too quick, all solutions here, devcpp, code::blocks and mingw are the same as the first 2 are just IDEs that use mingw in the end.
I know it is possible to do shared libraries with mingw, I don't know how.

Maybe this will help.

Arnaud

computerfreaker
computerfreaker's picture
Offline
Last seen: 13 years 1 month ago
Developer
Joined: 2009-08-11 11:24
Thanks

Thanks, I'll check that out...

"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."

Log in or register to post comments