Date: Sun, 6 Dec 1998 20:18:13 -0800 (PST) From: Archie Cobbs <archie@whistle.com> To: bde@zeta.org.au (Bruce Evans) Cc: phk@critter.freebsd.dk, freebsd-hackers@FreeBSD.ORG Subject: Re: getting to -Wunused Message-ID: <199812070418.UAA14502@bubba.whistle.com> In-Reply-To: <199812070405.PAA03585@godzilla.zeta.org.au> from Bruce Evans at "Dec 7, 98 03:05:39 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans writes: > >By the way, I neede to add "-aout": > > Use `OBJFORMAT=aout kernxref.sh'. Surely there's a way to have the script detect OBJFORMAT automatically. How about this... if file vers.o | grep -q ELF; then OBJFORMAT="elf"; else OBJFORMAT="aout"; fi OBJFORMAT=${OBJFORMAT} nm -gon ... -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812070418.UAA14502>