Problem with header files.
Alexandre Oliva
aoliva@redhat.com
Fri Aug 3 16:49:00 GMT 2001
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
More information about the Gcc-help
mailing list