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

Russell King (rmk@arm.linux.org.uk)
Wed, 24 Jul 2002 10:26:06 +0100


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
             http://www.arm.linux.org.uk/personal/aboutme.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/