[99] in SIPB_Linux_Development

home help back first fref pref prev next nref lref last post

Re: How are you handling some things?

daemon@ATHENA.MIT.EDU (Calvin Clark)
Wed Jul 21 15:13:55 1993

Date: Wed, 21 Jul 93 15:13:28 EDT
From: Calvin Clark <ckclark@mit.edu>
To: haynes@cats.ucsc.edu (Jim Haynes)
Cc: linux-dev@mit.edu, ckclark@athena.mit.edu
In-Reply-To: Your message of Tue, 20 Jul 93 23:21:04 -0700.
             <9307210621.AA01182@hobbes.ucsc.edu> 

Since the only compiler I use is gcc (and it's the only compiler
I think most people use), and gcc defines __linux, I use that.
(It defines `linux', too, but only if you don't give -ansi, which
I sometimes like to use.)  Many of the changes are not
linux-specific, though.  If they are POSIX-specific or simply
non-BSD specific, then using linux or __linux isn't right.

As for machtype, it doesn't look like anyone has ported it for
real yet:

$ cat /usr/local/bin/machtype
#!/bin/sh
 
echo linux
exit 0

-Calvin

home help back first fref pref prev next nref lref last post