[coldfire-gnu-discuss] CS and 2.4.x vs. 2.6.x
Daniel Jacobowitz
dan at codesourcery.com
Tue Apr 15 15:08:09 UTC 2008
On Tue, Apr 15, 2008 at 09:09:45AM +0200, Martin Voss wrote:
> Hi,
>
>
>
> We have tried the CodeSourcery 4.2.1 toolchain for a MCF5208 based
> platform. We have also tried to compile the latest (20070130 + patch to
> bring it up to March 2008) uClinux-dist. We have successfully compiled
> both 2.6.x and 2.4.x kernels and they seem to work. However, is it at
> all correct to try and compile the 2.4 kernel and build user
> applications for the 2.4 kernel using this toolchain?
We build our glibc-based toolchains to require 2.6. I don't think the
uClibc toolchains have any similar knob, but we never test them with
2.4 and we recommend the use of 2.6. So, it might work with 2.4, but
we can't recommend it.
As for building the kernel itself, our experience is that the
Linux/uClinux kernel assumes too much about the tools used to build
it. So using a very new compiler and a very old kernel rarely works.
It may compile but not work correctly due to any number of problems
fixed in 2.6. uClibc is not involved here, only gcc and binutils.
--
Daniel Jacobowitz
CodeSourcery
More information about the coldfire-gnu-discuss
mailing list