Re: More on shared objects problem

Поиск
Список
Период
Сортировка
От Todd Vierling
Тема Re: More on shared objects problem
Дата
Msg-id Pine.NEB.4.10.9907271356340.1286-100000@server.int.duh.org
обсуждение исходный текст
Ответ на Re: More on shared objects problem  ("D'Arcy" "J.M." Cain <darcy@druid.net>)
Список pgsql-hackers
On Tue, 27 Jul 1999, D'Arcy J.M. Cain wrote:

(Note that pgsql-hackers is not in my To: header, as I'm not on the list and
cannot post.)

: So how do we determine that a system is elf?  I don't see it in uname.  Do
: we just run file(1) on the kernel and see if the string "ELF" shows up?

On NetBSD, the following will do it.  This may even be platform independednt
if "grep -q" is replaced by "grep >/dev/null 2>&1".

if echo __ELF__ | ${CC} -E - | grep -q __ELF__; then ... a.out action ...
else ... ELF action ...
fi

-- 
-- Todd Vierling (tv@pobox.com)



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

Предыдущее
От: "Mark Hollomon"
Дата:
Сообщение: Re: dynloader and PLs [was: plperl intial pass]
Следующее
От: "Hub.Org News Admin"
Дата:
Сообщение: ...