Hello!

On Sun, 11 Apr 1999, Darius Blaszijk wrote:

> Recently I came across a package witch I want to use in my programs. The
> package consists of a header file (interface) and a *.c source code file
> (implementation). How can I use these files in my application?

What you'll want to do probably is create a library and link it with your 
app. I forget exactly what you're supposed to do to create a static 
library (has something to do with the ar command), but it's like making a 
tar (in this case just ar) file of the object files... 

But if you just want to get it to work, try this:

$ gcc app.c file1.c file2.c file3.c -o app

Or something like that... I think that might work for you...

Hopefully someone else will be able to be more help than I; my mind is 
numbed from doing homework for school tomorrow :)

-Brett

Reply via email to