Yann E. MORIN"
1504a1ef10
complibs: noone is using companion libs on the target; nuke them
...
As there's no longer any user of the companion libraries on the
target, nuke the build for the target.
Well, at least, there's libelf that's still needed by ltrace, so
we keep it.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-23 23:18:49 +02:00
Yann E. MORIN"
46d72f5450
complibs/cloog: with static ppl, correctly link with libm
...
On some Fedora boxen (at least FC13), it is also required
to link with libm when static ppl is used.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-06 00:00:26 +02:00
Yann E. MORIN"
eed8d50d02
complibs/libelf: enable the host build
...
Host libelf is required by gcc-4.5.0
2010-04-15 22:42:06 +02:00
Yann E. MORIN"
9962be4d9c
complibs/libelf: build target libelf in its own directory
2010-04-15 22:35:04 +02:00
Yann E. MORIN"
80e7118b1f
Merge.
2010-04-13 00:43:22 +02:00
Yann E. MORIN"
2d446d21bc
Revert 3ea4e6f7b85f: Force autoreconf for mpfr
...
It breaks on my machine. Revert until we find the exact cause leading to
the initial patch, and we come up with a patch that properly fixes it.
2010-04-13 00:43:09 +02:00
Yann E. MORIN"
bf86627982
scripts/functions: make CT_Patch dumber
...
It is the responsibility of the caller to split the package name from
its version. It already knows that.
2010-04-11 23:18:10 +02:00
Bart vdr. Meulen
1ef028c7e6
[CT-NG:patch 05/19] Force autoreconf for mpfr
...
In some exotic case the autoreconf step of mpfr is not executed (correctly)
leaving an incorrect version number for libtool in the configure script.
After extracting the sources files, force autoreconf to be executed.
Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
2010-04-09 21:04:24 +02:00
Yann E. MORIN"
a01284b0e2
complibs: don't install in toolchain dir when built as static
2010-04-11 11:10:06 +02:00
Yann E. MORIN"
5b27e8de52
complibs: allow either static or shared build
2010-04-11 00:47:23 +02:00
Yann E. MORIN"
5b663e2aae
complibs: build static libraries
2010-04-10 23:43:08 +02:00
Yann E. MORIN"
31fa64bc60
config: replace COMP_LIBS with COMPLIBS
2010-04-10 23:42:28 +02:00
Yann E. MORIN"
538d596113
complibs/mpfr: fix extract
...
With MPFR 2.4.2, autoreconf needs to be run as well.
2010-04-10 22:45:36 +02:00
Yann E. MORIN"
991b90f242
comp-libs: make libelf a companion library
...
When gcc-4.5 is out, it will require libelf. So better make it a
companion library now rather than postponing the ineluctable.
2010-02-17 23:41:17 +01:00
Yann E. MORIN"
2949150cbe
complibs: hide companion libraries for target entry
...
The companion libraries on the target are required only for internal use by
binutils and gdb. The user should not have to know about this, so hide the
option.
2010-02-17 23:50:49 +01:00
Yann E. MORIN"
77a605d48e
complibs: simplify config file
...
Although currently the wrapper is directly dependent on
companion libraries, let's still decorelate those two.
2010-02-18 20:43:31 +01:00
Yann E. MORIN"
3eaa187de5
complibs: split-up selection for individual libs
2010-02-17 23:47:47 +01:00
Titus von Boxberg
e6f4c47c21
comp-libs/mpfr: fix build on Darwin
2010-02-03 00:24:24 +01:00
Yann E. MORIN"
e3a4063ac6
scripts/functions: change handling of nochdir
...
- 'nochdir' must be the first option
- have systematic pushd/popd, even if nochdir
2010-01-12 19:24:03 +01:00
Yann E. MORIN"
028b9d1c98
comp-libs/cloog: fix building
...
For CLooG/PPL 0.15.3, the directory name was simply cloog-ppl.
For any later versions, the driectory name does have the version, such as
cloog-ppl-0.15.4.
2009-09-13 12:25:33 +02:00
Yann E. MORIN"
414f639105
comp-libs/cloog: new versions have the version number in the dir name
...
For CLooG/PPL 0.15.3, the directory name was simply cloog-ppl.
For any later versions, the driectory name does have the version, such as
cloog-ppl-0.15.4.
2009-09-12 10:16:28 +02:00
Oron Peled
b0f5a18c32
[complib:mpfr] Fix building MPFR in some weird cases
...
The tmul test uses a compiled-in input file in $(srcdir).
The problem is that the Makefile passes it unquoted. The C code
tries to stringify it using clever macros, which may *usually* work.
In my case the source directory was named:
.../toolchain-powerpc-e500v2-linux-gnuspe-1.0-2.fc10/.../tests
And guess what? During testing I found out the program fails because
it tries to open:
.../toolchain-powerpc-e500v2-1-gnuspe-1.0-2.fc10/.../tests
Yes, CPP tokenized the macro before stringifying it and not surprisingly
the 'linux' part was converted to 1.
[on Fedora-10: cpp (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)]
So the attached patch simplify the macros and pass the path as string
from the Makefile.
2009-08-03 00:49:25 +02:00
Bart van der Meulen
936286668b
Fix MPFR build to recognise the Mingw32 case.
...
Once we have canadian in place, Mingw32 can be a legitimate host,
so we have to recognise that along with Cygwin.
Also fix recognising Cygwin hosts.
Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
2009-06-23 22:57:12 +02:00
Yann E. MORIN"
1505eb7621
/devel/gcc-4.4:
...
- build shared CLooG/ppl and MPC libraries, don't build static ones.
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/mpc.sh | 4 2 2 0 ++--
/devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 4 2 2 0 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
2009-06-01 18:03:23 +00:00
Yann E. MORIN"
f05ecb8360
/devel/gcc-4.4:
...
- PPL, CLooG/PPL: remove uselessly installed files.
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 3 3 0 0 +++
/devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 3 3 0 0 +++
2 files changed, 6 insertions(+)
2009-06-01 15:53:42 +00:00
Yann E. MORIN"
21649be476
/devel/gcc-4.4:
...
- commonalise the config-knobs that:
- enable checking the newly built companion libraries
- enable building the companion libraries for the target
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 2 1 1 0
/devel/gcc-4.4/scripts/build/companion_libs/mpc.sh | 2 1 1 0
/devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 4 2 2 0 +-
/devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 2 1 1 0
/devel/gcc-4.4/scripts/build/companion_libs/mpfr.sh | 4 2 2 0 +-
/devel/gcc-4.4/config/companion_libs/ppl.in | 14 0 14 0 ----------
/devel/gcc-4.4/config/companion_libs/mpc.in | 13 0 13 0 ----------
/devel/gcc-4.4/config/companion_libs/gmp.in | 13 0 13 0 ----------
/devel/gcc-4.4/config/companion_libs/cloog.in | 13 0 13 0 ----------
/devel/gcc-4.4/config/companion_libs/mpfr.in | 14 0 14 0 ----------
/devel/gcc-4.4/config/companion_libs.in | 46 35 11 0 ++++++++++++++++++++++++++--------
11 files changed, 42 insertions(+), 85 deletions(-)
2009-05-25 19:46:58 +00:00
Yann E. MORIN"
52e72144d7
/devel/gcc-4.4:
...
- add support for building the MPC library.
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 4 2 2 0 +-
/devel/gcc-4.4/scripts/build/companion_libs/mpc.sh | 57 57 0 0 ++++++++++++++++++++++++++++++++++
/devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 4 2 2 0 +-
/devel/gcc-4.4/scripts/crosstool-NG.sh.in | 3 3 0 0 ++
/devel/gcc-4.4/steps.mk | 1 1 0 0 +
/devel/gcc-4.4/config/companion_libs/mpc.in | 32 32 0 0 +++++++++++++++++++
/devel/gcc-4.4/config/companion_libs.in | 15 10 5 0 ++++++---
7 files changed, 107 insertions(+), 9 deletions(-)
2009-05-25 18:22:26 +00:00
Yann E. MORIN"
843a16f70c
/devel/gcc-4.4:
...
- GMP: unconditionnaly build the C++ wrappers and use exceptions
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 11 2 9 0 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
2009-05-25 17:26:21 +00:00
Yann E. MORIN"
822fb9415e
/devel/gcc-4.4:
...
- add support for building CLooG
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 60 60 0 0 ++++++++++++++++++++++++++++++++++
/devel/gcc-4.4/scripts/addToolVersion.sh | 3 2 1 0 +-
/devel/gcc-4.4/scripts/crosstool-NG.sh.in | 3 3 0 0 ++
/devel/gcc-4.4/steps.mk | 1 1 0 0 +
/devel/gcc-4.4/config/companion_libs/cloog.in | 32 32 0 0 ++++++++++++++++++
/devel/gcc-4.4/config/companion_libs.in | 1 1 0 0 +
6 files changed, 99 insertions(+), 1 deletion(-)
2009-05-24 22:04:14 +00:00
Yann E. MORIN"
6c5993d038
/devel/gcc-4.4:
...
- cleanup the PPL build
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
2009-05-24 22:02:30 +00:00
Yann E. MORIN"
e03219c3d6
/devel/gcc-4.4:
...
- cleanup GMP build
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2009-05-24 21:59:08 +00:00
Yann E. MORIN"
6f04a46339
/devel/gcc-4.4:
...
- build a shared ppl, don't build a static ppl
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 7 4 3 0 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
2009-05-24 21:49:30 +00:00
Yann E. MORIN"
3b72d01b52
/devel/gcc-4.4:
...
- build a shared mpfr, don't build a static mpfr
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/mpfr.sh | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
2009-05-24 21:48:41 +00:00
Yann E. MORIN"
2614b1eb7b
/devel/gcc-4.4:
...
- build a shared gmp, don't build a static gmp
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 6 3 3 0 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
2009-05-24 21:46:30 +00:00
Yann E. MORIN"
3a85d55aa8
/devel/gcc-4.4:
...
- add PPL download mirror at the gcc ftp site.
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 3 2 1 0 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
2009-05-21 19:07:16 +00:00
Yann E. MORIN"
a0cf91e83b
Add support for building PPL:
...
- PPL will be needed to correctly build gcc-4.4+ for the
GRAPHITE loop optimisation
-------- diffstat follows --------
/trunk/scripts/build/companion_libs/ppl.sh | 66 66 0 0 ++++++++++++++++++++++++++++++++++++
/trunk/scripts/build/companion_libs/gmp.sh | 24 19 5 0 ++++++++++---
/trunk/scripts/addToolVersion.sh | 3 2 1 0 +-
/trunk/scripts/crosstool-NG.sh.in | 3 3 0 0 ++
/trunk/steps.mk | 1 1 0 0 +
/trunk/config/companion_libs/ppl.in | 33 33 0 0 ++++++++++++++++++
/trunk/config/companion_libs.in | 22 19 3 0 ++++++++++--
7 files changed, 143 insertions(+), 9 deletions(-)
2009-05-05 22:04:20 +00:00
Yann E. MORIN"
38c549d748
Prepare for gcc-4.4:
...
- add 'companion_libs/' to hold all libraries needed to build gcc-4.3+ and gcc-4.4+
- move GMP & MPFR to 'companion_libs/'
-------- diffstat follows --------
/trunk/scripts/build/gmp.sh | 85 0 85 0 ----------------------------
/trunk/scripts/build/mpfr.sh | 139 0 139 0 ---------------------------------------------
/trunk/scripts/addToolVersion.sh | 4 2 2 0
/trunk/scripts/crosstool-NG.sh.in | 4 2 2 0
/trunk/config/companion_libs.in | 17 10 7 0 +++---
/trunk/config/gmp_mpfr/gmp.in | 32 0 32 0 ----------
/trunk/config/gmp_mpfr/mpfr.in | 42 0 42 0 --------------
/trunk/config/config.in | 2 1 1 0
/trunk/config/gmp_mpfr.in | 35 0 35 0 -----------
9 files changed, 15 insertions(+), 345 deletions(-)
2009-05-03 21:10:15 +00:00