forked from OSchip/llvm-project
parent
676efa092c
commit
6c41ac5b38
|
@ -45,7 +45,7 @@ def llvm_ld : Tool<[
|
|||
(in_language "llvm-bitcode"),
|
||||
(out_language "llvm-bitcode"),
|
||||
(output_suffix "bc"),
|
||||
(cmd_line "llvm-ld -link-as-library $INFILE -o $OUTFILE"),
|
||||
(cmd_line "$CALL(GetBinDir)llvm-ld -link-as-library $INFILE -o $OUTFILE"),
|
||||
(actions (case
|
||||
(switch_on "g"), (append_cmd "-disable-opt"),
|
||||
(not_empty "Wo,"), (unpack_values "Wo,")))
|
||||
|
@ -55,7 +55,7 @@ def llvm_ld_lto : Tool<[
|
|||
(in_language "llvm-bitcode"),
|
||||
(out_language "llvm-bitcode"),
|
||||
(output_suffix "bc"),
|
||||
(cmd_line "llvm-ld -link-as-library $INFILE -o $OUTFILE"),
|
||||
(cmd_line "$CALL(GetBinDir)llvm-ld -link-as-library $INFILE -o $OUTFILE"),
|
||||
(actions (case
|
||||
(switch_on "g"), (append_cmd "-disable-opt"),
|
||||
(not_empty "Wo,"), (unpack_values "Wo,"))),
|
||||
|
@ -66,7 +66,7 @@ def llc : Tool<[
|
|||
(in_language "llvm-bitcode"),
|
||||
(out_language "assembler"),
|
||||
(output_suffix "s"),
|
||||
(cmd_line "llc -march=pic16 -f $INFILE -o $OUTFILE"),
|
||||
(cmd_line "$CALL(GetBinDir)llc -march=pic16 -f $INFILE -o $OUTFILE"),
|
||||
(actions (case
|
||||
(switch_on "S"), (stop_compilation),
|
||||
(not_empty "Wllc,"), (unpack_values "Wllc,"),
|
||||
|
@ -77,7 +77,7 @@ def gpasm : Tool<[
|
|||
(in_language "assembler"),
|
||||
(out_language "object-code"),
|
||||
(output_suffix "o"),
|
||||
(cmd_line "gpasm -r decimal -p p16F1937 -I $CALL(GetStdAsmHeadersDir) -C -c $INFILE -o $OUTFILE"),
|
||||
(cmd_line "$CALL(GetBinDir)gpasm -r decimal -p p16F1937 -I $CALL(GetStdAsmHeadersDir) -C -c $INFILE -o $OUTFILE"),
|
||||
(actions (case
|
||||
(switch_on "c"), (stop_compilation),
|
||||
(not_empty "Wa,"), (unpack_values "Wa,")))
|
||||
|
@ -87,7 +87,7 @@ def mplink : Tool<[
|
|||
(in_language "object-code"),
|
||||
(out_language "executable"),
|
||||
(output_suffix "out"),
|
||||
(cmd_line "mplink.exe /k $CALL(GetStdLinkerScriptsDir) /l $CALL(GetStdLibsDir) 16f1937.lkr intrinsics.lib std.lib $INFILE -o $OUTFILE"),
|
||||
(cmd_line "$CALL(GetBinDir)mplink.exe /k $CALL(GetStdLinkerScriptsDir) /l $CALL(GetStdLibsDir) 16f1937.lkr intrinsics.lib std.lib $INFILE -o $OUTFILE"),
|
||||
(actions (case
|
||||
(not_empty "Wl,"), (unpack_values "Wl,"))),
|
||||
(join)
|
||||
|
|
Loading…
Reference in New Issue