Subject: Re: CVS commit: basesrc/usr.bin/file
To: NetBSD Userlevel Technical Discussion List <tech-userlevel@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: tech-userlevel
Date: 06/05/2002 11:21:03
[ On Wednesday, June 5, 2002 at 10:51:47 (-0400), der Mouse wrote: ]
> Subject: Re: CVS commit: basesrc/usr.bin/file
>
> (b) The compiled file *reader* is a NetBSD-only program, I think?  Only
>     the *writer* is liable to be compiled with non-gcc?  In that case,
>     the writer should be super-careful, but the reader can overlay a
>     struct and count on gcc to make it work "right".

That would be a rather ugly hack that should be avoided if at all possible.

After all we're not talking about cycle-critical kernel interrupt code here!

-- 
								Greg A. Woods

+1 416 218-0098;  <gwoods@acm.org>;  <g.a.woods@ieee.org>;  <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>