Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Free C++ Compilers | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Apophis

Red Super Koopa
Level: 45

Posts: 346/882
EXP: 640255
For next: 19909

Since: 03-15-04

Since last post: 15 hours
Last activity: 15 hours
Posted on 02-21-05 12:02 AM Link | Quote
Are there any good free C++ compilers out there? I know there are free compilers, I just don't know which one to download. Any suggestions would be greatly appreciated.

Edit: Oops. Meant to put this in Programming, not AcmlmBoard programming.


(edited by Apophis on 02-20-05 03:04 PM)
dan

Snap Dragon
Level: 43

Posts: 437/782
EXP: 534516
For next: 30530

Since: 03-15-04

Since last post: 20 hours
Last activity: 14 hours
Posted on 02-21-05 12:26 AM Link | Quote
Mingw is pretty good. There's also the Visual C++ Toolkit 2003, of which I know nothing about, apart from the fact it's free.
neotransotaku

Baby Mario
戻れたら、
誰も気が付く
Level: 87

Posts: 2335/4016
EXP: 6220548
For next: 172226

Since: 03-15-04
From: Outside of Time/Space

Since last post: 11 hours
Last activity: 1 hour
Posted on 02-21-05 04:01 AM Link | Quote
you can also use GCC. GCC is available for windows via cygwin (although I think it uses Mingw though...)
Sokarhacd

Ball and Chain Trooper
Resistance is Futile
You Will Be Assimilated
Hab SoSlI' Quch
Level: 61

Posts: 1067/1757
EXP: 1799888
For next: 76708

Since: 03-15-04

Since last post: 6 days
Last activity: 4 hours
Posted on 02-21-05 07:05 AM Link | Quote
Dev-Cpp is also a good one, uses the gcc compiler and has a nice IDE, I would go with that, or Mingw
Apophis

Red Super Koopa
Level: 45

Posts: 348/882
EXP: 640255
For next: 19909

Since: 03-15-04

Since last post: 15 hours
Last activity: 15 hours
Posted on 02-21-05 07:35 AM Link | Quote
thanks for all the help. this thread can be closed now.
Parasyte

Bullet Bill
Level: 35

Posts: 310/514
EXP: 267348
For next: 12588

Since: 05-25-04

Since last post: 104 days
Last activity: 32 days
Posted on 02-21-05 07:55 AM Link | Quote
Some clarifications:

GCC is the compiler.
MinGW and Cygwin are 'UNIX abstraction layers' for Windows, which allow you to compile Windows programs with GCC.
Dev-C++ is an IDE.

If you download Dev-C++, you'll get the IDE and a MinGW package with GCC. Of course, you can also download each package seperately. I downloaded MinGW and GCC 3.4, opting not to use the IDE at all.

MinGW: http://sourceforge.net/projects/mingw (includes GCC)
Dev-C++: http://sourceforge.net/projects/dev-cpp (includes MinGW and GCC)
neotransotaku

Baby Mario
戻れたら、
誰も気が付く
Level: 87

Posts: 2338/4016
EXP: 6220548
For next: 172226

Since: 03-15-04
From: Outside of Time/Space

Since last post: 11 hours
Last activity: 1 hour
Posted on 02-21-05 08:20 AM Link | Quote
Originally posted by Parasyte

MinGW and Cygwin are 'UNIX abstraction layers' for Windows, which allow you to compile Windows programs with GCC.
Is that so? If MinGW is an abstraction layer, why does Cygwin use it since it is one too? Then again, I only need MinGW when I need gcc... can you clarify?
Parasyte

Bullet Bill
Level: 35

Posts: 311/514
EXP: 267348
For next: 12588

Since: 05-25-04

Since last post: 104 days
Last activity: 32 days
Posted on 02-22-05 12:08 AM Link | Quote
MinGW and Cygwin are seperate projects. Cygwin is more of a complete UNIX environment, similar to MinGW+MSYS. (MSYS is another package available on the MinGW sourceforge site.)

Cygwin: http://www.cygwin.com/
neotransotaku

Baby Mario
戻れたら、
誰も気が付く
Level: 87

Posts: 2357/4016
EXP: 6220548
For next: 172226

Since: 03-15-04
From: Outside of Time/Space

Since last post: 11 hours
Last activity: 1 hour
Posted on 02-22-05 12:31 AM Link | Quote
I've always used cygwin to do my UNIX needs on windows. I"ve always heard about MinGW in terms of C compilers and nothing more. Now, I'm enlightened, thanks
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 3376/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 02-22-05 05:23 AM Link | Quote
What I've been using is just MinGW and Textpad. Open up a DOS window to wherever you keep the source codes, and compile and run with a generic makefile; I use this as a base (only works on XP):
@echo off
pushd "D:\Program Files\MinGW\bin"

del [------PUT EXE NAME HERE------].exe
echo Compiling...

gcc -o [------PUT EXE NAME HERE------] "D:\Files\Programs\Source Codes\C\[------PUT FOLDER NAME HERE------]\[------PUT SOURCE NAME HERE------].c" -mwindows -mconsole

IF EXIST [------PUT EXE NAME HERE------].exe goto run
goto done

:run
echo Running...
echo
Parasyte

Bullet Bill
Level: 35

Posts: 315/514
EXP: 267348
For next: 12588

Since: 05-25-04

Since last post: 104 days
Last activity: 32 days
Posted on 02-22-05 07:14 AM Link | Quote
You can pass the -x switch to gcc to get it to compile c++. I can't remember if it's -x cpp or -x c++. But one of those will do the trick. Rather than using g++, though that's what gcc will call with the -x switch set to compile C++ code. (blah)


(edited by Parasyte on 02-22-05 01:49 AM)
neotransotaku

Baby Mario
戻れたら、
誰も気が付く
Level: 87

Posts: 2372/4016
EXP: 6220548
For next: 172226

Since: 03-15-04
From: Outside of Time/Space

Since last post: 11 hours
Last activity: 1 hour
Posted on 02-22-05 10:28 AM Link | Quote
g++ is just an alias for gcc with that flag...after all, it doesn't make sense to have a seperate compiler that practically compiles the same exact code--since all C++ code can be rewritten in terms of C
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Programming - Free C++ Compilers | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.008 seconds.