Re: [HACKERS] Re: More on shared objects problem - Mailing list pgsql-hackers

From Mark Hollomon
Subject Re: [HACKERS] Re: More on shared objects problem
Date
Msg-id 379DFBE1.E526978C@americasm01.nt.com
Whole thread Raw
In response to Re: More on shared objects problem  ("D'Arcy" "J.M." Cain <darcy@druid.net>)
Responses Re: [HACKERS] Re: More on shared objects problem
List pgsql-hackers
D'Arcy J.M. Cain wrote:
>  
> 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?

The test I use is to compile a program that opens its own executable
and checks for the magic number.

\127ELF as I remember.

-- 

Mark Hollomon
mhh@nortelnetworks.com
ESN 451-9008 (302)454-9008


pgsql-hackers by date:

Previous
From: "Hub.Org News Admin"
Date:
Subject: ...
Next
From: Thilo Manske
Date:
Subject: Re: [HACKERS] Re: More on shared objects problem