⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gcc.texinfo

📁 这是完整的gcc源代码
💻 TEXINFO
📖 第 1 页 / 共 5 页
字号:
\input texinfo  @c -*-texinfo-*-@settitle Using and Porting GNU CC@setfilename gcc.info@ifinfoThis file documents the use and the internals of the GNU compiler.Copyright (C) 1988, 1989, 1990 Free Software Foundation, Inc.Permission is granted to make and distribute verbatim copies ofthis manual provided the copyright notice and this permission noticeare preserved on all copies.@ignorePermission is granted to process this file through Tex and print theresults, provided the printed document carries copying permissionnotice identical to this one except for the removal of this paragraph(this paragraph not being relevant to the printed manual).@end ignorePermission is granted to copy and distribute modified versions of thismanual under the conditions for verbatim copying, provided also that thesections entitled ``GNU General Public License'' and ``Protect YourFreedom---Fight `Look And Feel'@w{}'' are included exactly as in theoriginal, and provided that the entire resulting derived work isdistributed under the terms of a permission notice identical to thisone.Permission is granted to copy and distribute translations of this manualinto another language, under the above conditions for modified versions,except that the sections entitled ``GNU General Public License'' and``Protect Your Freedom---Fight `Look And Feel'@w{}'' and this permissionnotice may be included in translations approved by the Free SoftwareFoundation instead of in the original English.@end ifinfo@setchapternewpage odd@titlepage@center @titlefont{Using and Porting GNU CC}@sp 2@center Richard M. Stallman@sp 3@center last updated 19 Sep 1992@sp 1@center for version 1.42@page@vskip 0pt plus 1filllCopyright @copyright{} 1988, 1989, 1990, 1991, 1992 Free Software Foundation, Inc.Permission is granted to make and distribute verbatim copies ofthis manual provided the copyright notice and this permission noticeare preserved on all copies.Permission is granted to copy and distribute modified versions of thismanual under the conditions for verbatim copying, provided also that thesections entitled ``GNU General Public License'' and ``Protect YourFreedom---Fight `Look And Feel'@w{}'' are included exactly as in theoriginal, and provided that the entire resulting derived work isdistributed under the terms of a permission notice identical to thisone.Permission is granted to copy and distribute translations of this manualinto another language, under the above conditions for modified versions,except that the sections entitled ``GNU General Public License'' and``Protect Your Freedom---Fight `Look And Feel'@w{}'' and this permissionnotice may be included in translations approved by the Free SoftwareFoundation instead of in the original English.@end titlepage@page@ifinfo@node Top, Copying,, (DIR)@ichapter IntroductionThis manual documents how to run, install and port the GNU C compiler, aswell as its new features and incompatibilities, and how to report bugs.@end ifinfo@menu* Copying::         GNU General Public License says                     how you can copy and share GNU CC.* Contributors::    People who have contributed to GNU CC.* Boycott::	    Protect your freedom---fight ``look and feel''.* Options::         Command options supported by @samp{gcc}.* Installation::    How to configure, compile and install GNU CC.* Trouble::         If you have trouble installing GNU CC.* Service::         How to find suppliers of services for GNU CC users.* Incompatibilities:: Incompatibilities of GNU CC.* Extensions::      GNU extensions to the C language.* Bugs::            How to report bugs (if you want to get them fixed).* Portability::     Goals of GNU CC's portability features.* Interface::       Function-call interface of GNU CC output.* Passes::          Order of passes, what they do, and what each file is for.* RTL::             The intermediate representation that most passes work on.* Machine Desc::    How to write machine description instruction patterns.* Machine Macros::  How to write the machine description C macros.* Config::          Writing the @file{xm-@var{machine}.h} file.@end menu@node Copying, Contributors, Top, Top@unnumbered GNU GENERAL PUBLIC LICENSE@center Version 1, February 1989@displayCopyright @copyright{} 1989 Free Software Foundation, Inc.675 Mass Ave, Cambridge, MA 02139, USAEveryone is permitted to copy and distribute verbatim copiesof this license document, but changing it is not allowed.@end display@unnumberedsec Preamble  The license agreements of most software companies try to keep usersat the mercy of those companies.  By contrast, our General PublicLicense is intended to guarantee your freedom to share and change freesoftware---to make sure the software is free for all its users.  TheGeneral Public License applies to the Free Software Foundation'ssoftware and to any other program whose authors commit to using it.You can use it for your programs, too.  When we speak of free software, we are referring to freedom, notprice.  Specifically, the General Public License is designed to makesure that you have the freedom to give away or sell copies of freesoftware, that you receive source code or can get it if you want it,that you can change the software or use pieces of it in new freeprograms; and that you know you can do these things.  To protect your rights, we need to make restrictions that forbidanyone to deny you these rights or to ask you to surrender the rights.These restrictions translate to certain responsibilities for you if youdistribute copies of the software, or if you modify it.  For example, if you distribute copies of a such a program, whethergratis or for a fee, you must give the recipients all the rights thatyou have.  You must make sure that they, too, receive or can get thesource code.  And you must tell them their rights.  We protect your rights with two steps: (1) copyright the software, and(2) offer you this license which gives you legal permission to copy,distribute and/or modify the software.  Also, for each author's protection and ours, we want to make certainthat everyone understands that there is no warranty for this freesoftware.  If the software is modified by someone else and passed on, wewant its recipients to know that what they have is not the original, sothat any problems introduced by others will not reflect on the originalauthors' reputations.  The precise terms and conditions for copying, distribution andmodification follow.@iftex@unnumberedsec TERMS AND CONDITIONS@end iftex@ifinfo@center TERMS AND CONDITIONS@end ifinfo@enumerate@itemThis License Agreement applies to any program or other work whichcontains a notice placed by the copyright holder saying it may bedistributed under the terms of this General Public License.  The``Program'', below, refers to any such program or work, and a ``work basedon the Program'' means either the Program or any work containing theProgram or a portion of it, either verbatim or with modifications.  Eachlicensee is addressed as ``you''.@itemYou may copy and distribute verbatim copies of the Program's sourcecode as you receive it, in any medium, provided that you conspicuously andappropriately publish on each copy an appropriate copyright notice anddisclaimer of warranty; keep intact all the notices that refer to thisGeneral Public License and to the absence of any warranty; and give anyother recipients of the Program a copy of this General Public Licensealong with the Program.  You may charge a fee for the physical act oftransferring a copy.@itemYou may modify your copy or copies of the Program or any portion ofit, and copy and distribute such modifications under the terms of Paragraph1 above, provided that you also do the following:@itemize @bullet@itemcause the modified files to carry prominent notices stating thatyou changed the files and the date of any change; and@itemcause the whole of any work that you distribute or publish, thatin whole or in part contains the Program or any part thereof, eitherwith or without modifications, to be licensed at no charge to allthird parties under the terms of this General Public License (exceptthat you may choose to grant warranty protection to some or allthird parties, at your option).@itemIf the modified program normally reads commands interactively whenrun, you must cause it, when started running for such interactive usein the simplest and most usual way, to print or display anannouncement including an appropriate copyright notice and a noticethat there is no warranty (or else, saying that you provide awarranty) and that users may redistribute the program under theseconditions, and telling the user how to view a copy of this GeneralPublic License.@itemYou may charge a fee for the physical act of transferring acopy, and you may at your option offer warranty protection inexchange for a fee.@end itemizeMere aggregation of another independent work with the Program (or itsderivative) on a volume of a storage or distribution medium does not bringthe other work under the scope of these terms.@itemYou may copy and distribute the Program (or a portion or derivative ofit, under Paragraph 2) in object code or executable form under the terms ofParagraphs 1 and 2 above provided that you also do one of the following:@itemize @bullet@itemaccompany it with the complete corresponding machine-readablesource code, which must be distributed under the terms ofParagraphs 1 and 2 above; or,@itemaccompany it with a written offer, valid for at least threeyears, to give any third party free (except for a nominal chargefor the cost of distribution) a complete machine-readable copy of thecorresponding source code, to be distributed under the terms ofParagraphs 1 and 2 above; or,@itemaccompany it with the information you received as to where thecorresponding source code may be obtained.  (This alternative isallowed only for noncommercial distribution and only if youreceived the program in object code or executable form alone.)@end itemizeSource code for a work means the preferred form of the work for makingmodifications to it.  For an executable file, complete source code meansall the source code for all modules it contains; but, as a specialexception, it need not include source code for modules which are standardlibraries that accompany the operating system on which the executablefile runs, or for standard header files or definitions files thataccompany that operating system.@itemYou may not copy, modify, sublicense, distribute or transfer theProgram except as expressly provided under this General Public License.Any attempt otherwise to copy, modify, sublicense, distribute or transferthe Program is void, and will automatically terminate your rights to usethe Program under this License.  However, parties who have receivedcopies, or rights to use copies, from you under this General PublicLicense will not have their licenses terminated so long as such partiesremain in full compliance.@itemBy copying, distributing or modifying the Program (or any work basedon the Program) you indicate your acceptance of this license to do so,and all its terms and conditions.@itemEach time you redistribute the Program (or any work based on theProgram), the recipient automatically receives a license from the originallicensor to copy, distribute or modify the Program subject to theseterms and conditions.  You may not impose any further restrictions on therecipients' exercise of the rights granted herein.@itemThe Free Software Foundation may publish revised and/or new versionsof the General Public License from time to time.  Such new versions willbe similar in spirit to the present version, but may differ in detail toaddress new problems or concerns.Each version is given a distinguishing version number.  If the Programspecifies a version number of the license which applies to it and ``anylater version'', you have the option of following the terms and conditionseither of that version or of any later version published by the FreeSoftware Foundation.  If the Program does not specify a version number ofthe license, you may choose any version ever published by the Free SoftwareFoundation.@itemIf you wish to incorporate parts of the Program into other freeprograms whose distribution conditions are different, write to the authorto ask for permission.  For software which is copyrighted by the FreeSoftware Foundation, write to the Free Software Foundation; we sometimesmake exceptions for this.  Our decision will be guided by the two goalsof preserving the free status of all derivatives of our free software andof promoting the sharing and reuse of software generally.@iftex@heading NO WARRANTY@end iftex@ifinfo@center NO WARRANTY@end ifinfo@itemBECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTYFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHENOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIESPROVIDE THE PROGRAM ``AS IS'' WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSEDOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK ASTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THEPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,REPAIR OR CORRECTION.@itemIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILLANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/ORREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGESARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOTLIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSESSUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATEWITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEENADVISED OF THE POSSIBILITY OF SUCH DAMAGES.@end enumerate@iftex@heading END OF TERMS AND CONDITIONS@end iftex@ifinfo@center END OF TERMS AND CONDITIONS@end ifinfo@page@unnumberedsec Appendix: How to Apply These Terms to Your New Programs  If you develop a new program, and you want it to be of the greatestpossible use to humanity, the best way to achieve this is to make itfree software which everyone can redistribute and change under theseterms.  To do so, attach the following notices to the program.  It is safest toattach them to the start of each source file to most effectively conveythe exclusion of warranty; and each file should have at least the``copyright'' line and a pointer to where the full notice is found.@smallexample

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -