From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: zsh-workers@zsh.org
Subject: GitHub [PATCH]es to _gcc and compinstall
Date: Sun, 07 Feb 2016 00:22:10 +0000 [thread overview]
Message-ID: <20160207002210.GA12731@tarsus.local2> (raw)
[-- Attachment #1: Type: text/plain, Size: 362 bytes --]
We received three trivial patches via github:
- _gcc patch: https://github.com/zsh-users/zsh/pull/3
- compinstall patch: https://github.com/zsh-users/zsh/pull/5
- complist docs patch: https://github.com/zsh-users/zsh/pull/6
I've pushed the complist one. I'll leave the _gcc and compinstall ones
for others. (I've attaced them to this mail.)
Cheers,
Daniel
[-- Attachment #2: 14e5aa4b0cf69134b36dfde72c8dec19d99bf1ff.patch --]
[-- Type: text/x-diff, Size: 1581 bytes --]
>From 14e5aa4b0cf69134b36dfde72c8dec19d99bf1ff Mon Sep 17 00:00:00 2001
From: calculuswhiz <calculuswhiz@users.noreply.github.com>
Date: Tue, 17 Mar 2015 15:11:02 -0500
Subject: [PATCH] Added some options.
Mostly just added these for the '-nostdlib' option because it's useful when I write programs in x86.
---
Completion/Unix/Command/_gcc | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/Completion/Unix/Command/_gcc b/Completion/Unix/Command/_gcc
index 2c5ffdc..1276054 100644
--- a/Completion/Unix/Command/_gcc
+++ b/Completion/Unix/Command/_gcc
@@ -763,6 +763,20 @@ args+=(
'-fpack-struct=-[Set initial maximum structure member alignment]:alignment: '
)
+# More linker options, from gcc man pages
+args+=(
+ '-nostartfiles[Do not use the standard system startup files when linking]'
+ '-nodefaultlibs[Do not use the standard system libraries when linking]'
+ '-nostdlib[Do not use the standard system startup files or libraries when linking]'
+ '-rdynamic[Pass the flag -export-dynamic to the ELF linker, on targets that support it]'
+ '-s[Remove all symbol table and relocation information from the executable]'
+ '-static[On systems that support dynamic linking, this prevents linking with the shared libraries]'
+ '-shared-libgcc[Force shared libgcc]'
+ '-static-libgcc[Force static libgcc]'
+ '-symbolic[Bind references to global symbols when building a shared object.]'
+ '-T:linker script:_files'
+)
+
# other common options, gcc --help=warnings --help=optimizers --help=common|sed 1,/language-independent/d
args+=(
# | grep -v ::
[-- Attachment #3: 03b0f51771aa8f74197f40709b97ee1f433fa0fe.patch --]
[-- Type: text/x-diff, Size: 752 bytes --]
>From 03b0f51771aa8f74197f40709b97ee1f433fa0fe Mon Sep 17 00:00:00 2001
From: Yousef Amar <yousefamar@gmail.com>
Date: Sat, 20 Jun 2015 14:50:38 +0200
Subject: [PATCH] Correct typo in compinstall
---
Completion/compinstall | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Completion/compinstall b/Completion/compinstall
index afa517e..2e4b2f4 100644
--- a/Completion/compinstall
+++ b/Completion/compinstall
@@ -1293,7 +1293,7 @@ __ci_do_insertion() {
2. In completers which correct what you have typed, keep what you
originally typed as one of the list of possible completions.
-q. Return with saving.
+q. Return without saving.
0. Done setting options for insertion.
"
read -k key'?-- Hit selection --- '
reply other threads:[~2016-02-07 0:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160207002210.GA12731@tarsus.local2 \
--to=d.s@daniel.shahaf.name \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).