Subject Re: compile api1.c
Author vandy899
--- In firebird-support@yahoogroups.com, "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"

One more thing: You will normally use a Makefile to do this in future
- all you need to do for that is set the CFLAGS appropriately in the
Makefile.