Telling csh about multiple, machine-dependent libraries
Der Tynan
dtynan at sultra.UUCP
Sat Nov 19 09:58:45 AEST 1988
In article <6490 at csli.STANFORD.EDU>, gandalf at csli.STANFORD.EDU (Juergen Wagner) writes:
> where the file ~/conf/hosttype contains something like
> # if sun
> # undef sun
> # ifdef sparc
> # undef sparc
> sparc
> # else
...
>
> This uses the guaranteed feature of cpp to have the predefined symbols "sun",
> "sparc", "vax", "hpux", etc. Everything else seemed to be different across
> machine architectures.
>
> Juergen Wagner gandalf at csli.stanford.edu
This may not work either. At least, not in the general case. For example,
what's the definition for a 68000? I've seen both m68000 and m68k used.
Similar things happen with the Intel family. Also, for example, the MINIX
C compiler balks when it sees;
#ifdef 3b1
For some reason it doesn't like the '3'. What we need around here, is a
'standard'!
- Der
--
dtynan at zorba.Tynan.COM (Dermot Tynan @ Tynan Computers)
{apple,mips,pyramid,uunet}!Tynan.COM!dtynan
--- If the Law is for the People, then why do we need Lawyers? ---
More information about the Comp.unix.questions
mailing list