add gcc completion lm lz lrt (#9919)

add some gcc completion options

(cherry picked from commit 9a9e133b18)
This commit is contained in:
AsukaMinato 2023-07-29 11:52:23 +09:00 committed by Fabian Boehm
parent f2d8112136
commit 7e75fe3d37

View file

@ -491,6 +491,9 @@ complete -c gcc -s S -d 'Stop after the stage of compilation proper; do not asse
complete -c gcc -s E -d 'Stop after the preprocessing stage; do not run the compiler proper'
complete -c gcc -o llibrary -d 'Search the library named library when linking'
complete -c gcc -s l -d 'Search the library named library when linking'
complete -c gcc -o lm -d 'Search the math library when linking'
complete -c gcc -o lz -d 'Search the zlib library when linking'
complete -c gcc -o lrt -d 'Search the realtime extensions library when linking'
complete -c gcc -o lobjc -d 'You need this special case of the -l option in order to link an Objective-C or Objective-C++ program'
complete -c gcc -o nostartfiles -d 'Do not use the standard system startup files when linking'
complete -c gcc -o nodefaultlibs -d 'Do not use the standard system libraries when linking'