LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 07-14-2003, 12:32 AM   #1
BrutualTarget
LQ Newbie
 
Registered: Jul 2003
Location: Juneau, AK
Distribution: Debian
Posts: 14

Rep: Reputation: 0
Free C++ Compiler?


Call me cheap, but I want a free compiler. I'm interested in learning C++ (read: HUGE NEWBIE). I tried setting up KDevelop, as I understand that is a compiler, but I can't seem to start a "new" file, and my attempts at getting help on the subject have been in vain. So, I'm hoping to find a Linux-friendly C++ compiler that costs less than $0.01. Thanks.
 
Old 07-14-2003, 12:37 AM   #2
vapor
Member
 
Registered: Jul 2003
Distribution: SuSe
Posts: 38

Rep: Reputation: 15
www.download.com ...... trust me u can get them there
 
Old 07-14-2003, 12:41 AM   #3
vapor
Member
 
Registered: Jul 2003
Distribution: SuSe
Posts: 38

Rep: Reputation: 15
what OS?
 
Old 07-14-2003, 12:42 AM   #4
vapor
Member
 
Registered: Jul 2003
Distribution: SuSe
Posts: 38

Rep: Reputation: 15
http://download.com.com/3000-2069-10...ml?tag=lst-0-3

theres one for windows
 
Old 07-14-2003, 12:45 AM   #5
vapor
Member
 
Registered: Jul 2003
Distribution: SuSe
Posts: 38

Rep: Reputation: 15
http://download.com.com/3000-2029-17...l?tag=lst-0-20

theres a good linux one
 
Old 07-14-2003, 12:48 AM   #6
BrutualTarget
LQ Newbie
 
Registered: Jul 2003
Location: Juneau, AK
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: 0
There only seems to be Windows, Mac, and Mobile downloads at download.com -_-"

EDIT: Sorry, posted a little late without refreshing the page. Didn't realise there were more posts Thanks all
 
Old 07-14-2003, 12:51 AM   #7
vapor
Member
 
Registered: Jul 2003
Distribution: SuSe
Posts: 38

Rep: Reputation: 15
sure thing.......... thanks all?..... i never get any credit.... jk
 
Old 07-14-2003, 01:27 AM   #8
shellcode
Member
 
Registered: May 2003
Location: Beverly Hills
Distribution: Slackware, Gentoo
Posts: 350

Rep: Reputation: 31
you are wrong: kdevelop is not a compiler.
if you want a compiler for C++ that is free then you already have one.
try typing g++ at a terminal

kdevelop is an IDE like anjuta....you do not need them but there are many free ones.

gcc is the C compiler.


gcc is what got linux to where it is today...and it is free and open-source as is 99% of linux software....


Last edited by shellcode; 07-14-2003 at 01:31 AM.
 
Old 07-14-2003, 07:41 PM   #9
peace
Member
 
Registered: Jul 2003
Location: Canada
Posts: 214

Rep: Reputation: 31
Dev-C++ is the best free Windows compiler. If you are running linux, you most likely already have a C++ compiler. Look up to shellcode's post, g++ is the default one. Find info on it at: gcc.gnu.org
 
Old 08-22-2004, 08:12 AM   #10
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/XP/Win7
Posts: 677

Rep: Reputation: 30
why is it when i type g++ at a terminal i get an error message
"master@linux:~> g++
g++: no input files
master@linux:~>
any help does this mean i dont have a compiler built in
thanks nige
 
Old 08-22-2004, 09:16 AM   #11
Brane Ded
Member
 
Registered: Nov 2003
Location: over there
Distribution: Debian Testing
Posts: 191

Rep: Reputation: 30
Quote:
Originally posted by master
why is it when i type g++ at a terminal i get an error message
"master@linux:~> g++
g++: no input files
master@linux:~>
any help does this mean i dont have a compiler built in
thanks nige
Because g++ is a command line compiler, and it needs something to compile first. The fact that it didn't say "g++: command not found" is a good indication that it's there and working. To compile something with it, you either create a makefile, or type the file(s) to compile by hand.
For example: "g++ mysource.cc -o myprogram"

For more info, see the g++ man page.
 
Old 08-22-2004, 10:36 AM   #12
Smile005
Member
 
Registered: Oct 2003
Location: Sunny Wales
Distribution: Slackware 10
Posts: 30

Rep: Reputation: 15
I also second Dev-C++ for on Windows, it uses mingw which is a Windows port of GCC.
Dev-C++ was going to have a port using Kylix as it's written in Delphi for Windows. However they say that Kylix wasn't as good as they hoped so their not doing it now, which is a shame because I really like it. It's a nice simple IDE that doesn't automatically make dozens of files that a newbie has no idea of their purpose. Plus I find the big IDEs too intimidating.
What I do is use a standard text editor and write my own makefile (at least for small projects ) which I think is a good way to learn how things are compiled.
 
Old 08-22-2004, 10:45 AM   #13
jinksys
Member
 
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 417

Rep: Reputation: 31
Quote:
Originally posted by BrutualTarget
There only seems to be Windows, Mac, and Mobile downloads at download.com -_-"

EDIT: Sorry, posted a little late without refreshing the page. Didn't realise there were more posts Thanks all

really? they used to have linux downloads, not anymore i guess. Tucows.com still has linux stuff tho.
 
Old 08-22-2004, 04:04 PM   #14
KneeLess
Member
 
Registered: May 2003
Distribution: Debian GNU/Linux 3.0 Sid, OpenBSD 3.5
Posts: 190

Rep: Reputation: 30
g++ is a great free C++ Compiler...try cygwin...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Free C++ Compiler? JudasMaccabeus Linux - Software 2 11-03-2005 12:28 AM
Free C/C++ Compiler for Windows? testforechozero Programming 6 08-19-2004 09:29 PM
Free C++ Compiler leroy27336 Programming 10 11-13-2003 09:14 PM
free c/c++ compiler w/ directx/opengl js_530 Programming 9 07-27-2003 02:33 PM
best free C++ compiler bobbinbrisco Programming 1 07-22-2001 04:18 PM


All times are GMT -5. The time now is 03:08 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration