public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Andrew Bell" <andrew.bell.ia@gmail.com>
To: "Phil Richcreek" <philRichcreek@insight.rr.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: HOWTO Compile with gcc
Date: Fri, 08 Aug 2008 20:49:00 -0000	[thread overview]
Message-ID: <e80abd30808080912y32c61f6ewd103411aa2e43ba@mail.gmail.com> (raw)
In-Reply-To: <010a01c8f96c$c5806790$1f12fea9@Dell8250Den>

On Fri, Aug 8, 2008 at 10:38 AM, Phil Richcreek
<philRichcreek@insight.rr.com> wrote:
> I need to compile and execute a C program that belongs to a another party.
> The author has made all of the source code available to me. My environment
> is Windows/XP SP2. The material the author made available includes several
> .c files, several .h files, and a makefile.  I will be using a library that
> is created by one of the C programs in a perl program and also executing
> another (provided) C program that will excercise the same library.
>
> I have installed MinGW. I have little experience with C and even less with
> gcc. I've looked through some of the extensive documentation for gcc but am
> still uncertain how to get started. Can someone give me some guidance?

You may just be able to go to the directory where the makefile sits
and type "make".  Beyond this, it really depends on your
configuration.  gcc isn't special with regards to compilers -- it
pretty much works the same as others you might have used.

-- 
Andrew Bell
andrew.bell.ia@gmail.com

      reply	other threads:[~2008-08-08 16:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-08 16:12 Phil Richcreek
2008-08-08 20:49 ` Andrew Bell [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=e80abd30808080912y32c61f6ewd103411aa2e43ba@mail.gmail.com \
    --to=andrew.bell.ia@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=philRichcreek@insight.rr.com \
    /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).