Eelco Dolstra
10cb4a8cf2
Merge remote-tracking branch 'origin/master' into multiple-outputs
...
Conflicts:
pkgs/development/libraries/gtk+/2.x.nix
pkgs/development/libraries/libsamplerate/default.nix
pkgs/development/libraries/libsndfile/default.nix
pkgs/misc/cups/default.nix
pkgs/top-level/all-packages.nix
2013-08-21 17:05:30 +02:00
Ludovic Courtès
2e937c437a
unmaintain several packages
2013-08-16 23:45:01 +02:00
Eelco Dolstra
f9523bf1e8
gcc: Put *.la files in $lib/lib as well
...
Otherwise libtool gets confused.
2013-06-12 21:03:21 +02:00
Eelco Dolstra
dbe432e6f4
gcc: Put runtime libraries in a separate output
...
GCC provides a number of libraries that are used by programs built by
GCC, in particular libgcc_s.so and libstdc++.so. This caused programs
that used these libraries to have a runtime dependency on all of GCC
(~77 MiB). Now they only depend on the "lib" output of GCC (~1.6
MiB).
With this and previous multiple-output improvements, closure sizes are
reduced a lot:
hello: 41 MiB -> 22 MiB
patchelf: 118 MiB -> 23 MiB
pan: 364 MiB -> 90 MiB
2013-06-12 16:11:14 +02:00
Eelco Dolstra
42c2be4c30
gcc: Get rid of a unnecessary reference to glibc-dev
2013-06-11 22:45:31 +02:00
Eelco Dolstra
85bdb46370
gcc: Fix building against the split Glibc
2013-06-11 21:00:13 +02:00
Vladimír Čunát
b6e3834ce0
gcc47: minor update to 4.7.3
...
Tested buildability on x86_64-linux + stdenv-updates.
2013-04-12 03:07:31 +02:00
Lluís Batlle i Rossell
9ce7b29393
gcc-wrapper: avoiding one glibc rebuild, for gcc.crossDrv
...
In fact 'glibc.crossDrv' didn't work. I'm not sure it should work; I think it
isn't required for much.
2013-04-10 18:26:42 +02:00
Lluís Batlle i Rossell
c7307122bf
gcc47: Making the arm patch only for arm.
...
I don't know how, but it seems to break mips (noticed by ludo):
http://hydra.nixos.org/build/4530024
2013-03-29 21:56:01 +01:00
Lluís Batlle i Rossell
7405ddee2f
gcc47: fixing the arm eabi hf build
...
Picking an upstream gcc patch.
2013-03-29 18:34:40 +01:00
Vladimír Čunát
8acaea6d57
gcc33: fix build on i686
2013-03-16 21:08:57 +01:00
Vladimír Čunát
198d4fbe41
gcc33: fix build by --disable-multilib
2013-03-16 20:59:46 +01:00
Vladimír Čunát
dd25120e8e
gcc34: fix build on i686
2013-03-16 20:40:04 +01:00
Shea Levy
f081cacda7
gcc: Don't symlink lib and lib64 when building multilib
2013-02-16 18:54:47 -05:00
Eelco Dolstra
2aa6f262cb
Merge remote-tracking branch 'origin/master' into stdenv-updates
2013-02-15 13:36:34 +01:00
Shea Levy
86feda1106
Add multilib gcc-4.6.
...
libquadmath seems to require that the bootstrap gcc be multilib too.
2013-02-08 14:27:42 -05:00
Eelco Dolstra
5f638a4e53
gcc-4.4: Fix build
...
http://hydra.nixos.org/build/3896514
2013-01-29 11:44:08 +01:00
Eelco Dolstra
d2b76e68d0
gcc-4.1: Remove
...
No longer used and doesn't build.
2013-01-28 17:19:03 +01:00
Eelco Dolstra
cb07844c9d
gcc-2.95: Remove
...
Hasn't built in a long time.
2013-01-28 17:19:03 +01:00
Eelco Dolstra
5f6de267f0
gcc-4.0: Remove
2013-01-28 17:19:03 +01:00
Eelco Dolstra
6eb71ff01c
gcc-4.3: Apply siginfo_t fix
...
Borrowed from Gentoo.
2013-01-28 17:19:02 +01:00
Lluís Batlle i Rossell
2402bb2613
gcc: Moving the arch=loongson2f to the current platform approach
2012-12-31 09:38:32 +00:00
Lluís Batlle i Rossell
ba7cde0156
Porting the platform gcc flags support to gcc 4.7
2012-12-31 09:32:11 +00:00
Lluís Batlle i Rossell
97d81bde0c
Adding platform gcc information for raspberrypi, and the gcc support.
...
Without it, gcc builds for softfloat, and the glibc doesn't have support for
softfloat (it ends up requiring some gnu-soft.h file). We'll have to test if
this fixes the build of gcc or not, though.
2012-12-30 21:55:02 +00:00
Lluís Batlle i Rossell
67aa9243f0
Merge branch 'stdenv-updates' into pi-stdenv-updates
...
Conflicts:
pkgs/development/compilers/gcc/4.7/default.nix
Trivial.
2012-12-28 23:30:53 +01:00
Lluís Batlle i Rossell
b58780c43d
Merge remote-tracking branch 'eelco/master' into stdenv-updates
...
Conflicts:
pkgs/development/compilers/gcc/4.7/default.nix
Trivial solution.
2012-12-28 23:28:16 +01:00
Lluís Batlle i Rossell
87ec7b49b1
gcc47: Fixing the gcc.float cross parameters
2012-12-28 21:38:57 +01:00
Lluís Batlle i Rossell
719ba63004
Merge branch 'stdenv-updates' into pi-stdenv-updates
...
Conflicts:
pkgs/development/compilers/gcc/4.6/default.nix
pkgs/development/compilers/gcc/4.7/default.nix
The 4.7 had some weird parameters added in crossAttrs; I've removed
them, but I don't understand where they come from.
2012-12-28 20:14:01 +00:00
Lluís Batlle i Rossell
f2f50c42d2
gcc47: adding --with-float option to gcc builder
...
Meant for cross-building. I need that for the raspberrypi
bootstrap-tools. Before this, its bootstrap-tools gcc built
for softfloat by default.
2012-12-28 21:12:57 +01:00
Lluís Batlle i Rossell
fde74242bf
gcc47: Adding gcc mode, cross-building.
...
It's useful to build toolchains for armv7-m, to set thumb mode. It doesn't
support arm mode. chaoflow needed it.
2012-12-28 20:21:23 +01:00
Eelco Dolstra
88b11196c1
Clean up redundant "if condition then true else false"
2012-12-28 19:57:47 +01:00
Eelco Dolstra
84779a6f7d
Remove unnecessary parentheses around if conditions
...
Pet peeve...
2012-12-28 19:54:15 +01:00
Eelco Dolstra
ab3eeabfed
Rename buildNativeInputs -> nativeBuildInputs
...
Likewise for propagatedBuildNativeInputs, etc. "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00
Eelco Dolstra
5be0a9acd7
Rename hostDrv -> crossDrv, buildDrv -> nativeDrv
...
This is for consistency with terminology in stdenv (and the terms
"hostDrv" and "buildDrv" are not very intuitive, even if they're
consistent with GNU terminology).
2012-12-28 19:08:19 +01:00
Lluís Batlle i Rossell
636303797f
gcc47: moving the bootstrap logic into nix
...
It was in the builder.sh. Similar to the previous patch
to gcc46.
2012-12-27 15:08:17 +00:00
Lluís Batlle i Rossell
f94f53a54e
gcc46: moving the bootstrap logic into nix
...
It was in the builder.sh.
2012-12-27 15:08:16 +00:00
Lluís Batlle i Rossell
d05b33653e
gcc47: moving the bootstrap logic into nix
...
It was in the builder.sh. Similar to the previous patch
to gcc46.
2012-12-27 14:57:32 +00:00
Lluís Batlle i Rossell
e9365882c1
gcc46: moving the bootstrap logic into nix
...
It was in the builder.sh.
2012-12-27 14:54:44 +00:00
Lluís Batlle i Rossell
96b0de4c33
gcc4.7: making the cross-built gcc respect withAbi, withArch, ...
2012-12-26 22:01:51 +00:00
Lluís Batlle i Rossell
6c9002639d
I forgot to undo a gcc46 unneeded change.
2012-12-26 22:01:17 +00:00
Lluís Batlle i Rossell
164a84f8f4
Restoring the gcc 4.6 builder. No need to change it.
2012-12-26 22:01:13 +00:00
Lluís Batlle i Rossell
a29b4228e9
Typo in 4.7 builder.sh
2012-12-26 22:00:53 +00:00
Lluís Batlle i Rossell
52ee2b99ee
gcc47: fix on configureFlags, for cross-built gcc
2012-12-26 22:00:48 +00:00
Lluís Batlle i Rossell
43fac48f15
gcc47: trying to fix cross-building a gcc
2012-12-26 22:00:44 +00:00
Lluís Batlle i Rossell
651734b619
gcc/gcc-cross-wrapper: making gcc47 work with uclibc
...
It wants pthreads, and libpthreads wants libdl, and this can
only be found with -rpath-link when cross building.
2012-12-26 22:00:33 +00:00
Lluís Batlle i Rossell
2194b98565
Removing any cross-building kind of native build for the pi.
2012-12-26 22:00:29 +00:00
Lluís Batlle i Rossell
fc51895afe
Get gccs understand 'fpu'
2012-12-26 22:00:20 +00:00
Lluís Batlle i Rossell
9fdd9d51bd
Setting some kind of cross-compiler situation, for armv6l gnueabihf.
2012-12-26 22:00:15 +00:00
Lluís Batlle i Rossell
b520b4aeee
Fixing my bash scripting of the previous commit
2012-12-26 22:00:11 +00:00
Lluís Batlle i Rossell
43fc5ae7cf
Trying to fix the gcc builder; I added pi flags in the wrong if/else branch.
2012-12-26 22:00:07 +00:00