This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix crosstool-ng build when local system has libgmp already installed


Solomon, All,

On 2013-07-10 23:46 -0400, Solomon Peachy spake thusly:
> Basically, the ppl configure script wasn't properly setting 
> CFLAGS/CXXFLAGS/LDFLAGS to point at the ctng-built gmp, so ppl tried to 
> use the system gmp headers instead.
> 
> This patch fixes that.

He! Good catch!

> Ideally ct-ng would have the option of just using the local system's gmp 
> package, but this patch allows ct-ng to build toolchains on Fedora 19, 
> for example.

Yes, I was planning on adding such support. But that's not so easy, and
we still need to build the companion libs for older systems, or even
recent system that are not completely up-to-date.

> The patch is against ct-ng 0.16.0, but it is still relevant for 0.18.0.

The patch is missing your Signed-off-by line. Care to add it and resend,
please?

> From c0974e2b880901f74fce7415bde265380f5fba50 Mon Sep 17 00:00:00 2001
> From: Solomon Peachy <pizza@shaftnet.org>
> Date: Wed, 10 Jul 2013 23:39:19 -0400
> Subject: [PATCH] [toolchain]  Fix compile on distros that include a local
>  'gmp'
> 
> ---
>  .../ppl/0.11.2/200-fix-build-with-local-gmp.patch  | 24 ++++++++++++++++++++++

May it also be applied to other versions of PPL? If so, can you add
those patches too and resubmit, please?

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]