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

From: Todd Vierling <tv(at)pobox(dot)com>
To: Thilo Manske <Thilo(dot)Manske(at)HEH(dot)Uni-Oldenburg(dot)DE>
Cc: Mark Hollomon <mhh(at)nortelnetworks(dot)com>, pgsql-hackers(at)postgreSQL(dot)org, current-users(at)netbsd(dot)org
Subject: Re: [HACKERS] Re: More on shared objects problem
Date: 1999-07-27 19:04:34
Message-ID: Pine.NEB.4.10.9907271503440.7983-100000@server.int.duh.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 27 Jul 1999, Thilo Manske wrote:

: if echo __ELF__ | ${CC} -E - | grep -q __ELF__; then
: # ELF
: else
: # a.out
: fi
:
: This is not my idea, it's from the patches for apache in the package tree.

It's actually backwards. If the "grep -q" returns true, it's an a.out
system (since cpp did *not* replace __ELF__ with 1).

--
-- Todd Vierling (tv(at)pobox(dot)com)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ryan Kirkpatrick 1999-07-27 19:48:49 Re: [PORTS] RedHat6.0 & Alpha
Previous Message Thilo Manske 1999-07-27 18:41:08 Re: [HACKERS] Re: More on shared objects problem