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
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
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
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
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
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
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
6c9002639d
I forgot to undo a gcc46 unneeded change.
2012-12-26 22:01:17 +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
root
1b29d29c76
First movement to get the raspberrypi stdenv building.
2012-12-26 21:59:54 +00:00
Eelco Dolstra
e4a11b4d92
gcc: Get rid of lib64
2012-10-16 14:34:27 -04:00
Eelco Dolstra
6d27c9d5c3
gcc: Fix building on 32-bit Glibc 2.16
...
http://hydra.nixos.org/build/3046633
2012-09-21 10:53:56 -04:00
Lluís Batlle i Rossell
44b2d21212
Mingw changes to gcc.
...
Removing a gcc flag, --enable-version-specific-runtime-libs, that put gcc libs
in a speparate directory instead of /lib; this broke the installation of
libgcc_s.a for the case of "--enable-shared" in mingw-w64. And we already have all gccs in directories apart.
I also add the option --enable-fully-dynamic-string, which is used in the
prebuilt mingw64 toolchain; this way nixpkgs creates ABI-compatible binaries
with mingw64 upstream. (told by jon_y on irc ##mingw)
svn path=/nixpkgs/trunk/; revision=34242
2012-05-25 13:49:01 +00:00
Lluís Batlle i Rossell
e9186a03b9
Making gcc not build libgomp with uclibc, as it lacks '-ldl' in its checks and
...
I don't know how to add it.
This makes gcc build with uclibc.
svn path=/nixpkgs/trunk/; revision=34231
2012-05-24 21:45:49 +00:00
Lluís Batlle i Rossell
d9fdfffef9
Fixing the mingw cross gcc. I set it not to build shared libraries, because its specs for
...
shared libraries are wrong.
It should run "-lstdc++ -lsupc++" if libstdc++-6.dll is available, and instead it runs
"-lstdc++" and therefore lack symbols.
I think simply few people use shared gcc libs on mingw.
svn path=/nixpkgs/trunk/; revision=34225
2012-05-24 19:02:27 +00:00
Ludovic Courtès
b53f6b9dd0
GCC 4.6: Don't bail out when `gnused' isn't provided.
...
svn path=/nixpkgs/trunk/; revision=33896
2012-04-23 16:28:06 +00:00
Ludovic Courtès
29bc53265d
Darwin: Use GCC 4.6 in `stdenvNix'.
...
svn path=/nixpkgs/trunk/; revision=33894
2012-04-23 15:47:37 +00:00
Ludovic Courtès
cc6f814a8f
GFortran 4.6: Add patch to fix the output of `-v'.
...
svn path=/nixpkgs/trunk/; revision=33154
2012-03-16 13:11:41 +00:00
Ludovic Courtès
09531a24ad
GCC 4.6: Fix `gccCrossStageFinal' for GNU/Hurd.
...
svn path=/nixpkgs/trunk/; revision=32853
2012-03-07 16:01:07 +00:00
Ludovic Courtès
8bab00e0ad
GCC 4.6: Add patch to fix GNU/Hurd builds.
...
svn path=/nixpkgs/trunk/; revision=32837
2012-03-06 21:33:20 +00:00
Eelco Dolstra
a88fdf8ef7
* Oops.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=32737
2012-03-02 09:35:51 +00:00
Ludovic Courtès
79232c5f54
GCC 4.6: Enable plug-in support by default.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=32502
2012-02-23 00:47:31 +00:00
Ludovic Courtès
5fb4901886
GCC 4.6: Really disable stripping when `stripped' is false.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=32501
2012-02-23 00:47:17 +00:00
Eelco Dolstra
6c2de318ad
* Move all gcc versions to development/compilers/gcc.
...
svn path=/nixpkgs/branches/stdenv-updates/; revision=32371
2012-02-17 21:47:08 +00:00