Subject | Re: compile api1.c |
---|---|
Author | nightslord |
Post date | 2005-01-23T23:03:54Z |
Thanks vandy899.
--- In firebird-support@yahoogroups.com, "vandy899" <vandy899@y...>
wrote:
--- In firebird-support@yahoogroups.com, "vandy899" <vandy899@y...>
wrote:
>-L
> --- 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
> > infuture
> > > - 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
> - all you need to do for that is set the CFLAGS appropriately in the
> Makefile.