This post has been edited by Korupt: 28 August 2008 - 06:03 PM
21 Replies - 1496 Views - Last Post: 16 September 2008 - 08:47 PM
#1
Linux Software Development
Posted 28 August 2008 - 06:02 PM
Replies To: Linux Software Development
#2
Re: Linux Software Development
Posted 28 August 2008 - 06:07 PM
#3
Re: Linux Software Development
Posted 28 August 2008 - 06:10 PM
#4
Re: Linux Software Development
Posted 28 August 2008 - 06:12 PM
#6
Re: Linux Software Development
Posted 28 August 2008 - 06:42 PM
#7
Re: Linux Software Development
Posted 28 August 2008 - 06:46 PM
#8
Re: Linux Software Development
Posted 28 August 2008 - 07:37 PM
#include <iostream>
using namespace std;
int main()
{
cout << "Test from Linux";
}
and I save it as a .cpp file and when I do this:
gcc -c test.cpp -o test
it makes a new file but when I try to run it:
./test
I get a permission denied message and when I try this
gcc test.cpp
I get like 10 compile errors. any idea why?
This post has been edited by Korupt: 28 August 2008 - 07:37 PM
#9
Re: Linux Software Development
Posted 28 August 2008 - 08:34 PM
The majority of IDE's on Linux do not come with compilers because one size does not fit all.
If you're trying to do C++ development, you'll want to use the g ++ compiler which is probably already installed.
Some good IDE's have been posted in other threads, but just to get you started: Eclipse, Anjuta, and KDevelop are pretty nice.
#10
Re: Linux Software Development
Posted 29 August 2008 - 12:49 AM
#11
Re: Linux Software Development
Posted 29 August 2008 - 01:31 AM
#12
Re: Linux Software Development
Posted 29 August 2008 - 05:22 AM
Also gcc is the C compiler, you want to use g ++.
Try g ++ test.cpp -o test [minus the space between "g" and "++"].
#13
Re: Linux Software Development
Posted 29 August 2008 - 05:34 AM
#14
Re: Linux Software Development
Posted 31 August 2008 - 09:15 PM
#15
Re: Linux Software Development
Posted 31 August 2008 - 11:24 PM
|
|

New Topic/Question
Reply



MultiQuote









|