Fix output bug: Intel asm comment character is #, not ;.
[oota-llvm.git] / Makefile.Linux
1 #===-- Makefile.Linux - Linux specific makefile options ---*- makefile -*--====#
2 #
3 # This file is included by all other files, through Makefile.common, but only
4 # when compiling on a Linux based platform.
5 #
6 #===-----------------------------------------------------------------------====#
7
8 # Set the architecture so that x86 platform dependant code is compmiled
9 ARCH := x86
10
11 # MakeSharedObjectOption - This option is passed to the linker by
12 # Makefile.common when compiling a shared object.
13 #
14 MakeSharedObjectOption := -shared
15
16 # PLATFORMLINKOPTS - On Linux, we must specify this linker option so that all
17 # symbols are exported by tools for runtime use by dlsym.
18 #
19 PLATFORMLINKOPTS := -Wl,--export-dynamic
20
21 # PLATFORMSTRIPOPTS - Command to pass to the link phase to cause symbols to be 
22 # stripped from the resultant binary.
23 PLATFORMSTRIPOPTS := -Wl,-x
24
25 # PLATFORMLIBDL - Library that supports dlsym() et al. 
26 PLATFORMLIBDL := -ldl
27
28 # Path to location for LLVM front-end for this architecture.  This setting may
29 # be overriden by the Makefile.config option, and should not override it if set.
30 #
31 LLVMGCCARCH := i686-pc-linux-gnu/3.4-llvm
32 ifndef LLVMGCCDIR
33 LLVMGCCDIR := /home/vadve/lattner/local/x86/llvm-gcc/
34 endif
35
36 # For now we disable running LLC output, because LLC does not generate x86 code
37 # LLC itself can be run so disable the diffs, not LLC itself.
38
39 DISABLE_LLC_DIFFS := 1
40
41 # This platform has a JIT compiler!  FIXME: This should be changed to be an
42 # option printed by LLI itself at some point.
43 #
44 TARGET_HAS_JIT := 1
45