[shell cmd] info

Posted by [하늘이]
2015. 6. 28. 14:48 IT/shell script, cmd
반응형

리눅스 명령에 대하여 man 명령어 보다 자세히 보고 싶을 때 사용한다.


$ info gcc


File: *manpages*,  Node: gcc,  Up: (dir)

GCC(1)                                GNU                               GCC(1)



NAME
       gcc - GNU project C and C++ compiler

SYNOPSIS
       gcc [-c|-S|-E] [-std=standard]
           [-g] [-pg] [-Olevel]
           [-Wwarn...] [-pedantic]
           [-Idir...] [-Ldir...]
           [-Dmacro[=defn]...] [-Umacro]
           [-foption...] [-mmachine-option...]
           [-o outfile] [@file] infile...

       Only the most useful options are listed here; see below for the
       remainder.  g++ accepts mostly the same options as gcc.

DESCRIPTION
       When you invoke GCC, it normally does preprocessing, compilation,
       assembly and linking.  The "overall options" allow you to stop this
       process at an intermediate stage.  For example, the -c option says not
       to run the linker.  Then the output consists of object files output by
       the assembler.

       Other options are passed on to one stage of processing.  Some options
       control the preprocessor and others the compiler itself.  Yet other
       options control the assembler and linker; most of these are not
       documented here, since you rarely need to use any of them.

       Most of the command line options that you can use with GCC are useful
       for C programs; when an option is only useful with another language
       (usually C++), the explanation says so explicitly.  If the description
       for a particular option does not mention a source language, you can use
       that option with all supported languages.

       The gcc program accepts options and file names as operands.  Many
       options have multi-letter names; therefore multiple single-letter
       options may not be grouped: -dv is very different from -d -v.

       You can mix options and other arguments.  For the most part, the order


반응형

'IT > shell script, cmd' 카테고리의 다른 글

리눅스에서 시리얼 디바이스 상태 확인 방법(Shell cmd)  (0) 2018.12.05
[shell cmd] ps : 프로세스 확인  (0) 2015.06.28
[shell cmd] sort  (0) 2015.06.28
[shell cmd] more  (0) 2015.06.28
[shell cmd] man  (0) 2015.06.28