linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel" <uval@rz.uni-karlsruhe.de>
To: linux-c-programming@vger.kernel.org
Subject: Re: start learning gcc...?
Date: Thu, 25 Apr 2002 10:42:25 +0200	[thread overview]
Message-ID: <001b01c1ec35$1ff200e0$444615ac@stud.unikarlsruhe.de> (raw)
In-Reply-To: 567847100.20020409184820@sby.centrin.net.id

There are a lot of tutorals on web(in many languages). Try with google.
Do you want to learn C or C++ ? You write about gcc, there also a C++
Compiler
in Linux available  g++ .(Both of them are for using in shell, I prefer a
bash shell)
The options you need are simple.(and equal in gcc and g++ / see for example
g++ --help , and gcc --help / both are GNU-Compiler, that's why the syntax
is equal)
Option "g++ -o prog prog.cpp " creates a binary named  "prog" not "a.out" .
(Important : if shell don't start your programm
by its name (here "prog") use "./prog" that means for shell : execute the
binary
in the current directory:)

ok ?
Bye

----- Original Message -----
From: "adwin" <fox@sby.centrin.net.id>
Newsgroups: ka.lists.linux.c.programming
Sent: Tuesday, April 09, 2002 4:46 PM
Subject: start learning gcc...?


> Hi...
>
> I'm newbie here...:)(also newbie in Linux)
> I  know  a  little  about C/C++ programming (in DOS) and now I want to
> learn  about GCC, where I can find some (good) tutorials about it (urls
> please)?
> may be I need some example for compiling (and debugging) with
> gcc...because gcc's option too many and it's not simple I think.
>
> And, also, where I can find some good tutorials about using KDevelop ?
>
> thank you...
>
> --
> Best regards,
>  adwin
>
> -
> To unsubscribe from this list: send the line "unsubscribe
linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>
>
> --------------------------------------------------------------------------
-----
>    Achtung: diese Newsgruppe ist eine unidirektional gegatete
Mailingliste.
>      Antworten nur per Mail an die im Reply-To-Header angegebene Adresse.
>                    Fragen zum Gateway -> newsmaster@inka.de.
> --------------------------------------------------------------------------
-----


      reply	other threads:[~2002-04-25  8:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-09 11:48 start learning gcc...? adwin
2002-04-25  8:42 ` Daniel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001b01c1ec35$1ff200e0$444615ac@stud.unikarlsruhe.de' \
    --to=uval@rz.uni-karlsruhe.de \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).