This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

using external library


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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]