[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/beardbolt b71d1bd763 265/323: * beardbolt.el (bb-compil
From: |
ELPA Syncer |
Subject: |
[elpa] externals/beardbolt b71d1bd763 265/323: * beardbolt.el (bb-compile): Fix handling of bb-asm-format. |
Date: |
Thu, 9 Mar 2023 10:58:37 -0500 (EST) |
branch: externals/beardbolt
commit b71d1bd76370b8c6837c9712edc6123aca85f297
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
* beardbolt.el (bb-compile): Fix handling of bb-asm-format.
---
beardbolt.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/beardbolt.el b/beardbolt.el
index 8177010f63..57bdb7e1af 100644
--- a/beardbolt.el
+++ b/beardbolt.el
@@ -334,8 +334,7 @@ This function does NOT quote the return value for use in
inferior shells."
"-"
"-o" (shell-quote-argument (bb-output-filename
(current-buffer)))
- (when (and bb-asm-format
- (not bb-disassemble))
+ (when (and bb-asm-format (not bb-disassemble))
(format "-masm=%s" bb-asm-format)))
" "))
(cmd (if (and bb-flag-quirks
@@ -360,6 +359,7 @@ This function does NOT quote the return value for use in
inferior shells."
(defvar bb-languages
`((c-mode
. ,(make-beardbolt-lang :compile-cmd-function #'bb--c-compile-cmd
+ :base-cmd "gcc"
:objdumper 'objdump
:asm-function #'bb--process-src-asm-lines
:disass-function #'bb--process-disassembled-lines
@@ -367,6 +367,7 @@ This function does NOT quote the return value for use in
inferior shells."
:disass-hidden-funcs bb--hidden-func-c))
(c++-mode
. ,(make-beardbolt-lang :compile-cmd-function #'bb--c-compile-cmd
+ :base-cmd "g++"
:objdumper 'objdump
:asm-function #'bb--process-src-asm-lines
:disass-function #'bb--process-disassembled-lines
@@ -792,8 +793,8 @@ Interactively, determine LANG from `major-mode'."
"&&"
bb-objdump-binary "-d" (bb-output-filename
src-buffer)
"-C" "--insn-width=16" "-l"
- (when (not (booleanp bb-asm-format))
- (concat "-M " bb-asm-format))
+ (when bb-asm-format
+ (format "-M %s" bb-asm-format))
">" (bb-output-filename src-buffer t))
" ")))
(_
- [elpa] externals/beardbolt 8544df3e9d 222/323: Use `rmsbolt--cleanup-overlays`, (continued)
- [elpa] externals/beardbolt 8544df3e9d 222/323: Use `rmsbolt--cleanup-overlays`, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 42b0ab4239 225/323: Make it clear that we're operating on a list of asm regions, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 4f4a7f85ac 223/323: Simplify visibility check logic, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 3a1e068bb8 228/323: Don't update overlays if the src buffer is no longer current, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt b56d3b6cdb 245/323: Merge branch 'improve-starters' into 'master', ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 16f887917b 252/323: Improve rainbow color selection algorithm, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 9bc7e8aeb8 236/323: Remove `rmsbolt--post-command-hook` when mode is deactivated, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 660739681c 254/323: Rename every rms* file to beard*, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt f846655a35 250/323: Rework rmsbolt-rainbowize to reuse more code, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 78eed53af1 260/323: Don't hang a "[Compiling]" forever in the mode-line, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt b71d1bd763 265/323: * beardbolt.el (bb-compile): Fix handling of bb-asm-format.,
ELPA Syncer <=
- [elpa] externals/beardbolt 4cbe58f834 279/323: Add -g1 instead of -g to speed it up massively, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 2542f24813 285/323: Tweak, rework, speed up main algorithm again, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 85bc714336 295/323: Simplify source file tracking, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt c5086ea624 294/323: bb--output-mode now a major mode, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 298a5fe6a2 296/323: Fix starter/beardbolt.cpp, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 067096f3b9 299/323: Friendlier beardbolt--output-mode, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 0ae21a302a 302/323: Simplify window management in preparation of beardbolt-execute-program, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 842b2159da 305/323: More simplification, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt 60d189b0a6 310/323: Advertise beardbolt-execute and a few other things, ELPA Syncer, 2023/03/09
- [elpa] externals/beardbolt c374b17f5c 314/323: Don't require file to be saved, but do take advantage if it is, ELPA Syncer, 2023/03/09