Subject | Re: compile api1.c |
---|---|
Author | vandy899 |
Post date | 2005-01-23T22:46:56Z |
--- In firebird-support@yahoogroups.com, "nightslord"
<nightslord@y...> wrote:
You could also set several environment variables - see man gcc. The
ones you're interested in are: LIBRARY_PATH and CPATH
<nightslord@y...> wrote:
>man ldconfig: add it to /etc/ld.so.conf
> 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"
You could also set several environment variables - see man gcc. The
ones you're interested in are: LIBRARY_PATH and CPATH