Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   gcc? (http://www.linux-archive.org/centos/365238-gcc.html)

hadi motamedi 05-03-2010 07:14 AM

gcc?
 
dear all i have gcc on my centos. I need to make an executable file
from my c code. Can you please let me know what stuff and company do i
need on my centos? Is there any gui like c++/visual c avalable for
centos? Thank you
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Frank Cox 05-03-2010 07:31 AM

gcc?
 
On Mon, 2010-05-03 at 08:14 +0100, hadi motamedi wrote:
> dear all i have gcc on my centos. I need to make an executable file
> from my c code. Can you please let me know what stuff and company do i
> need on my centos?

If you have basic c source code on your computer, and you have gcc
installed, you can compile it with this command:

gcc nameofsourcefile.c

That will give you an executable file called a.out in the same directory
as the source code.

If the source code requires a library (ncurses, gtk, etc) then you will
need to specify that on the commandline, too.

> Is there any gui like c++/visual c avalable for
> centos?

Are you trying to ask for a recommendation for a programmers editor? If
so, the best editor depends on the type of programming that you do.
There are numerous editors available on Centos, and many of them have C
templates. The simplest are probably gedit and vim, both of which will
automatically colourize C source code if the source file ends with .c.
Fancier editors like Geany, Anjuta and Eclipse are all highly
recommended by various people. I personally use Geany but again, the
best editor depends on your personal taste and expectations, and the
type of programming that you do.

--
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

hadi motamedi 05-03-2010 07:38 AM

gcc?
 
>Are you trying to ask for a recommendation for a programmers editor?*
Thank you for your reply. Actually, I do not just need an C code editor but I am seeking if a complete software package like c++/visual c on Windows does exist for CentOS that enables for editing, debugging, running, online help for all of the commands, etc. Can you please let me know if such a complete package if available?





_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Benjamin Donnachie 05-03-2010 08:55 AM

gcc?
 
On 3 May 2010, at 08:38, hadi motamedi <motamedi24@gmail.com> wrote:

> Can you please let me know if such a complete package if available?

Lots - do some basic research to find one that meets your needs, for
example http://www.google.co.uk/search?q=Linux+c%2B%2B+IDE

Ben
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Mathieu Baudier 05-03-2010 10:02 AM

gcc?
 
>> Can you please let me know if such a complete package if available?
>
> Lots - do some basic research to find one that meets your needs, for
> example http://www.google.co.uk/search?q=Linux+c%2B%2B+IDE

Yes there are a lot and it takes time to install and test them all...

I personnally settled for Eclipse CDT which integrates with the GNU
toolchain without hiding it.
That's also because I also use Eclipse as a Java IDE (much more than I
do C/C++ dev).

Download a recent version of Eclipse CDT.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Robert Heller 05-03-2010 11:43 AM

gcc?
 
At Mon, 3 May 2010 08:38:26 +0100 CentOS mailing list <centos@centos.org> wrote:

>
>
>
> >Are you trying to ask for a recommendation for a programmers editor?
> Thank you for your reply. Actually, I do not just need an C code editor but
> I am seeking if a complete software package like c++/visual c on Windows
> does exist for CentOS that enables for editing, debugging, running, online
> help for all of the commands, etc. Can you please let me know if such a
> complete package if available?

What you are looking for is called an IDE (Integrated Development
Environment). I believe that such a thing exists for the UNIX/Linux
world, but I have had no experience with such tools under UNIX (few
UNIX programmers bother with something like that).

>
> MIME-Version: 1.0
>
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>

--
Robert Heller -- 978-544-6933
Deepwoods Software -- Download the Model Railroad System
http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows
heller@deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

"Massey, Ricky" 05-03-2010 12:26 PM

gcc?
 
Try kdevelop.

-----Original Message-----
From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of hadi motamedi
Sent: Monday, May 03, 2010 3:15 AM
To: centos@centos.org
Subject: [CentOS] gcc?

dear all i have gcc on my centos. I need to make an executable file from my c code. Can you please let me know what stuff and company do i need on my centos? Is there any gui like c++/visual c avalable for centos? Thank you _______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Kwan Lowe 05-03-2010 12:48 PM

gcc?
 
On Mon, May 3, 2010 at 8:26 AM, Massey, Ricky <ricky.massey@lmco.com> wrote:
> Try kdevelop.

Will second this... It comes with project templates for anything from
a simple shell "helloworld" to full blown GUI apps.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Les Mikesell 05-03-2010 12:50 PM

gcc?
 
Robert Heller wrote:
> At Mon, 3 May 2010 08:38:26 +0100 CentOS mailing list <centos@centos.org> wrote:
>
>>
>>
>>> Are you trying to ask for a recommendation for a programmers editor?
>> Thank you for your reply. Actually, I do not just need an C code editor but
>> I am seeking if a complete software package like c++/visual c on Windows
>> does exist for CentOS that enables for editing, debugging, running, online
>> help for all of the commands, etc. Can you please let me know if such a
>> complete package if available?
>
> What you are looking for is called an IDE (Integrated Development
> Environment). I believe that such a thing exists for the UNIX/Linux
> world, but I have had no experience with such tools under UNIX (few
> UNIX programmers bother with something like that).

That's probably not true any more, especially for languages like java that like
to put each class in its own file. In fact, if there is any chance that you'll
ever program in java, I would just start with eclipse since it will also handle
C and some other languages nicely. "yum install eclipse-platform".

--
Les Mikesell
lesmikesell@gmail.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

05-03-2010 01:38 PM

gcc?
 
> Robert Heller wrote:
>> At Mon, 3 May 2010 08:38:26 +0100 CentOS mailing list
>> <centos@centos.org> wrote:
>>
>>>> Are you trying to ask for a recommendation for a programmers editor?
>>> Thank you for your reply. Actually, I do not just need an C code editor
>>> but I am seeking if a complete software package like c++/visual c on
>>> Windows does exist for CentOS that enables for editing, debugging,
>>> running, online
>>> help for all of the commands, etc. Can you please let me know if such a
>>> complete package if available?
>>
>> What you are looking for is called an IDE (Integrated Development
>> Environment). I believe that such a thing exists for the UNIX/Linux
>> world, but I have had no experience with such tools under UNIX (few
>> UNIX programmers bother with something like that).
>
> That's probably not true any more, especially for languages like java that
> like to put each class in its own file. In fact, if there is any chance
> that you'llever program in java, I would just start with eclipse since it
> will also handle
> C and some other languages nicely. "yum install eclipse-platform".

Assuming your system can handle the what, 1G+ IDE, and do so with
reasonable speed....

mark

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 11:04 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.