Subject Re: compile api1.c
Author vandy899
--- In, "nightslord"
<nightslord@y...> wrote:
> Thanks. its work!
> But must always use -L parameter?
> to be another way?
> > Sorry, just noticed - that's an example app. You want to put a -L
> in
> > - man gcc is your friend. The command you likely want is "gcc
> > -L/opt/firebird/lib -I/opt/firebird/include -lfbclient api1.c"
man ldconfig: add it to /etc/
You could also set several environment variables - see man gcc. The
ones you're interested in are: LIBRARY_PATH and CPATH