This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
using external library
- To: help-gcc at gnu dot org
- Subject: using external library
- From: Rebecca Phan <rphan at nrcan dot gc dot ca>
- Date: Wed, 10 Nov 1999 15:12:55 -0700
- Newsgroups: gnu.gcc.help
- Organization: Northern Forestry Centre
- Xref: wodc7nx0 gnu.gcc.help:1770
Hi there,
My compiler just got upgraded from gcc 2.72 to gcc 2.95. I want to use
the library in gcc 2.72 because my program uses string functions in this
library that the string library in gcc 2.95 don't have, like "prepend"
and "index". I copied the library directory into the folder containing
my program and include the string file in my program like this:
#include <.../..../..../string.h>
This didn't work. I get an error message saying that it can't find
.../..../..../string.h. Do I need to add something to my makefile to
let the compiler know that I'm using an external library? Is there
anythign else I haven't considered?
Thanks in advance.