Re: Compile Bogons in 2.4.19-rc3 with Caldera OpenLinux 3.1's patched 2.95.2

Russell King
2002-07-24T09:22:57Z

On Wed, Jul 24, 2002 at 05:23:12AM -0400, D. A. M. Revok wrote:
> Oh, I didn't know that. . .
> How's it supposed to know which version to include if there are 2 versions.
> . . hmmm . . . probably by specifying somesort of include-path that puts 'em
> in order-of-preference, then.

When building a kernel, paths specified with the gcc -I flag are searched
first, then the default include directory paths.

In later kernels, gcc is told not to use the default include directory
paths to stop it looking there and picking up an old header file.

--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux