Displaying 3 results from an estimated 3 matches for "build_tripl".
Did you mean:
build_triple
2010 Nov 30
0
[LLVMdev] Does someone has experience with Canadian cross build of LLVM compiler?
...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?
...$(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 .. ; \
This workaround worked. But I'm sure there is some other, more elegant way
of doing it (without actually changing llvm/Makefile). I'm sure other people
have done Canadian cross build and resolve th...
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