mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-24 17:00:32 +02:00
37898: complete gcc linker options
This commit is contained in:
parent
485cbbb6cc
commit
e3188ff0e8
2 changed files with 16 additions and 0 deletions
|
|
@ -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 ::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue