[LLVMdev] Does someone has experience with Canadian cross build of LLVM compiler?
NAKAMURA Takumi
geek4civic at gmail.com
Mon Nov 29 20:18:13 PST 2010
Hello, Ekaterina.
FYI, my configure has '--host=i686-pc-mingw32' w/o any additional variables.
and then the build host (ppc fedora 12) has toolchain 'i686-pc-mingw32-*'.
It could build everything successfully, but I have not built it for a
few months :p
2010/11/30 Ekaterina Sanina <ekaterina.sanina at gmail.com>:
> cross-compile-build-tools:
> $(Verb) if [ ! -f BuildTools/Makefile ]; then \
> $(MKDIR) BuildTools; \
> cd BuildTools ; \
> unset CFLAGS ; \
> unset CXXFLAGS ; \
> + AR=$(BUILD_AR) ;\
> + AS=$(BUILD_AS) ;\
> + LD=$(BUILD_LD) ;\
> + CC=$(BUILD_CC) ;\
> + CXX=$(BUILD_CXX) ;\
> $(PROJ_SRC_DIR)/configure --build=$(BUILD_TRIPLE) \
> --host=$(BUILD_TRIPLE) --target=$(BUILD_TRIPLE); \
> cd .. ; \
+1.
It would be useful when buildhost's cc is not 'gcc'.
eg. BUILD_CXX='ccache g++'
...Takumi
More information about the llvm-dev
mailing list