nixpkgs/pkgs/development
Lluís Batlle i Rossell b1b7266aa3 After some testing with an ultrasparc cross-compiler:
Updating the cross-build expressions, adding some flexibility.
Updated the linux headers used cross building, as 2.6.28 had bugs on endianness in
sparc64.
There were, as usual some bugs in gcc. Maybe not many make a cross compiler to
ultrasparc.

For the record, I could build an ultrasparc kernel with this base nix:
import /etc/nixos/nixpkgs/default.nix   # The root nixpkgs default.nix
{
    crossSystem = {
        config = "sparc64-unknown-linux";
        bigEndian = true;
        arch = "sparc64";
        float = "soft";
        withTLS = true;
        cpu = "ultrasparc";
    };

    config = pkgs: {
      packageOverrides = pkgs : {
        platform = {
            name = "sparc64";
            kernelHeadersBaseConfig = "sparc64_defconfig";
            kernelBaseConfig = "sparc64_defconfig";
            kernelArch = "sparc";
            kernelAutoModules = false;
            kernelTarget = "zImage";
            uboot = null;
        };
      };
    };
}

Although it did not boot directly in qemu-system-sparc64:
[sparc64] Kernel already loaded
Unhandled Exception 0x0000000000000020
PC = 0x0000000000404000 NPC = 0x0000000000404004

svn path=/nixpkgs/trunk/; revision=20269
2010-02-27 00:52:48 +00:00
..
compilers After some testing with an ultrasparc cross-compiler: 2010-02-27 00:52:48 +00:00
eclipse ECJ 3.5.1. 2009-11-05 14:36:45 +00:00
guile-modules Add GNU guile-gnome. 2009-10-05 22:21:50 +00:00
interpreters Update PLT Scheme 2010-02-20 18:34:50 +00:00
libraries After some testing with an ultrasparc cross-compiler: 2010-02-27 00:52:48 +00:00
misc removing old bleeding edge cruft replacing it by a niftier version using 2009-12-11 13:58:23 +00:00
perl-modules * Doh. 2010-02-09 10:43:13 +00:00
python-modules Remove erroneous mkDerivation 2010-02-21 07:34:50 +00:00
ruby-modules
tools Updating ddd, and adding a small patch for it to compile with gcc 4.4 2010-02-22 08:08:29 +00:00