Re: Linux 1.3.66: Problem with SCSI bus scan

Doug Liu (deischen@iworks.interworks.org)
Sun, 25 Feb 1996 16:36:56 -0600


> > Please install or link cpp in /usr/bin. You haven't successfully built
> > the kernel with the aic7xxx driver. The new version of the driver needs
> > the C preprocessor (cpp) to preprocess the sequencer code.
>
> 1. cpp is traditionally in /lib, not in /usr/bin.
> 2. you should use gcc -E, anyway.
>
> --
> - David A. Holland | Number of words in the English language that
> dholland@hcs.harvard.edu | exist because of typos or misreadings: 381

Actually, the assembler (aic7xxx_seq.c) searches the for the following:

static const char *cpp[] = {
"/lib/cpp -P - -",
"/usr/lib/cpp -P - -",
"/usr/bin/cpp -P - -",
"/usr/bin/gcc -E -P -",
"/usr/bin/cc -E -P -"
};

I just said /usr/bin/cpp because that's what FreeBSD uses in its version of the
assembler. I was using FreeBSD at the time I replied, didn't have access to
the Linux source, and couldn't remember all the paths searched. I knew that
/usr/bin/cpp would work...

Dan Eischen
deischen@iworks.InterWorks.org