GCC(1) GNU GCC(1)
NNAAMMEE
gcc - GNU project C and C++ compiler
SSYYNNOOPPSSIISS
gcc [--cc│--SS│--EE] [--ssttdd==_s_t_a_n_d_a_r_d]
[--gg] [--ppgg] [--OO_l_e_v_e_l]
[--WW_w_a_r_n...] [--ppeeddaannttiicc]
[--II_d_i_r...] [--LL_d_i_r...]
[--DD_m_a_c_r_o[=_d_e_f_n]...] [--UU_m_a_c_r_o]
[--ff_o_p_t_i_o_n...] [--mm_m_a_c_h_i_n_e_-_o_p_t_i_o_n...]
[--oo _o_u_t_f_i_l_e] _i_n_f_i_l_e...
Only the most useful options are listed here; see below for the remain-
der. gg++++ accepts mostly the same options as ggcccc.
DDEESSCCRRIIPPTTIIOONN
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 --cc 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 docu-
mented 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 ggcccc program accepts options and file names as operands. Many
options have multi-letter names; therefore multiple single-letter
options may _n_o_t be grouped: --ddrr is very different from --dd --rr.
You can mix options and other arguments. For the most part, the order
you use doesn’t matter. Order does matter when you use several options
of the same kind; for example, if you specify --LL more than once, the
directories are searched in the order specified.
Many options have long names starting with --ff or with --WW---for example,
--ffffoorrccee--mmeemm, --ffssttrreennggtthh--rreedduuccee, --WWffoorrmmaatt and so on. Most of these have
both positive and negative forms; the negative form of --ffffoooo would be
--ffnnoo--ffoooo. This manual documents only one of these two forms, whichever
one is not the default.
OOPPTTIIOONNSS
OOppttiioonn SSuummmmaarryy
Here is a summary of all the options, grouped by type. Explanations
are in the following sections.
_O_v_e_r_a_l_l _O_p_t_i_o_n_s
--cc --SS --EE --oo _f_i_l_e --ccoommbbiinnee --ppiippee --ppaassss--eexxiitt--ccooddeess --xx _l_a_n_g_u_a_g_e
--vv --###### ----hheellpp ----ttaarrggeett--hheellpp ----vveerrssiioonn
_C _L_a_n_g_u_a_g_e _O_p_t_i_o_n_s
--aannssii --ssttdd==_s_t_a_n_d_a_r_d --aauuxx--iinnffoo _f_i_l_e_n_a_m_e --ffnnoo--aassmm --ffnnoo--bbuuiillttiinn
--ffnnoo--bbuuiillttiinn--_f_u_n_c_t_i_o_n --ffhhoosstteedd --ffffrreeeessttaannddiinngg --ffmmss--eexxtteennssiioonnss
--ttrriiggrraapphhss --nnoo--iinntteeggrraatteedd--ccpppp --ttrraaddiittiioonnaall --ttrraaddiittiioonnaall--ccpppp
--ffaallllooww--ssiinnggllee--pprreecciissiioonn --ffccoonndd--mmiissmmaattcchh --ffssiiggnneedd--bbiittffiieellddss
--ffssiiggnneedd--cchhaarr --ffuunnssiiggnneedd--bbiittffiieellddss --ffuunnssiiggnneedd--cchhaarr
_C_+_+ _L_a_n_g_u_a_g_e _O_p_t_i_o_n_s
--ffaabbii--vveerrssiioonn==_n --ffnnoo--aacccceessss--ccoonnttrrooll --ffcchheecckk--nneeww --ffccoonnsseerrvvee--ssppaaccee
--ffnnoo--ccoonnsstt--ssttrriinnggss --ffnnoo--eelliiddee--ccoonnssttrruuccttoorrss --ffnnoo--eennffoorrccee--eehh--ssppeeccss
--ffffoorr--ssccooppee --ffnnoo--ffoorr--ssccooppee --ffnnoo--ggnnuu--kkeeyywwoorrddss --ffnnoo--iimmpplliicciitt--tteemm--
ppllaatteess --ffnnoo--iimmpplliicciitt--iinnlliinnee--tteemmppllaatteess --ffnnoo--iimmpplleemmeenntt--iinnlliinneess
--ffmmss--eexxtteennssiioonnss --ffnnoo--nnoonnaannssii--bbuuiillttiinnss --ffnnoo--ooppeerraattoorr--nnaammeess
--ffnnoo--ooppttiioonnaall--ddiiaaggss --ffppeerrmmiissssiivvee --ffrreeppoo --ffnnoo--rrttttii --ffssttaattss
--fftteemmppllaattee--ddeepptthh--_n --ffnnoo--tthhrreeaaddssaaffee--ssttaattiiccss --ffuussee--ccxxaa--aatteexxiitt
--ffnnoo--wweeaakk --nnoossttddiinncc++++ --ffnnoo--ddeeffaauulltt--iinnlliinnee --ffvviissiibbiill--
iittyy--iinnlliinneess--hhiiddddeenn --WWaabbii --WWccttoorr--ddttoorr--pprriivvaaccyy --WWnnoonn--vviirrttuuaall--ddttoorr
--WWrreeoorrddeerr --WWeeffffcc++++ --WWnnoo--ddeepprreeccaatteedd --WWssttrriicctt--nnuullll--sseennttiinneell
--WWnnoo--nnoonn--tteemmppllaattee--ffrriieenndd --WWoolldd--ssttyyllee--ccaasstt --WWoovveerrllooaaddeedd--vviirrttuuaall
--WWnnoo--ppmmff--ccoonnvveerrssiioonnss --WWssiiggnn--pprroommoo
_O_b_j_e_c_t_i_v_e_-_C _a_n_d _O_b_j_e_c_t_i_v_e_-_C_+_+ _L_a_n_g_u_a_g_e _O_p_t_i_o_n_s
--ffccoonnssttaanntt--ssttrriinngg--ccllaassss==_c_l_a_s_s_-_n_a_m_e --ffggnnuu--rruunnttiimmee --ffnneexxtt--rruunnttiimmee
--ffnnoo--nniill--rreecceeiivveerrss --ffoobbjjcc--eexxcceeppttiioonnss --ffrreeppllaaccee--oobbjjcc--ccllaasssseess
--ffzzeerroo--lliinnkk --ggeenn--ddeeccllss --WWnnoo--pprroottooccooll --WWsseelleeccttoorr --WWuunnddee--
ccllaarreedd--sseelleeccttoorr
_L_a_n_g_u_a_g_e _I_n_d_e_p_e_n_d_e_n_t _O_p_t_i_o_n_s
--ffmmeessssaaggee--lleennggtthh==_n --ffddiiaaggnnoossttiiccss--sshhooww--llooccaattiioonn==[oonnccee│eevveerryy--lliinnee]
_W_a_r_n_i_n_g _O_p_t_i_o_n_s
--ffssyynnttaaxx--oonnllyy --ppeeddaannttiicc --ppeeddaannttiicc--eerrrroorrss --ww --WWeexxttrraa --WWaallll
--WWaaggggrreeggaattee--rreettuurrnn --WWccaasstt--aalliiggnn --WWccaasstt--qquuaall --WWcchhaarr--ssuubbsscc
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共91个文件
cpp:26个
h:21个
o:19个
本课题的目的是要实现缺页处理程序,这需要在适当的时候将某些页面替换出/入。为了减少缺页和将页面从内存淘汰到磁盘的次数,要求你实现五种页面替换算法。 NRU(Not Recently Used)算法 SC(Second Chance)算法 Clock算法 Working Set算法 Aging算法
资源推荐
资源详情
资源评论
收起资源包目录
Nachos-scheduler.tar.gz (91个子文件)
machine
disk.cpp 9KB
stats.cpp 2KB
sysdep.h 2KB
disk.h 4KB
timer.cpp 3KB
network.h 4KB
translate.cpp 8KB
oneshot.cpp 3KB
machine.h 8KB
interrupt.cpp 12KB
mipssim.cpp 18KB
machine.cpp 6KB
mipssim.h 7KB
console.cpp 5KB
stats.h 2KB
console.h 3KB
timer.h 2KB
interrupt.h 5KB
sysdep.cpp 14KB
translate.h 2KB
network.cpp 4KB
oneshot.h 1KB
Makefile.common 4KB
threads
stats.o 5KB
list.cpp 8KB
test.0.std 4KB
test.1.std 3KB
test.2.cpp 1KB
synch.cpp 7KB
threadtest.cpp 3KB
test5 156KB
synch.o 8KB
switch.h 4KB
test.2.o 11KB
test.0.cpp 1KB
test2 156KB
switch.o 700B
test3 156KB
test.4.o 11KB
system.h 1KB
threadtest.o 13KB
synchlist.cpp 3KB
utility.h 3KB
thread.o 27KB
test.5.std 5KB
synch.h 5KB
timer.o 6KB
0 4KB
system.o 14KB
test.4.std 6KB
switch.s 9KB
1 3KB
thread.h 6KB
system.cpp 5KB
5 5KB
utility.o 5KB
comp.sh 97B
sysdep.o 19KB
test.1.o 11KB
scheduler.o 26KB
utility.cpp 2KB
test.3.cpp 1KB
test.5.o 11KB
gcc.txt 596KB
testcase.h 300B
2 3KB
main.cpp 5KB
list.h 2KB
synchlist.h 1KB
thread.cpp 16KB
scheduler.cpp 14KB
test0 156KB
scheduler.h 2KB
test.3.o 11KB
Makefile 17KB
copyright.h 1KB
test.0.o 11KB
test.4.cpp 1KB
test.2.std 3KB
test1 156KB
main.o 5KB
interrupt.o 24KB
test4 156KB
3 5KB
test.1.cpp 1KB
oneshot.o 7KB
4 6KB
test.3.std 5KB
swtch.s 1KB
test.5.cpp 1KB
Makefile.dep 924B
共 91 条
- 1
资源评论
御道御小黑
- 粉丝: 58
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功