Commit graph

39 commits

Author SHA1 Message Date
Lluís Batlle i Rossell
48bb7745e7 gcc 4.4.2 is also affected by the wrong CPP passed to the configure script of
the target libraries, as 4.3.4
I trigger the breaking build using uclibc, instead of glibc, and then the
mixture of CPP getting the build glibc headers, and CC getting the uclibc
headers, makes the problem evident.
In 4.3.4 it only affected libmudflap. In 4.4.2, it affects libmudflap and
libstdc++.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18850
2009-12-09 10:05:47 +00:00
Lluís Batlle i Rossell
916896e252 I took away the patch about the -Bxxx not being passed to target libraries
through libtool.
I found a make variable holding flags that will not be trimmed by libtool:
FLAGS_FOR_TARGET.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18846
2009-12-08 19:46:32 +00:00
Lluís Batlle i Rossell
d0ae140f69 Renamed some old glibcCross to libcCross (we can use uclibc in cross builds already).
Dealt with the gcc 4.4 expression for it to work well for a native and a cross
compiler, adding a pair of patches to get the job done without much side
effects. One (libtool problems on -B) comes from the gcc 4.3 expression, while
the other fixes a bug already fixed in gcc 4.4.3.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18833
2009-12-08 09:36:19 +00:00
Lluís Batlle i Rossell
03fc55deeb Making the gcc 4.4 expression more friendly. Nevertheless it still cannot be
used to cross-compile, because of some bug in 4.4.2 I think. This bug does not
allow building a cross-compiler without libc:
http://archives.free.net.ph/message/20091119.140407.040d3c5b.en.html

Maybe we should wait for 4.4.3 or stay with 4.4.1 cross compiling. By now I
will keep 4.3.4 on cross compilation.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18730
2009-12-01 10:29:22 +00:00
Lluís Batlle i Rossell
f4720cd5f9 Trying to get the gcc-4.4 cross-build also.
Fixing the glibc-2.10 expression on cross-builds (which should be ported to
the glibc-2.11 expression once we get "ports" there)

Making kde3 and cyrus-sasl use gcc-4.3, because the strictness in gcc-4.4 does
not allow them build.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18706
2009-11-29 23:27:35 +00:00
Ludovic Courtès
24c70760cd GCJ 4.4: Fix missing <X11/extensions/XInput.h> by adding `libXi'.
That header used to be provided by inputproto-1.4 but is no longer
provided by inputproto-2.0.

svn path=/nixpkgs/trunk/; revision=18164
2009-11-05 21:43:00 +00:00
Ludovic Courtès
0e02b4ccf9 GCC 4.4.2; new `update-gcc.sh' script.
svn path=/nixpkgs/trunk/; revision=18153
2009-11-05 18:46:52 +00:00
Ludovic Courtès
ad14f6712c GCC 4.4: Restrict to GNU/Linux for now.
svn path=/nixpkgs/trunk/; revision=17203
2009-09-16 14:59:56 +00:00
Ludovic Courtès
69c23d6432 GCJ 4.4: Build with Antlr.
svn path=/nixpkgs/trunk/; revision=16522
2009-07-30 16:05:39 +00:00
Ludovic Courtès
89fa345b84 GCC 4.4: Make sure $PWD is not in $CPATH and $LIBRARY_PATH.
svn path=/nixpkgs/trunk/; revision=16520
2009-07-30 12:25:07 +00:00
Ludovic Courtès
33c6204f95 GCC 4.4: Don't expect zlib when `langJava' is false.
svn path=/nixpkgs/trunk/; revision=16518
2009-07-30 10:31:04 +00:00
Ludovic Courtès
0b46ac126b GCJ 4.4: More X dependencies.
svn path=/nixpkgs/trunk/; revision=16516
2009-07-30 08:32:43 +00:00
Ludovic Courtès
2e8e54fbbc GCJ 4.4: More X dependencies.
svn path=/nixpkgs/trunk/; revision=16513
2009-07-29 22:55:16 +00:00
Ludovic Courtès
a2e9613540 GCJ 4.4: More X dependencies (soon it will be all over, well I hope soon).
svn path=/nixpkgs/trunk/; revision=16512
2009-07-29 20:47:12 +00:00
Ludovic Courtès
6e75b20d46 GCJ 4.4: More X dependencies (it's never enough).
svn path=/nixpkgs/trunk/; revision=16510
2009-07-29 19:33:45 +00:00
Ludovic Courtès
cf229e4156 GCJ 4.4: More X dependencies.
svn path=/nixpkgs/trunk/; revision=16503
2009-07-29 16:18:31 +00:00
Ludovic Courtès
9ddd85f356 GCJ 4.4: Add libXrender; work around glitches in the Java/AWT build system.
svn path=/nixpkgs/trunk/; revision=16502
2009-07-29 15:13:01 +00:00
Ludovic Courtès
be4437bed0 GCJ 4.4: Provide xproto; move CPATH/LIBRARY_PATH compuation to `default.nix'.
svn path=/nixpkgs/trunk/; revision=16501
2009-07-29 13:57:11 +00:00
Ludovic Courtès
0b235f3ec5 GCJ 4.4: Tell GCC about the path to the X libs.
svn path=/nixpkgs/trunk/; revision=16500
2009-07-29 08:48:09 +00:00
Ludovic Courtès
a63eefa27f GCJ 4.4: Require some more X libraries.
svn path=/nixpkgs/trunk/; revision=16493
2009-07-28 17:49:47 +00:00
Ludovic Courtès
992045830e GCJ 4.4: Require various X libraries.
svn path=/nixpkgs/trunk/; revision=16492
2009-07-28 12:02:51 +00:00
Ludovic Courtès
86ad964255 GCJ 4.4: Require libXtst.
svn path=/nixpkgs/trunk/; revision=16491
2009-07-28 10:29:18 +00:00
Ludovic Courtès
a5a5cbe93d GCJ 4.4: Require libart.
svn path=/nixpkgs/trunk/; revision=16490
2009-07-28 09:23:40 +00:00
Ludovic Courtès
1228ff02b7 GCC 4.4: Improve `meta'.
svn path=/nixpkgs/trunk/; revision=16489
2009-07-28 08:44:41 +00:00
Ludovic Courtès
f9f44ed564 GCJ 4.4: Build the GTK+ AWT peer.
svn path=/nixpkgs/trunk/; revision=16487
2009-07-28 08:11:10 +00:00
Ludovic Courtès
032c603c8b GCJ 4.4: Try to avoid FastJar since it appears to be broken.
svn path=/nixpkgs/trunk/; revision=16486
2009-07-27 23:09:04 +00:00
Ludovic Courtès
35b5686ad4 GCJ 4.4: Provide InfoZIP; remove FastJar hack; don't build C; provide which(1).
svn path=/nixpkgs/trunk/; revision=16475
2009-07-27 15:40:01 +00:00
Ludovic Courtès
7583ac7638 GCJ 4.4: Don't build the `configure-gcc' target; use FastJar; make zlib/BDW-GC visible.
Building the `configure-gcc' target early on (in `preConfigure') was a big mistake as
the build woud just go haywire after that (e.g., trying and failing to build `jvgenmain'
in stage 1).


svn path=/nixpkgs/trunk/; revision=16472
2009-07-27 13:50:19 +00:00
Ludovic Courtès
8feb395f42 GCJ 4.4: Depend on FastJar, needed during the bootstrap phase.
svn path=/nixpkgs/trunk/; revision=16470
2009-07-27 10:46:23 +00:00
Ludovic Courtès
292a191f70 GCC 4.4: Fewer $NIX_ variables.
svn path=/nixpkgs/trunk/; revision=16458
2009-07-24 21:56:58 +00:00
Ludovic Courtès
fc6b794f33 GCC 4.4.1.
svn path=/nixpkgs/trunk/; revision=16454
2009-07-24 13:34:57 +00:00
Ludovic Courtès
279a94a637 GCJ 4.4: Pass ecj.jar' using --with-ecj-jar'.
svn path=/nixpkgs/trunk/; revision=16434
2009-07-20 15:34:10 +00:00
Ludovic Courtès
34bd10567b GCC 4.4: Enable Graphite by building against PPL and GLooG.
svn path=/nixpkgs/trunk/; revision=16424
2009-07-18 21:37:23 +00:00
Ludovic Courtès
161c18b075 GCC 4.4: Use GCC documented variables instead of $NIX_EXTRA_CFLAGS and $NIX_EXTRA_LDFLAGS.
svn path=/nixpkgs/trunk/; revision=16418
2009-07-18 12:37:48 +00:00
Ludovic Courtès
8cbb8848a9 GCJ 4.4: Move ecj.jar' out of the src' attribute.
svn path=/nixpkgs/trunk/; revision=16417
2009-07-17 18:06:28 +00:00
Ludovic Courtès
1dfef78633 GCJ 4.4: Provide `ecj.jar' (Eclipse Java Compiler).
svn path=/nixpkgs/trunk/; revision=16416
2009-07-17 17:20:07 +00:00
Ludovic Courtès
deb63071d7 GCC 4.4: Don't use the included Gettext.
svn path=/nixpkgs/trunk/; revision=16415
2009-07-17 16:14:28 +00:00
Ludovic Courtès
63393ce174 GCC 4.4.0: Fix compilation (for C and C++, at least).
svn path=/nixpkgs/trunk/; revision=16177
2009-07-05 14:15:44 +00:00
Ludovic Courtès
85d950b8fb Add GCC 4.4.0 (and hope for the best).
svn path=/nixpkgs/trunk/; revision=16168
2009-07-03 18:54:28 +00:00