[cfe-dev] Building llvmgcc using MinGW64
陈晓宇
xychen0921 at gmail.com
Mon Sep 26 01:22:08 PDT 2011
I was building llvmgcc using MinGW64 and met following error. Any idea how
to get rid of this problem?
/home/xchen/MinGWSrcLLVM/llvmgcc/build/./gcc/xgcc
-B/home/xchen/MinGWSrcLLVM/llv
mgcc/build/./gcc/
-L/home/xchen/MinGWSrcLLVM/llvmgcc/build/x86_64-w64-mingw32/wi
nsup/mingw
-L/home/xchen/MinGWSrcLLVM/llvmgcc/build/x86_64-w64-mingw32/winsup/w3
2api/lib -isystem /home/xchen/MinGWSrcLLVM/llvmgcc/winsup/mingw/include
-isystem
/home/xchen/MinGWSrcLLVM/llvmgcc/winsup/w32api/include
-B/home/xchen/MinGWSrcLL
VM/myprefix/x86_64-w64-mingw32/bin/
-B/home/xchen/MinGWSrcLLVM/myprefix/x86_64-w
64-mingw32/lib/ -isystem
/home/xchen/MinGWSrcLLVM/myprefix/x86_64-w64-mingw32/in
clude -isystem
/home/xchen/MinGWSrcLLVM/myprefix/x86_64-w64-mingw32/sys-include
-O2 -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -DNATIVE_CROSS -W
-Wall -
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition
-isystem ./include -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include
-I.
./../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../libdecnumber
-I/hom
e/xchen/llvm2.7-obj/include -I/home/xchen/llvm2.7/include -g0
-finhibit-size-di
rective -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss
-fno-
toplevel-reorder -Dinhibit_libc -c -o crtbegin.o \
../../gcc/config/i386/cygming-crtbegin.c
../../gcc/config/i386/cygming-crtbegin.c:1: error: -malign-double makes no
sense
in the 64bit mode
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/home/xchen/MinGWSrcLLVM/llvmgcc/build/gcc'
make: *** [all-gcc] Error 2
../llvmgcc/configure --prefix=/home/xchen/llvmgcc-install
--enable-llvm=/home/xchen/llvm2.7-obj --enable-languages=c,c++
--disable-threads --program-prefix=llvm- --disable-bootstrap
--enable-checking=release --disable-shared --disable-nls --disable-c-mbchar
--host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --disable-multilib
Thanks & Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110926/a94e1d84/attachment.html>
More information about the cfe-dev
mailing list