[uClinux-dev] Building 2.4 and 2.6 based distro with glibc from
the same Snapgear package
Greg Ungerer
gerg at snapgear.com
Wed Oct 3 23:43:43 EDT 2007
Hi Dave,
Dave Rensberger wrote:
> My company has a product that's based on Snapgear 3.2 with a 2.4
> kernel. I know that 3.2 is old, but our product requirements mandate a
> glibc based distribution, and 3.2 seems to be the last snapgear where
> glibc is supported and works (3.3 still has glibc as an option, but it
> doesn't appear to build). I'm still building this with the "20030927"
> toolchain, because I've found that the newer toolchains that snapgear
> provides won't actually build SG 3.2's 2.4 kernel.
>
> I'm working on a new product where I'd really like to use a 2.6 kernel
> for increased driver compatibility. Since you can't really install
> multiple snapgear toolchains on the same build machine, I'd like to use
> the same toolchain to build both the 2.4 based distro for the old
> product and the 2.6 based one for the new product.
>
> Does anyone know if such a toolchain exists that can build both a 2.4
> based and 2.6 based SG3.2 distibution? The "20030927" toolchain won't
> build the 2.6 kernel, and the "20051123" toolchain is too new to build
> 3.2's 2.4 kernel.
On this point, you mean that the older 2.4 source you have won't
cleanly compile with a more modern compiler.
If you get more recent snapgear source packages they contain
updated 2.4 kernel sources that be built with more modern tool chains.
> I think Snapgear released some toolchains between
> these two that might work, but they're no longer available on the
> snapgear ftp server.
>
> Does anyone know where I might find archived versions of the older
> snapgear toolchains? Does anyone know of another solution to my
> problem? The thing I really want to avoid is having to use 2 different
> build machines, which I think I'd have to do if I can't find a single
> toolchain that can build both. Is there any easy way to install and use
> 2 different snapgear toolchains on the same build machine? I'm pretty
> sure that I once tried to install the toolchain in a location other than
> "/", and it didn't work because the binaries were hard coded to look for
> header files in the absolute directory /usr/local/arm-linux/include.
Ideally you want to use the 3.4.4 toolchain for all. The older 3.3.2 is
known to be buggy on some code. Update your 2.4 source if you can.
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: gerg at snapgear.com
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
More information about the uClinux-dev
mailing list