Re: [PPL-devel] Including ppl in a gcc build...

Roberto,
Thanks for the help. I have the gcc-debug mail group to be rather unresponsive to my questions about configuration and build failures. So I really appreciate you taking the time to look into this for me. I am absolutely not a configure expert so I might have seen what you pointed out below and not had a clue what it meant.
Thanks again, Bill Tovrea
-----Original Message----- From: Roberto Bagnara [mailto:bagnara@cs.unipr.it] Sent: Monday, August 03, 2009 11:22 AM To: Tovrea, George W (US SSA) Cc: ppl-devel@cs.unipr.it Subject: Re: [PPL-devel] Including ppl in a gcc build...
Tovrea, George W (US SSA) wrote:
Does ppl (and cloog) build automatically if you use
--with-ppl=<dir> --with-cloog=<dir>
options in the gcc configure command? I know gmp and mpfr build automatically if you unzip them in the gcc source directory (or
provide
soft links to their location).
Hi Bill,
even though this is a question for the GCC people, I have checked GCC's configuration machinery, and it seems that the PPL and CLooG are indeed treated like GMP and MPFR. For instance, in GCC's root directory Makefile.in you can find:
@if ppl maybe-configure-ppl: configure-ppl configure-ppl: @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \ $(HOST_EXPORTS) \ echo Configuring in $(HOST_SUBDIR)/ppl; \ cd "$(HOST_SUBDIR)/ppl" || exit 1; \ case $(srcdir) in \ /* | [A-Za-z]:[\/]*) topdir=$(srcdir) ;; \ *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \ sed -e 's,./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ esac; \ srcdiroption="--srcdir=$${topdir}/ppl"; \ libsrcdir="$$s/ppl"; \ $(SHELL) $${libsrcdir}/configure \ $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ \ || exit 1 @endif ppl
I hope this helps. All the best,
Roberto
participants (1)
-
Tovrea, George W (US SSA)