Re: Fortran functions?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fortran functions?
Дата
Msg-id 10701.1026876658@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Fortran functions?  (Lamar Owen <lamar.owen@wgcr.org>)
Список pgsql-general
Lamar Owen <lamar.owen@wgcr.org> writes:
> Has anyone here successfully used Fortran functions in PostgreSQL
> using g77 as the compiler?

No ... but g77 is supposed to produce C-compatible object code as long
as the Fortran isn't too oddball.  I've called g77 Fortran code from C
myself.  (Not sure what you're supposed to do if the Fortran code wants
to pass parameters through unnamed COMMON blocks, or other weirdnesses
:-()

I'd bet you could make it work with at most a thin layer of C wrapper
code.  Are you running into any specific problems?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: OIDs (Or: another RTFM question?)
Следующее
От: Steve Lane
Дата:
Сообщение: Logging SQL queries?