Displaying 3 results from an estimated 3 matches for "llvmtargetobjcmd".
2006 Mar 14
0
[LLVMdev] Getting Started with LLVM
...c, which links to LLVM optimizations and native targets.
The makefile goop I have looks like this:
ifneq ($(LLVMBASEPATH),)
ifdef CHECKING_ENABLED
BUILDMODE=Debug
else
BUILDMODE=Release
endif
LLVMLIBPATH = $(LLVMBASEPATH)/$(BUILDMODE)/lib
# Pick the right LLVM backend based on the target triple.
LLVMTARGETOBJCMD := case $(target) in \
alpha-*-*) echo LLVMAlpha.o;; \
ia64-*-*) echo LLVMIA64.o;; \
i[34567]86-*-*) echo LLVMX86.o;; \
powerpc*-*-*) echo LLVMPowerPC.o;; \
sparc-*-*) echo LLVMSparc.o;; \...
2006 Mar 10
2
[LLVMdev] Getting Started with LLVM
On Mar 10, 2006, at 2:57 PM, Martin Pärtel wrote:
> I'm currently using the "make install"-ed version of LLVM in an
> autoconf/automake project. Setting it up wasn't that bad really.
> The .a
> libraries can be statically linked with the -l flag and .o
> libraries are
> simply linked in as normal object files (without -l). All the
> libraries got
>
2006 Jul 10
1
[LLVMdev] enabling Debian x86_64 for llvm 1.7
...@ -827,6 +827,7 @@
powerpc*-*-*) echo LLVMPowerPC.o;; \
sparc-*-*) echo LLVMSparc.o;; \
sparcv9-*-*) echo LLVMSparc.o;; \
+ x86_64-*-*-*) echo LLVMCBackend.o;; \
esac
LLVMTARGETOBJ := $(shell $(LLVMTARGETOBJCMD))
----------------------------------------------------------------------
Yes, it is a hack, but it does let me get further. I can get to this
point in compiling the C front-end:
----------------------------------------------------------------------
[...snip...]
gcc -c -g -O2 -DIN_GCC -DCROSS_...