public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Alexandre Oliva <aoliva@redhat.com>
To: nimrod99@dingoblue.net
Cc: gcc-help@gcc.gnu.org
Subject: Re: Problem with header files.
Date: Fri, 03 Aug 2001 16:49:00 -0000	[thread overview]
Message-ID: <orr8usaen7.fsf@feijoada.lsd.ic.unicamp.br> (raw)
In-Reply-To: <01080409411301.19611@Hand_Of_God>

On Aug  3, 2001, Matt R <nimrod99@dingoblue.net> wrote:

> I have a problem getting GCC to refer to header files.

No, your problem is not about header files, it's about libraries, that
are a completely different thing.  Headers supply declarations or
inline implementations; libraries supply implementations for functions
that are only declared in headers, or that fail to be inlined.  The
library in which sqrt() is defined is the math library, that you can
link in by adding `-lm' to the link command.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

  parent reply	other threads:[~2001-08-03 16:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-03 16:32 Matt R
2001-08-03 16:43 ` David Berthelot
2001-08-03 16:49 ` Alexandre Oliva [this message]
2001-08-03 17:52   ` Problem with header files. YeHaaaaaa!!!!! Matt R

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=orr8usaen7.fsf@feijoada.lsd.ic.unicamp.br \
    --to=aoliva@redhat.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=nimrod99@dingoblue.net \
    /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).