Subject: i386: identifying elf systems
To: None <current-users@netbsd.org>
From: Peter Cooper <archiver@db.geocrawler.com>
List: current-users
Date: 02/23/2000 19:10:58
This message was sent from Geocrawler.com by "Peter Cooper" <comrade@obverse.com.au>
Be sure to reply to that address.

Hi

What is the canonical way of identifying whether 
a NetBSD system is primarily an elf or a.out 
system? Release numbers don't seem to be the way 
to go, due to the staged deployment across 
different ports.

I'm toying with something a little like ld --
version | grep -i elf but it's a bit ugly and I 
suppose potentially incorrect, if you've got 
multiple binutils on your system.

Thanks for your help

Peter Cooper
comrade@obverse.com.au

Geocrawler.com - The Knowledge Archive