Re: can not make gcc-dev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey Asma,
I tried to install gcc that I get from git clone
git://crules.org/git/gcc-dev.git.
It seems that this repo is not totally up-to-date. The GIT logs show that the last update apparently was on Feb 15, but Phil will now this better. Anyway, you could also the following ways to get the GCC trunk:

via GIT: http://gcc.gnu.org/wiki/GitMirror
via SVN: http://gcc.gnu.org/svn.html

I configure with : ../gcc-dev/configure --enable-languages=c,c++,uml
--disable-werror --disable-bootstrap

when I call make  with: make STAGE1_CFLAGS="g -O1" I get those errors msg
dealing with lexer and parser !!
I'm not sure if that works if you disable bootstrapping, because I think that staging is only relevant for bootstap builds. Instead, you could just use CFLAGS. Another note: if you plan to build a debugable version of gcc (it seems so due to the -O1 option), I personally favor to add -fno-inline as well.
......
/export/home/charfi/Bureau/build_uml/gcc/../../gcc-dev/gcc/gengtype-parse.c:915:
undefined reference to `lexer_line'
build/gengtype-parse.o: In function `token':
/export/home/charfi/Bureau/build_uml/gcc/../../gcc-dev/gcc/gengtype-parse.c:49:
undefined reference to `yylex'
build/gengtype-parse.o: In function `typedef_decl':
/export/home/charfi/Bureau/build_uml/gcc/../../gcc-dev/gcc/gengtype-parse.c:838:
undefined reference to `lexer_line'
build/gengtype-parse.o: In function `def_vec_alloc':
/export/home/charfi/Bureau/build_uml/gcc/../../gcc-dev/gcc/gengtype-parse.c:939:
undefined reference to `lexer_line'
build/gengtype-parse.o: In function `token':
/export/home/charfi/Bureau/build_uml/gcc/../../gcc-dev/gcc/gengtype-parse.c:49:
undefined reference to `yylex'
/export/home/charfi/Bureau/build_uml/gcc/../../gcc-dev/gcc/gengtype-parse.c:49:
undefined reference to `yylex'
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [build/gengtype] Erreur 1
make[2]: quittant le répertoire « /export/home/charfi/Bureau/build_uml/gcc »
make[1]: *** [all-gcc] Erreur 2
make[1]: quittant le répert

I don't know why you get this error. Let me try to check on my system. Anyway, I would first try to get the really latest bits and try again on your system ...

Best regards,
Andre-Marcel


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux