nixpkgs/pkgs/development/compilers
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
..
abc * Remove calls to fail(). 2008-04-23 07:34:20 +00:00
adobe-flex-sdk enable fcsh (Adobe Flex compiler shell) - result: faster (flex / as3) compilation using mxmlc 2010-01-04 07:44:27 +00:00
aspectj * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl 2007-08-24 12:32:36 +00:00
bigloo Bigloo 3.2a. 2009-01-11 22:49:44 +00:00
ccl Added Clozure CL 2010-02-24 09:04:29 +00:00
dev86 Stole a patch from the cross-lfs project in order to compile dev86 on x86-64 linux 2009-04-15 09:36:17 +00:00
ecl Fix argument retrieval 2010-02-26 07:14:11 +00:00
ehc Nix expression for EHC 2008-03-18 13:44:27 +00:00
flapjax - fetchdarcs supports now partial 2008-03-06 02:46:29 +00:00
fpc Also fix ppc* copying in source fpc builder 2010-01-15 10:43:21 +00:00
gcc-2.95 * Got rid of a lot of "postInstall=postInstall" and similar lines in 2009-04-23 13:31:10 +00:00
gcc-3.3 * Got rid of a lot of "postInstall=postInstall" and similar lines in 2009-04-23 13:31:10 +00:00
gcc-3.4 * Got rid of a lot of "postInstall=postInstall" and similar lines in 2009-04-23 13:31:10 +00:00
gcc-4.0 * Got rid of a lot of "postInstall=postInstall" and similar lines in 2009-04-23 13:31:10 +00:00
gcc-4.1 * Got rid of a lot of "postInstall=postInstall" and similar lines in 2009-04-23 13:31:10 +00:00
gcc-4.2 * Got rid of a lot of "postInstall=postInstall" and similar lines in 2009-04-23 13:31:10 +00:00
gcc-4.3 Fixing the gcc/gcc-wrapper so 'ghdl' gets the proper wrapper (langVhdl = true, 2010-01-27 16:29:11 +00:00
gcc-4.4 After some testing with an ultrasparc cross-compiler: 2010-02-27 00:52:48 +00:00
gcc-apple * gcc-apple fixes for darwin 2009-07-24 12:28:39 +00:00
gcc-apple64 merged x86_64 changes back to trunk 2009-12-02 21:03:02 +00:00
gcc-upc-4.0 * Got rid of a lot of "postInstall=postInstall" and similar lines in 2009-04-23 13:31:10 +00:00
gcl Comment out gcl as broken 2009-11-06 09:44:03 +00:00
ghc I'll try to remove the hydra evaluation errors (throws) about ghc bootstrapping. 2010-02-13 16:48:12 +00:00
gnatboot The fix in r19516 made evident an error in the gnatboot expression, about 2010-01-18 23:28:58 +00:00
go * Update Go's version. Make 8g & 8l commands working with no need of 2009-11-16 18:42:43 +00:00
gprolog Add GNU Prolog. 2009-02-19 13:32:07 +00:00
gwt Increased the heap size of the GWT compiler to 256 MiB 2009-11-20 11:37:11 +00:00
gwydion-dylan * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl 2007-08-24 12:32:36 +00:00
haxe removing old bleeding edge cruft replacing it by a niftier version using 2009-12-11 13:58:23 +00:00
helium * "." -> "source". 2005-12-05 14:11:09 +00:00
hugs replacing applyAndFun by lib.defaultOverridableDelayableArgs 2009-03-06 23:21:28 +00:00
iasl Fixing the name of iasl. 2009-04-16 07:19:31 +00:00
idris Added Idris and updated fetchdarcs. 2009-05-13 19:02:23 +00:00
ikarus * Removed selectVersion. There's no good reason to write 2009-11-18 09:39:59 +00:00
jdk Updating sun java jdk. I expected some problems to be solved, but they work the same 2009-10-13 21:45:20 +00:00
jikes * Rewrite all the SourceForge URLs to mirror://sourceforge/. 2007-08-27 13:01:33 +00:00
llvm FullDepEntry -> fullDepEntry, PackEntry -> packEntry 2009-05-19 23:25:58 +00:00
meta-environment/meta-build-env removed metaBuildEnvTrunk, not necessary any more 2009-04-07 13:57:26 +00:00
mono * added -lgcc_s to NIX_LDFLAGS of mono 2009-10-19 11:26:13 +00:00
mozart Added mozart system (compiles, but untested). 2009-12-29 14:57:01 +00:00
nasm svn path=/nixpkgs/trunk/; revision=15605 2009-05-14 14:43:50 +00:00
neko removing old bleeding edge cruft replacing it by a niftier version using 2009-12-11 13:58:23 +00:00
ocaml Merging from trunk. 2009-12-12 18:39:09 +00:00
opencxx * Rewrite all the SourceForge URLs to mirror://sourceforge/. 2007-08-27 13:01:33 +00:00
openjdk-darwin added openjdk for darwin (binaries) for testing 2009-10-02 12:12:23 +00:00
polyml Add expression for PolyML 2009-12-10 13:16:06 +00:00
qcmm * Get rid of all references to nix.cs.uu.nl. 2008-11-14 16:57:19 +00:00
qi * Removed selectVersion. There's no good reason to write 2009-11-18 09:39:59 +00:00
roadsend replacing applyAndFun by lib.defaultOverridableDelayableArgs 2009-03-06 23:21:28 +00:00
sbcl Nuke networking tests for SBCL 2010-02-17 10:40:25 +00:00
scala version update 2008-05-07 18:37:55 +00:00
stalin Add Stalin, an efficient Scheme compiler. 2008-05-29 12:10:10 +00:00
strategoxt update strategoxt 0.18pre version 2010-02-24 08:50:59 +00:00
swi-prolog pkgs/development/compilers/swi-prolog/default.nix: updated to version 5.6.64 and enabled GUI support 2009-12-09 14:07:09 +00:00
tiger * "." -> "source". 2005-12-05 14:11:09 +00:00
tinycc Try protecting FreeBSD from instntiating TinyCC 2008-11-03 19:16:21 +00:00
visual-c++ * Microsoft Windows SDK, purified. Small problem: building the SDK 2006-06-05 22:03:52 +00:00
webdsl * Improved a bunch of "name" attributes (mostly missing version 2009-10-28 14:06:56 +00:00
yap * Improved a bunch of "name" attributes (mostly missing version 2009-10-28 14:06:56 +00:00