search for: build_cxx

Displaying 5 results from an estimated 5 matches for "build_cxx".

Did you mean: build_cpu
2014 Mar 19
2
[LLVMdev] Build process ignores BUILD_CC?
Hi, I am still struggling to cross-compile LLVM (using trunk). My cross compiler builds code that cannot be run on the build host. Thus, I need to make use of BUILD_CC/CXX during configuration. My current setup is (heavily boiled down): ../configure CC=cc_cross CXX=cxx_cross BUILD_CC=cc_host BUILD_CXX=cxx_host (plus other flag stuff) The configuration runs fine. However, when calling 'make' it would construct the BuildTools in a way that doesn't pick up the host compilers: make llvm[0]: Constructing LLVMBuild project information. Looking into BuildTools/config.log I see a mere: ....
2010 Nov 30
0
[LLVMdev] Does someone has experience with Canadian cross build of LLVM compiler?
...]; 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
2010 Nov 29
3
[LLVMdev] Does someone has experience with Canadian cross build of LLVM compiler?
...anina/build/mx-debug-llvm' make[1]: *** [make] Error 2 make[1]: Leaving directory `/home/ksanina/build/mx-debug-llvm' make: *** [mx-debug-llvm-all] Error 2 rm /home/ksanina/build/mx-debug-llvm/.dir To resolve this issue, I end up setting up additional environment variables, BUILD_CC=gcc BUILD_CXX=g++ BUILD_AR =ar BUILD_LD=ld etc. Also, I modified llvm/Makefile to use my BUILD_CC, BUILD_AS, BUILD_LD, etc instead of CC, AS, LD, etc. for cross-compile-build-tools target. cross-compile-build-tools: $(Verb) if [ ! -f BuildTools/Makefile ]; then \ $(MKDIR) BuildTools; \...
2009 Jun 17
1
[LLVMdev] Configure problem of llvm2.5 in Mac OS X 10.4.11
...=Darwin llvm_cv_platform_type=Unix llvm_cv_target_arch=PowerPC ## ----------------- ## ## Output variables. ## ## ----------------- ## ALLOCA='' ALL_BINDINGS='' AR='' ARCH='PowerPC' BINDINGS_TO_BUILD='' BINPWD='' BISON='' BUILD_CC='' BUILD_CXX='' BUILD_EXEEXT='' BZIP2='' CC='gcc' CFLAGS='' CMP='' CONVENIENCE_LTDL_FALSE='' CONVENIENCE_LTDL_TRUE='' CP='' CPP='' CPPFLAGS='' CVSBUILD='' CXX='' CXXCPP='' CXXFLAGS='' DATE=...
2009 Jun 18
0
[LLVMdev] Configure problem of llvm2.5 in Mac OS X 10.4.11
...> ## ----------------- ## > ## Output variables. ## > ## ----------------- ## > > ALLOCA='' > ALL_BINDINGS='' > AR='' > ARCH='PowerPC' > BINDINGS_TO_BUILD='' > BINPWD='' > BISON='' > BUILD_CC='' > BUILD_CXX='' > BUILD_EXEEXT='' > BZIP2='' > CC='gcc' > CFLAGS='' > CMP='' > CONVENIENCE_LTDL_FALSE='' > CONVENIENCE_LTDL_TRUE='' > CP='' > CPP='' > CPPFLAGS='' > CVSBUILD='' > C...