RE: [INTERFACES] Linking Errors

Поиск
Список
Период
Сортировка
От Ansley, Michael
Тема RE: [INTERFACES] Linking Errors
Дата
Msg-id 1BF7C7482189D211B03F00805F8527F748C476@S-NATH-EXCH2
обсуждение исходный текст
Ответ на [INTERFACES] Linking Errors  (Mike <mfre@telusplanet.net>)
Список pgsql-interfaces
>> 2. When I set the -lpq and -lpq++ I know it is suppose to be including
>> those libraries but do I need to tell the system where those libraries
>> are?  How does it know?
You add a -L switch to the command line to add library paths, and a -I
switch for include paths:

c++ -o test -L$PGHOME/lib -I$PGHOME/include -lpq -lpq++ test.c

or something...


MikeA


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Tibor Laszlo
Дата:
Сообщение: psql - odbc - bde - data dictionary
Следующее
От: Byron Nikolaidis
Дата:
Сообщение: Re: [INTERFACES] Re: ODBC drive strange behavior