gccxml
Hi
I have problem installing gccxml something called lvalue. So I want to know what is lvalue and how can I fix the problem. The error massage is as follows "[hassan@localhost gccxml-build]$ make [ 11%] Built target iberty [ 11%] Built target gengenrtl [ 12%] Built target gengtype [ 12%] Building C object GCC/gcc/CMakeFiles/genconstants.dir/read-rtl.o /home/hassan/gccxml/GCC/gcc/read-rtl.c: In function read_rtx: /home/hassan/gccxml/GCC/gcc/read-rtl.c:653: error: lvalue required as increment operand make[2]: *** [GCC/gcc/CMakeFiles/genconstants.dir/read-rtl.o] Error 1 make[1]: *** [GCC/gcc/CMakeFiles/genconstants.dir/all] Error 2 make: *** [all] Error 2 " and the gcc version is:gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) Can you guide me please? |
gccxml .. .. Fedora 9
http://packages.debian.org/sid/gccxml
http://ftp.de.debian.org/debian/pool...16.orig.tar.gz >>> gccxml_0.9.0+cvs20090916.orig.tar.gz + http://ftp.de.debian.org/debian/pool...0916-1.diff.gz gccxml_0.9.0+cvs20090916-1.diff.gz > debian/pacthes/01* and 02* .. And apply the two patches. [ 12%] Built target decnumber [ 15%] Built target cpp [ 96%] Built target gccxml_cc1plus [ 99%] Built target gccxml [100%] Built target documentation ..... ..... P.S. : Latest is http://www.gccxml.org/HTML/Download.html cvs -d : pserver:anoncvs@www.gccxml.org:/cvsroot/GCC_XML login cvs -d : pserver:anoncvs@www.gccxml.org:/cvsroot/GCC_XML co gccxml ..... |
Thanx but can u guide me clearly!
what do you mean by aplying patch? Do you mean copy & paste it in build directory? And I couldn't find "debian/pacthes/01* and 02*" There was just a diff file "gccxml_0.9.0+cvs20090916-1.diff" Another question is what do you mean by the sign > in expression "gccxml_0.9.0+cvs20090916-1.diff.gz > debian/pacthes/01* and 02*"? |
I have ran the source but I recieved the error "CMake Error in GCC/libiberty/CMakeList.txt:
Cannot find source file "xatexit.c". Tried extentions .c .C c++ .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx" |
The 'patch' command : Please read the manual by doing
the command : man patch 1) Create a new directory anywhere in /home/"username"/ 2) mv gccxml_0.9.0+cvs20090916-1.diff.gz <new-directory>/ 3) cd <new-directory>/ .. unpack the file here ( gunzip <file>.gz ). 4) patch -p1 < gccxml_0.9.0+cvs20090916-1.diff .. and you will see the "debian/" folder appear. 5) Copy the two patches in debian/patches/ to the gccxml-0.9.0+cvs20090916.orig/ directory. 6) patch -p0 < 01_remove-xatexit.diff 7) patch -p0 < 02_quote-target-cpu-default.diff 8) And now you can go to your build/ folder and do 'cmake ..' cd build/ && cmake .. && make You never told which version of gccxml, you are trying to use. Please tell, if you have further questions. ..... |
Thanx alot Mr.knudfl
It was very very helpfull finally it works |
All times are GMT -5. The time now is 07:57 PM. |