[LLVMdev] build the llvm-gcc from source, error occur.
Sheng Wang
wansheg at gmail.com
Fri Sep 4 07:12:15 PDT 2009
I first install the gcc-4.2.4 .
then I set CC and CXX
export CC= "path of my gcc-4.2.4"
export CXX="path of my g++-4.2.4"
after that , I config and make .
error occur like this :
/home/ws/software/gcc-4-2/bin/gcc -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -Ijava -I../../llvm-gcc4.2-2.5.source/gcc -I../../llvm-gcc4.2-2.5.source/gcc/java -I../../llvm-gcc4.2-2.5.source/gcc/../include -I../../llvm-gcc4.2-2.5.source/gcc/../libcpp/include -I../../llvm-gcc4.2-2.5.source/gcc/../libdecnumber -I../libdecnumber -I/home/ws/software/build-llvm-gcc/../build-llvm//include -I/home/ws/software/llvm-2.5/include -DENABLE_LLVM -I/home/ws/software/build-llvm/../llvm-2.5/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS ../../llvm-gcc4.2-2.5.source/gcc/java/lang.c -o java/lang.o
../../llvm-gcc4.2-2.5.source/gcc/java/lang.c: In function‘java_init’中:
../../llvm-gcc4.2-2.5.source/gcc/java/lang.c:378: error:‘force_align_functions_log’not declare ( occur first in the function)
.............
what matter I only enable-language c, c++, ada tube java ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090904/efe8f74d/attachment.html>
More information about the llvm-dev
mailing list