]>
Commit | Line | Data |
---|---|---|
c63539ff ML |
1 | .. |
2 | Copyright 1988-2022 Free Software Foundation, Inc. | |
3 | This is part of the GCC manual. | |
4 | For copying conditions, see the copyright.rst file. | |
5 | ||
6 | .. program:: System V | |
7 | ||
8 | .. _system-v-options: | |
9 | ||
10 | Options for System V | |
11 | ^^^^^^^^^^^^^^^^^^^^ | |
12 | ||
13 | These additional options are available on System V Release 4 for | |
14 | compatibility with other compilers on those systems: | |
15 | ||
16 | .. option:: -G | |
17 | ||
18 | Create a shared object. | |
19 | It is recommended that :option:`-symbolic` or :option:`-shared` be used instead. | |
20 | ||
21 | .. option:: -Qy | |
22 | ||
23 | Identify the versions of each tool used by the compiler, in a | |
24 | ``.ident`` assembler directive in the output. | |
25 | ||
26 | .. option:: -Qn | |
27 | ||
28 | Refrain from adding ``.ident`` directives to the output file (this is | |
29 | the default). | |
30 | ||
31 | .. option:: -YP,dirs | |
32 | ||
33 | Search the directories :samp:`{dirs}`, and no others, for libraries | |
34 | specified with :option:`-l`. | |
35 | ||
36 | .. option:: -Ym,dir | |
37 | ||
38 | Look in the directory :samp:`{dir}` to find the M4 preprocessor. | |
39 | The assembler uses this option. | |
40 | ||
41 | .. This is supposed to go with a -Yd for predefined M4 macro files, but | |
42 | ||
3ed1b4ce | 43 | .. the generic assembler that comes with Solaris takes just -Ym. |