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: how to compile GCC without "CLooG" ?


Selon Ian Lance Taylor <iant@google.com>:

> spam.spam.spam.spam@free.fr writes:
>
> > I am compiling GCC 4.4.0 on a Linux operating system.
> > Problem : cloog/cloog.h isn't here...Error!
>
> What is printing that out?  That is not an error message from gcc, nor
> from the gcc configure script.  Can you quote the exact last 20 lines of
> output or so from running the configure script?
>
> Ian
>

There is no error during the configure step.
The errors appeared during the make step :

gcc -c  -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../.././gcc -I../.././gcc/.
-I../.././gcc/../include -I../.././gcc/../libcpp/include 
-I../.././gcc/../libdecnumber -I../.././gcc/../libdecnumber/bid
-I../libdecnumber -I/include  -I/include -DCLOOG_PPL_BACKEND  
../.././gcc/graphite.c -o graphite.o
../.././gcc/graphite.c:59:25: erreur: cloog/cloog.h : Aucun fichier ou
répertoire de ce type
In file included from ../.././gcc/graphite.c:60:
../.././gcc/graphite.h:121: erreur: expected specifier-qualifier-list before
'CloogMatrix'
../.././gcc/graphite.h: In function 'gbb_nb_loops':
../.././gcc/graphite.h:231: erreur: 'const struct graphite_bb' has no member
named 'domain'
../.././gcc/graphite.h:234: erreur: 'const struct graphite_bb' has no member
named 'domain'

[...]

../.././gcc/graphite.c: In function 'graphite_trans_bb_move_loop':
../.././gcc/graphite.c:5527: erreur: 'CloogMatrix' undeclared (first use in this
function)
../.././gcc/graphite.c:5527: erreur: 'domain' undeclared (first use in this
function)
../.././gcc/graphite.c:5527: erreur: 'struct graphite_bb' has no member named
'domain'
../.././gcc/graphite.c:5528: attention : ISO C90 forbids mixed declarations and
code
../.././gcc/graphite.c:5535: erreur: 'struct graphite_bb' has no member named
'loops'
../.././gcc/graphite.c:5535: erreur: 'struct graphite_bb' has no member named
'loops'
../.././gcc/graphite.c:5536: erreur: 'struct graphite_bb' has no member named
'loops'
../.././gcc/graphite.c:5536: erreur: 'struct graphite_bb' has no member named
'loops'
../.././gcc/graphite.c:5537: erreur: 'struct graphite_bb' has no member named
'loops'
../.././gcc/graphite.c:5543: erreur: 'Value' undeclared (first use in this
function)
../.././gcc/graphite.c:5543: erreur: expected ';' before 'tmp'
../.././gcc/graphite.c:5544: erreur: 'tmp' undeclared (first use in this
function)
../.././gcc/graphite.c:5556: erreur: expected ';' before 'tmp'
../.././gcc/graphite.c: Hors de toute fonction :
../.././gcc/graphite.c:5572: erreur: expected ')' before '*' token
../.././gcc/graphite.c:5582: erreur: expected ')' before '*' token
../.././gcc/graphite.c:5604: erreur: expected ')' before '*' token
../.././gcc/graphite.c:5612: erreur: expected ')' before '*' token
../.././gcc/graphite.c:5621: erreur: expected ')' before '*' token
../.././gcc/graphite.c:5637: erreur: expected ')' before '*' token
../.././gcc/graphite.c:5646: erreur: expected ')' before '*' token
../.././gcc/graphite.c: In function 'graphite_trans_bb_strip_mine':
../.././gcc/graphite.c:5664: erreur: 'CloogMatrix' undeclared (first use in this
function)
../.././gcc/graphite.c:5664: erreur: 'domain' undeclared (first use in this
function)
../.././gcc/graphite.c:5664: erreur: 'struct graphite_bb' has no member named
'domain'
../.././gcc/graphite.c:5665: erreur: 'new_domain' undeclared (first use in this
function)
../.././gcc/graphite.c:5668: attention : ISO C90 forbids mixed declarations and
code
../.././gcc/graphite.c:5673: erreur: 'struct graphite_bb' has no member named
'loops'
../.././gcc/graphite.c:5675: erreur: 'struct graphite_bb' has no member named
'domain'
../.././gcc/graphite.c:5687: attention : implicit declaration of function
'copy_constraint'
../.././gcc/graphite.c:5688: attention : implicit declaration of function
'get_lower_bound_row'
../.././gcc/graphite.c:5689: attention : implicit declaration of function
'swap_constraint_variables'
../.././gcc/graphite.c:5694: attention : implicit declaration of function
'get_upper_bound_row'
../.././gcc/graphite.c:5696: attention : implicit declaration of function
'scale_constraint_variable'
../.././gcc/graphite.c:5702: attention : implicit declaration of function
'const_column_index'
../.././gcc/graphite.c: In function 'strip_mine_profitable_p':
../.././gcc/graphite.c:5747: erreur: 'struct graphite_bb' has no member named
'loops'
../.././gcc/graphite.c:5747: erreur: 'struct graphite_bb' has no member named
'loops'
../.././gcc/graphite.c: In function 'graphite_transform_loops':
../.././gcc/graphite.c:6119: attention : implicit declaration of function
'cloog_initialize'
../.././gcc/graphite.c:6181: attention : implicit declaration of function
'cloog_finalize'
make[2]: *** [graphite.o] Erreur 1
make[2]: quittant le répertoire «
/home/yugiohjcj/gcc-4.4.0/host-i686-pc-linux-gnu/gcc »
make[1]: *** [all-gcc] Erreur 2
make[1]: quittant le répertoire « /home/yugiohjcj/gcc-4.4.0 »
make: *** [all] Erreur 2

I tried this time with these configuration options :
$ ./configure --without-htmldir --without-pdfdir --without-docdir
--disable-bootstrap --enable-languages=c++

The exact last 20 lines of output from running the configure script :

checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... objcopy
checking for objdump... objdump
checking for cc... cc
checking for c++... c++
checking for gcc... gcc
checking for gcj... gcj
checking for gfortran... gfortran
checking for ar... no
checking for ar... ar
checking for as... no
checking for as... as
checking for dlltool... no
checking for dlltool... no
checking for ld... no
checking for ld... ld
checking for lipo... no
checking for lipo... no
checking for nm... no
checking for nm... nm
checking for objdump... no
checking for objdump... objdump
checking for ranlib... no
checking for ranlib... ranlib
checking for strip... no
checking for strip... strip
checking for windres... no
checking for windres... no
checking for windmc... no
checking for windmc... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gcj... host tool
checking where to find the target gfortran... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking where to find the target windmc... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
configure: creating ./config.status
config.status: creating Makefile

So you can see no error.

how to compile GCC without "CLooG" ? (and without error)


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