From: llewelly@198.dsl.xmission.com
To: berty <berty@basset.com>
Cc: help-gcc@gnu.org
Subject: Re: compiling c++ using gcc
Date: Wed, 29 Dec 1999 14:14:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.10.9912291511140.21772-100000@198.dsl.xmission.com> (raw)
In-Reply-To: <axva4.8987$vi5.234949@nnrp3.clara.net>
$info gcc
To learn about gcc.
$g++ -g -Wall -o foo foo.cc
-g == enable debugging
-Wall == enable warnings ... which you SHOULD heed.
foo.cc == name of the file containing c++ code.
-o foo == name of the produced executable. If you don't pass gcc this
option, it will name the executable a.out .
On Wed, 29 Dec 1999, berty wrote:
> hi
>
> could someone please tell me the command which will enable me to compile a
> program i have written in c++ using te gcc compiler. I assume it is
> something along the lines of the -lm command which i believe includes the
> maths library
>
> thanks in advance
>
>
WARNING: multiple messages have this Message-ID
From: llewelly@198.dsl.xmission.com
To: berty <berty@basset.com>
Cc: help-gcc@gnu.org
Subject: Re: compiling c++ using gcc
Date: Fri, 31 Dec 1999 22:24:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.10.9912291511140.21772-100000@198.dsl.xmission.com> (raw)
Message-ID: <19991231222400.GIEncxjzhe5aG25SsGlK4XqN_GYLuF9GZFPafLlr3dA@z> (raw)
In-Reply-To: <axva4.8987$vi5.234949@nnrp3.clara.net>
$info gcc
To learn about gcc.
$g++ -g -Wall -o foo foo.cc
-g == enable debugging
-Wall == enable warnings ... which you SHOULD heed.
foo.cc == name of the file containing c++ code.
-o foo == name of the produced executable. If you don't pass gcc this
option, it will name the executable a.out .
On Wed, 29 Dec 1999, berty wrote:
> hi
>
> could someone please tell me the command which will enable me to compile a
> program i have written in c++ using te gcc compiler. I assume it is
> something along the lines of the -lm command which i believe includes the
> maths library
>
> thanks in advance
>
>
next prev parent reply other threads:[~1999-12-29 14:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-29 14:07 berty
1999-12-29 14:14 ` llewelly [this message]
1999-12-31 22:24 ` llewelly
1999-12-30 15:00 ` Rick Dearman
1999-12-31 22:24 ` Rick Dearman
2000-01-02 17:12 ` Thomas Lionel SMETS
2000-04-01 0:00 ` Thomas Lionel SMETS
1999-12-31 22:24 ` berty
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=Pine.LNX.4.10.9912291511140.21772-100000@198.dsl.xmission.com \
--to=llewelly@198.dsl.xmission.com \
--cc=berty@basset.com \
--cc=help-gcc@gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).