Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Re: More on shared objects problem

From: "Mark Hollomon" <mhh(at)nortelnetworks(dot)com>
To: pgsql-hackers(at)postgreSQL(dot)org
Cc: Todd Vierling <tv(at)pobox(dot)com>, current-users(at)netbsd(dot)org
Subject: Re: [HACKERS] Re: More on shared objects problem
Date: 1999-07-27 18:35:13
Message-ID: 379DFBE1.E526978C@americasm01.nt.com (view raw or flat)
Thread:
Lists: 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(at)nortelnetworks(dot)com
ESN 451-9008 (302)454-9008

In response to

Responses

pgsql-hackers by date

Next:From: Thilo ManskeDate: 1999-07-27 18:41:08
Subject: Re: [HACKERS] Re: More on shared objects problem
Previous:From: Hub.Org News AdminDate: 1999-07-27 18:08:15
Subject:

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group