This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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 for merging graphite branch (before tuplification)


On Sat, 2 Aug 2008, Sebastian Pop wrote:

> Hi,
> 
> The graphite branch has been tuplified and the port to PPL passes the
> graphite testsuite.  For building the graphite branch right now, here
> are the steps you'll have to go through:
> 
> You have to get a copy of the release 0.9 of PPL from:
> http://www.cs.unipr.it/ppl/Download/

I see this is documented as needing (a) C++, (b) GCC 4.0.3 or later, (c) 
GMP compiled with the C++ interface enabled.  I believe we previously 
reached a conclusion that if GCC is made to require C++ it would work with 
any version of GCC 3.4 or later (and did not discuss the question of the 
GMP C++ interface).  Recall that right now the documented requirement is 
that a cross-compiler (so all non-Ada front ends) can be built with GCC 
2.95 or later; Ada requires 3.4 or later; and any ISO C compiler should 
work for bootstrapping a native compiler.

At this point I think the policy questions regarding the build 
requirements for graphite, even as an optional feature, need to be raised 
on their own in a thread on the gcc list rather than buried in the patch 
discussion.

I also think that the configuration machinery needs to be set up so that 
if static versions of Cloog/PPL are being used then the compiler will also 
be linked with static libgcc/libstdc++ (-static-libgcc 
-Wl,-Bstatic,-lstdc++,-Bdynamic with the GNU linker, other options may be 
needed for e.g. OS X), as stated in Ian's slides - even for an optional 
feature using C++.

C++ also increases the importance of testing the libraries on all primary 
and secondary host OSes.

-- 
Joseph S. Myers
joseph@codesourcery.com


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