This is the mail archive of the gcc-help@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: problem with Automatic parallelization in GCC4.5


On 31 July 2010 15:39, zhouxu(NUDT) <zhouxuzhu1985@gmail.com> wrote:
> [zhouxu@zhouxu test]$ gcc --v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/local/gcc4.5/libexec/gcc/i686-pc-linux-gnu/4.5.0/lto-wrapper
> Target: i686-pc-linux-gnu
> Configured with: ./configure --enable-languages=c,c++ --with-gmp
> --with-mpfr --with-ppl --with-cloog --prefix=/usr/local/gcc4.5
> Thread model: posix
> gcc version 4.5.0 (GCC)
>

When using the --with-<something> options in the configure you must do
--with-ppl=/usr/local/ for example. But the best way i have found is
by not building gcc within it source directory. So do somthing like:

$ mkdir gcc-build
$ cd gcc-build
$ ../gcc/configure --enable-languages=c,c++ --prefix=...
--with-gmp-include=/usr/local/include --with-gmp-lib=/usr/local/lib
--with-mpfr-include=/usr/local/include --with-mpfr-lib=/usr/local/lib
--with-ppl-include=.....

Would be a way i do it on my laptop where i have local installed
versions of the different depandancies. But i think using the
--with-ppl=/usr/local would work you just point it to the directory
were the respected lib and include folders are i think.

Hope this helps!

--Phil


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