PDA

View Full Version : C++ Compiler


Lex Luthor
06-21-2002, 07:32 PM
I can't seem to find a good free compiler when i travel from computer to computer. Does anyone know a good one, sometimes i use djgpp.

gish
06-21-2002, 08:37 PM
windows or linux

Lex Luthor
06-21-2002, 08:43 PM
oh sorry, windows. and a linux one would be useful to know about.

gish
06-21-2002, 08:57 PM
a free one...I know someone will have a better list but I have used Dev-C++ comiler for windows...I do not think it issupported any more but it worked......or even Borland C++ is very cheap..I have seen it priced for $50 and lower....that is all I can say....I know Linux has several...free ones that are used and supported heavely!
If you need a link ot it ask and I can give you a loink as for I don;t knoe if they have it up any more......??

G

Dru Lee Parsec
06-21-2002, 08:58 PM
On Linux I use gcc.

I don't know if there is a port of gcc for Windows.

LonelyKing
06-21-2002, 09:57 PM
Use Dev-C++. It IS still supported (they're actually developing Dev-C++ 5 right now) and it's way better than any Borland compiler... the official site is www.bloodshed.net

Strike
06-21-2002, 11:16 PM
Originally posted by Dru Lee Parsec
On Linux I use gcc.

I don't know if there is a port of gcc for Windows.
DJGPP is the gcc port to Windows

Also, you can use gcc in cygwin as well, I just like the Linux environment for editing sooooo much better.

sans-hubris
06-22-2002, 03:45 AM
Originally posted by Strike

DJGPP is the gcc port to Windows

Also, you can use gcc in cygwin as well, I just like the Linux environment for editing sooooo much better. DJGPP isn't really a Windows compiler. It's really just a 32 bit DOS compiler.

For Linux, GCC is the native compiler (Intel has some compilers, but they're not free, and can't compile the kernel yet.)

There is a real GCC port to 32 bit Windows called MinGW (http://www.mingw.org/). Whatever source code is independent of GCC is public domain, else it's licensed under the same license as GCC, the GPL.

You can also use Cygwin (http://www.cygwin.com/) port of GCC, but you should really only use it if you want an entire POSIX emulation for Windows.

Borland's compiler (not the IDE) is also free for Windows, but I don't recommend it. I don't even like the IDE.

If I write software for Windows, it's going to either use MSVC++ or a GCC varient (in particular MinGW.)

PS If you need a development environment for Linux, I highly recommend KDevelop (http://www.kdevelop.org/) or especially Emacs (http://www.gnu.org/software/emacs/emacs.html). :D (Well, actually, Emacs is a really great development environment for Windows as well.)

In all seriousness, someone will mention VIM, but you should realise that both Emacs and VIM have high learning curves. KDevelop, OTOH, does everything for you, ala MSVC++.

Strike
06-22-2002, 11:34 AM
Originally posted by sans-hubris
DJGPP isn't really a Windows compiler. It's really just a 32 bit DOS compiler.
And pretty much every Windows version runs on DOS :)

from the FAQ:

The core of DJGPP is the MS-DOS port of the GNU C/C++ compiler, GCC, and auxiliary utilities, such as assembler, linker, librarian, Make, and a hypertext docs browser. The DJGPP C library was written specifically for DJGPP, mainly by DJ Delorie himself, with help from a small group of volunteers. This core set of utilities and libraries is still actively developed and maintained.

gish
06-22-2002, 12:04 PM
Originally posted by LonelyKing
Use Dev-C++. It IS still supported (they're actually developing Dev-C++ 5 right now) and it's way better than any Borland compiler... the official site is www.bloodshed.net

it is supported...good......for some reason I thought it wasn't......yeah I agree it is better!
:tu:

Lex Luthor
06-23-2002, 01:41 PM
Thanks, Dev-C++ is great.

buffto
07-05-2002, 10:32 PM
oh, i've been using visual c++ which can be quite the pain in the ass. maybe i should try this one.

sans-hubris
07-06-2002, 03:21 AM
Originally posted by Strike

And pretty much every Windows version runs on DOS :)

from the FAQ:
In all honesty, though, DOS/32 on Windows don't run nearly as well as Win32 applications on Windows, especially in Win2k and XP.

Tarkus
07-18-2002, 01:56 AM
Remember not to use Dev-C++ 4 projects with Dev-C++ 5 or vise versa, it'll eliminate all of your project settings...

Dev-C++ 5 is still kind of buggy if you ask me...

Fireman-x
07-29-2002, 01:05 PM
Yeah, I get a module error whenever I attempt to save with Dev-C++ on XP Pro. Are there any other GOOD, FREE IDEs out there?

kmj
07-29-2002, 03:33 PM
vim

darelf
08-01-2002, 02:59 PM
Originally posted by kmj
vim

Seconded...

I liked Dev-C++ 4 when I was still messing with C++.... I haven't really looked at coding anything in C++ for a while though.