Re: [GENERAL] Trigonometry

Поиск
Список
Период
Сортировка
Искать
От
Statistical Solutions
Тема
Re: [GENERAL] Trigonometry
Дата
Msg-id
Pine.GSO.4.05.9904231254340.10449-100000@gecko
Ответ на
Trigonometry (lynch@cognitivearts.com (Richard Lynch))
Список
Дерево обсуждения
Trigonometry lynch@cognitivearts.com (Richard Lynch)
Re: [GENERAL] Trigonometry Statistical Solutions <statsol@statsol.com>
On Fri, 23 Apr 1999, Richard Lynch wrote:

> I *can* compile c code, so if somebody could 'splain to a Lisp hacker how
> to make a gpsdistance.so that would maybe work?

Richard,
if you are using gcc use the -G or the -shared option.  (I believe -shared
is the preferred usage now but -G works also).

gcc -shared -fPIC -o myGPSfuncs.so myGPSfuncs.c -lm

(last is just to link in the math libraries).

Sometimes, its wise to add the -R flag, along with the appropriate paths
for where shared libraries reside, as in
gcc- shared -fPIC -R/usr/local/lib:/usr/lib:/home/me/mylibs -o
myGPSfuncs.so myGPSfuncs.c -lm

so that where when an app needs this library, it knows where to look for
others also.

steve


В списке pgsql-general по дате отправления
От: Bruce Momjian
Дата:
От: M Simms
Дата:
Сообщение: left join
FAQ