x86_64-linux-gnu-gccinstall.info 207 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844
  1. This is x86_64-linux-gnu-gccinstall.info, produced by makeinfo version
  2. 6.7 from install.texi.
  3. Copyright (C) 1988-2019 Free Software Foundation, Inc.
  4. Permission is granted to copy, distribute and/or modify this document
  5. under the terms of the GNU Free Documentation License, Version 1.3 or
  6. any later version published by the Free Software Foundation; with no
  7. Invariant Sections, the Front-Cover texts being (a) (see below), and
  8. with the Back-Cover Texts being (b) (see below). A copy of the license
  9. is included in the section entitled "GNU Free Documentation License".
  10. (a) The FSF's Front-Cover Text is:
  11. A GNU Manual
  12. (b) The FSF's Back-Cover Text is:
  13. You have freedom to copy and modify this GNU Manual, like GNU
  14. software. Copies published by the Free Software Foundation raise funds
  15. for GNU development.
  16. INFO-DIR-SECTION Software development
  17. START-INFO-DIR-ENTRY
  18. * x86_64-linux-gnu-gccinstall: (x86_64-linux-gnu-gccinstall). Installing the GNU Compiler Collection.
  19. END-INFO-DIR-ENTRY
  20. Copyright (C) 1988-2019 Free Software Foundation, Inc.
  21. Permission is granted to copy, distribute and/or modify this document
  22. under the terms of the GNU Free Documentation License, Version 1.3 or
  23. any later version published by the Free Software Foundation; with no
  24. Invariant Sections, the Front-Cover texts being (a) (see below), and
  25. with the Back-Cover Texts being (b) (see below). A copy of the license
  26. is included in the section entitled "GNU Free Documentation License".
  27. (a) The FSF's Front-Cover Text is:
  28. A GNU Manual
  29. (b) The FSF's Back-Cover Text is:
  30. You have freedom to copy and modify this GNU Manual, like GNU
  31. software. Copies published by the Free Software Foundation raise funds
  32. for GNU development.
  33. 
  34. File: x86_64-linux-gnu-gccinstall.info, Node: Top, Up: (dir)
  35. * Menu:
  36. * Installing GCC:: This document describes the generic installation
  37. procedure for GCC as well as detailing some target
  38. specific installation instructions.
  39. * Specific:: Host/target specific installation notes for GCC.
  40. * Binaries:: Where to get pre-compiled binaries.
  41. * Old:: Old installation documentation.
  42. * GNU Free Documentation License:: How you can copy and share this manual.
  43. * Concept Index:: This index has two entries.
  44. 
  45. File: x86_64-linux-gnu-gccinstall.info, Node: Installing GCC, Next: Binaries, Up: Top
  46. 1 Installing GCC
  47. ****************
  48. The latest version of this document is always available at
  49. http://gcc.gnu.org/install/. It refers to the current development
  50. sources, instructions for specific released versions are included with
  51. the sources.
  52. This document describes the generic installation procedure for GCC as
  53. well as detailing some target specific installation instructions.
  54. GCC includes several components that previously were separate
  55. distributions with their own installation instructions. This document
  56. supersedes all package-specific installation instructions.
  57. _Before_ starting the build/install procedure please check the *note
  58. host/target specific installation notes: Specific. We recommend you
  59. browse the entire generic installation instructions before you proceed.
  60. Lists of successful builds for released versions of GCC are available
  61. at <http://gcc.gnu.org/buildstat.html>. These lists are updated as new
  62. information becomes available.
  63. The installation procedure itself is broken into five steps.
  64. * Menu:
  65. * Prerequisites::
  66. * Downloading the source::
  67. * Configuration::
  68. * Building::
  69. * Testing:: (optional)
  70. * Final install::
  71. Please note that GCC does not support 'make uninstall' and probably
  72. won't do so in the near future as this would open a can of worms.
  73. Instead, we suggest that you install GCC into a directory of its own and
  74. simply remove that directory when you do not need that specific version
  75. of GCC any longer, and, if shared libraries are installed there as well,
  76. no more binaries exist that use them.
  77. 
  78. File: x86_64-linux-gnu-gccinstall.info, Node: Prerequisites, Next: Downloading the source, Up: Installing GCC
  79. 2 Prerequisites
  80. ***************
  81. GCC requires that various tools and packages be available for use in the
  82. build procedure. Modifying GCC sources requires additional tools
  83. described below.
  84. Tools/packages necessary for building GCC
  85. =========================================
  86. ISO C++98 compiler
  87. Necessary to bootstrap GCC, although versions of GCC prior to 4.8
  88. also allow bootstrapping with a ISO C89 compiler and versions of
  89. GCC prior to 3.4 also allow bootstrapping with a traditional (K&R)
  90. C compiler.
  91. To build all languages in a cross-compiler or other configuration
  92. where 3-stage bootstrap is not performed, you need to start with an
  93. existing GCC binary (version 3.4 or later) because source code for
  94. language frontends other than C might use GCC extensions.
  95. Note that to bootstrap GCC with versions of GCC earlier than 3.4,
  96. you may need to use '--disable-stage1-checking', though
  97. bootstrapping the compiler with such earlier compilers is strongly
  98. discouraged.
  99. C standard library and headers
  100. In order to build GCC, the C standard library and headers must be
  101. present for all target variants for which target libraries will be
  102. built (and not only the variant of the host C++ compiler).
  103. This affects the popular 'x86_64-pc-linux-gnu' platform (among
  104. other multilib targets), for which 64-bit ('x86_64') and 32-bit
  105. ('i386') libc headers are usually packaged separately. If you do a
  106. build of a native compiler on 'x86_64-pc-linux-gnu', make sure you
  107. either have the 32-bit libc developer package properly installed
  108. (the exact name of the package depends on your distro) or you must
  109. build GCC as a 64-bit only compiler by configuring with the option
  110. '--disable-multilib'. Otherwise, you may encounter an error such
  111. as 'fatal error: gnu/stubs-32.h: No such file'
  112. GNAT
  113. In order to build the Ada compiler (GNAT) you must already have
  114. GNAT installed because portions of the Ada frontend are written in
  115. Ada (with GNAT extensions.) Refer to the Ada installation
  116. instructions for more specific information.
  117. A "working" POSIX compatible shell, or GNU bash
  118. Necessary when running 'configure' because some '/bin/sh' shells
  119. have bugs and may crash when configuring the target libraries. In
  120. other cases, '/bin/sh' or 'ksh' have disastrous corner-case
  121. performance problems. This can cause target 'configure' runs to
  122. literally take days to complete in some cases.
  123. So on some platforms '/bin/ksh' is sufficient, on others it isn't.
  124. See the host/target specific instructions for your platform, or use
  125. 'bash' to be sure. Then set 'CONFIG_SHELL' in your environment to
  126. your "good" shell prior to running 'configure'/'make'.
  127. 'zsh' is not a fully compliant POSIX shell and will not work when
  128. configuring GCC.
  129. A POSIX or SVR4 awk
  130. Necessary for creating some of the generated source files for GCC.
  131. If in doubt, use a recent GNU awk version, as some of the older
  132. ones are broken. GNU awk version 3.1.5 is known to work.
  133. GNU binutils
  134. Necessary in some circumstances, optional in others. See the
  135. host/target specific instructions for your platform for the exact
  136. requirements.
  137. gzip version 1.2.4 (or later) or
  138. bzip2 version 1.0.2 (or later)
  139. Necessary to uncompress GCC 'tar' files when source code is
  140. obtained via FTP mirror sites.
  141. GNU make version 3.80 (or later)
  142. You must have GNU make installed to build GCC.
  143. GNU tar version 1.14 (or later)
  144. Necessary (only on some platforms) to untar the source code. Many
  145. systems' 'tar' programs will also work, only try GNU 'tar' if you
  146. have problems.
  147. Perl version between 5.6.1 and 5.6.24
  148. Necessary when targeting Darwin, building 'libstdc++', and not
  149. using '--disable-symvers'. Necessary when targeting Solaris 2 with
  150. Sun 'ld' and not using '--disable-symvers'. The bundled 'perl' in
  151. Solaris 8 and up works.
  152. Necessary when regenerating 'Makefile' dependencies in libiberty.
  153. Necessary when regenerating 'libiberty/functions.texi'. Necessary
  154. when generating manpages from Texinfo manuals. Used by various
  155. scripts to generate some files included in the source repository
  156. (mainly Unicode-related and rarely changing) from source tables.
  157. Used by 'automake'.
  158. Several support libraries are necessary to build GCC, some are
  159. required, others optional. While any sufficiently new version of
  160. required tools usually work, library requirements are generally
  161. stricter. Newer versions may work in some cases, but it's safer to use
  162. the exact versions documented. We appreciate bug reports about problems
  163. with newer versions, though. If your OS vendor provides packages for
  164. the support libraries then using those packages may be the simplest way
  165. to install the libraries.
  166. GNU Multiple Precision Library (GMP) version 4.3.2 (or later)
  167. Necessary to build GCC. If a GMP source distribution is found in a
  168. subdirectory of your GCC sources named 'gmp', it will be built
  169. together with GCC. Alternatively, if GMP is already installed but
  170. it is not in your library search path, you will have to configure
  171. with the '--with-gmp' configure option. See also '--with-gmp-lib'
  172. and '--with-gmp-include'. The in-tree build is only supported with
  173. the GMP version that download_prerequisites installs.
  174. MPFR Library version 2.4.2 (or later)
  175. Necessary to build GCC. It can be downloaded from
  176. <https://www.mpfr.org>. If an MPFR source distribution is found in
  177. a subdirectory of your GCC sources named 'mpfr', it will be built
  178. together with GCC. Alternatively, if MPFR is already installed but
  179. it is not in your default library search path, the '--with-mpfr'
  180. configure option should be used. See also '--with-mpfr-lib' and
  181. '--with-mpfr-include'. The in-tree build is only supported with
  182. the MPFR version that download_prerequisites installs.
  183. MPC Library version 0.8.1 (or later)
  184. Necessary to build GCC. It can be downloaded from
  185. <http://www.multiprecision.org/mpc/>. If an MPC source
  186. distribution is found in a subdirectory of your GCC sources named
  187. 'mpc', it will be built together with GCC. Alternatively, if MPC is
  188. already installed but it is not in your default library search
  189. path, the '--with-mpc' configure option should be used. See also
  190. '--with-mpc-lib' and '--with-mpc-include'. The in-tree build is
  191. only supported with the MPC version that download_prerequisites
  192. installs.
  193. isl Library version 0.15 or later.
  194. Necessary to build GCC with the Graphite loop optimizations. It
  195. can be downloaded from <ftp://gcc.gnu.org/pub/gcc/infrastructure/>.
  196. If an isl source distribution is found in a subdirectory of your
  197. GCC sources named 'isl', it will be built together with GCC.
  198. Alternatively, the '--with-isl' configure option should be used if
  199. isl is not installed in your default library search path.
  200. Tools/packages necessary for modifying GCC
  201. ==========================================
  202. autoconf version 2.69
  203. GNU m4 version 1.4.6 (or later)
  204. Necessary when modifying 'configure.ac', 'aclocal.m4', etc. to
  205. regenerate 'configure' and 'config.in' files.
  206. automake version 1.15.1
  207. Necessary when modifying a 'Makefile.am' file to regenerate its
  208. associated 'Makefile.in'.
  209. Much of GCC does not use automake, so directly edit the
  210. 'Makefile.in' file. Specifically this applies to the 'gcc',
  211. 'intl', 'libcpp', 'libiberty', 'libobjc' directories as well as any
  212. of their subdirectories.
  213. For directories that use automake, GCC requires the latest release
  214. in the 1.15 series, which is currently 1.15.1. When regenerating a
  215. directory to a newer version, please update all the directories
  216. using an older 1.15 to the latest released version.
  217. gettext version 0.14.5 (or later)
  218. Needed to regenerate 'gcc.pot'.
  219. gperf version 2.7.2 (or later)
  220. Necessary when modifying 'gperf' input files, e.g.
  221. 'gcc/cp/cfns.gperf' to regenerate its associated header file, e.g.
  222. 'gcc/cp/cfns.h'.
  223. DejaGnu 1.4.4
  224. Expect
  225. Tcl
  226. Necessary to run the GCC testsuite; see the section on testing for
  227. details. Tcl 8.6 has a known regression in RE pattern handling
  228. that make parts of the testsuite fail. See
  229. <http://core.tcl.tk/tcl/tktview/267b7e2334ee2e9de34c4b00d6e72e2f1997085f>
  230. for more information. This bug has been fixed in 8.6.1.
  231. autogen version 5.5.4 (or later) and
  232. guile version 1.4.1 (or later)
  233. Necessary to regenerate 'fixinc/fixincl.x' from
  234. 'fixinc/inclhack.def' and 'fixinc/*.tpl'.
  235. Necessary to run 'make check' for 'fixinc'.
  236. Necessary to regenerate the top level 'Makefile.in' file from
  237. 'Makefile.tpl' and 'Makefile.def'.
  238. Flex version 2.5.4 (or later)
  239. Necessary when modifying '*.l' files.
  240. Necessary to build GCC during development because the generated
  241. output files are not included in the version-controlled source
  242. repository. They are included in releases.
  243. Texinfo version 4.7 (or later)
  244. Necessary for running 'makeinfo' when modifying '*.texi' files to
  245. test your changes.
  246. Necessary for running 'make dvi' or 'make pdf' to create printable
  247. documentation in DVI or PDF format. Texinfo version 4.8 or later
  248. is required for 'make pdf'.
  249. Necessary to build GCC documentation during development because the
  250. generated output files are not included in the repository. They
  251. are included in releases.
  252. TeX (any working version)
  253. Necessary for running 'texi2dvi' and 'texi2pdf', which are used
  254. when running 'make dvi' or 'make pdf' to create DVI or PDF files,
  255. respectively.
  256. Sphinx version 1.0 (or later)
  257. Necessary to regenerate 'jit/docs/_build/texinfo' from the '.rst'
  258. files in the directories below 'jit/docs'.
  259. git (any version)
  260. SSH (any version)
  261. Necessary to access the source repository. Public releases and
  262. weekly snapshots of the development sources are also available via
  263. HTTPS.
  264. GNU diffutils version 2.7 (or later)
  265. Useful when submitting patches for the GCC source code.
  266. patch version 2.5.4 (or later)
  267. Necessary when applying patches, created with 'diff', to one's own
  268. sources.
  269. 
  270. File: x86_64-linux-gnu-gccinstall.info, Node: Downloading the source, Next: Configuration, Prev: Prerequisites, Up: Installing GCC
  271. 3 Downloading GCC
  272. *****************
  273. GCC is distributed via git and via HTTPS as tarballs compressed with
  274. 'gzip' or 'bzip2'.
  275. Please refer to the releases web page for information on how to
  276. obtain GCC.
  277. The source distribution includes the C, C++, Objective-C, Fortran,
  278. and Ada (in the case of GCC 3.1 and later) compilers, as well as runtime
  279. libraries for C++, Objective-C, and Fortran. For previous versions
  280. these were downloadable as separate components such as the core GCC
  281. distribution, which included the C language front end and shared
  282. components, and language-specific distributions including the language
  283. front end and the language runtime (where appropriate).
  284. If you also intend to build binutils (either to upgrade an existing
  285. installation or for use in place of the corresponding tools of your OS),
  286. unpack the binutils distribution either in the same directory or a
  287. separate one. In the latter case, add symbolic links to any components
  288. of the binutils you intend to build alongside the compiler ('bfd',
  289. 'binutils', 'gas', 'gprof', 'ld', 'opcodes', ...) to the directory
  290. containing the GCC sources.
  291. Likewise the GMP, MPFR and MPC libraries can be automatically built
  292. together with GCC. You may simply run the
  293. 'contrib/download_prerequisites' script in the GCC source directory to
  294. set up everything. Otherwise unpack the GMP, MPFR and/or MPC source
  295. distributions in the directory containing the GCC sources and rename
  296. their directories to 'gmp', 'mpfr' and 'mpc', respectively (or use
  297. symbolic links with the same name).
  298. 
  299. File: x86_64-linux-gnu-gccinstall.info, Node: Configuration, Next: Building, Prev: Downloading the source, Up: Installing GCC
  300. 4 Installing GCC: Configuration
  301. *******************************
  302. Like most GNU software, GCC must be configured before it can be built.
  303. This document describes the recommended configuration procedure for both
  304. native and cross targets.
  305. We use SRCDIR to refer to the toplevel source directory for GCC; we
  306. use OBJDIR to refer to the toplevel build/object directory.
  307. If you obtained the sources by cloning the repository, SRCDIR must
  308. refer to the top 'gcc' directory, the one where the 'MAINTAINERS' file
  309. can be found, and not its 'gcc' subdirectory, otherwise the build will
  310. fail.
  311. If either SRCDIR or OBJDIR is located on an automounted NFS file
  312. system, the shell's built-in 'pwd' command will return temporary
  313. pathnames. Using these can lead to various sorts of build problems. To
  314. avoid this issue, set the 'PWDCMD' environment variable to an
  315. automounter-aware 'pwd' command, e.g., 'pawd' or 'amq -w', during the
  316. configuration and build phases.
  317. First, we *highly* recommend that GCC be built into a separate
  318. directory from the sources which does *not* reside within the source
  319. tree. This is how we generally build GCC; building where SRCDIR ==
  320. OBJDIR should still work, but doesn't get extensive testing; building
  321. where OBJDIR is a subdirectory of SRCDIR is unsupported.
  322. If you have previously built GCC in the same directory for a
  323. different target machine, do 'make distclean' to delete all files that
  324. might be invalid. One of the files this deletes is 'Makefile'; if 'make
  325. distclean' complains that 'Makefile' does not exist or issues a message
  326. like "don't know how to make distclean" it probably means that the
  327. directory is already suitably clean. However, with the recommended
  328. method of building in a separate OBJDIR, you should simply use a
  329. different OBJDIR for each target.
  330. Second, when configuring a native system, either 'cc' or 'gcc' must
  331. be in your path or you must set 'CC' in your environment before running
  332. configure. Otherwise the configuration scripts may fail.
  333. To configure GCC:
  334. % mkdir OBJDIR
  335. % cd OBJDIR
  336. % SRCDIR/configure [OPTIONS] [TARGET]
  337. Distributor options
  338. ===================
  339. If you will be distributing binary versions of GCC, with modifications
  340. to the source code, you should use the options described in this section
  341. to make clear that your version contains modifications.
  342. '--with-pkgversion=VERSION'
  343. Specify a string that identifies your package. You may wish to
  344. include a build number or build date. This version string will be
  345. included in the output of 'gcc --version'. This suffix does not
  346. replace the default version string, only the 'GCC' part.
  347. The default value is 'GCC'.
  348. '--with-bugurl=URL'
  349. Specify the URL that users should visit if they wish to report a
  350. bug. You are of course welcome to forward bugs reported to you to
  351. the FSF, if you determine that they are not bugs in your
  352. modifications.
  353. The default value refers to the FSF's GCC bug tracker.
  354. Target specification
  355. ====================
  356. * GCC has code to correctly determine the correct value for TARGET
  357. for nearly all native systems. Therefore, we highly recommend you
  358. do not provide a configure target when configuring a native
  359. compiler.
  360. * TARGET must be specified as '--target=TARGET' when configuring a
  361. cross compiler; examples of valid targets would be m68k-elf,
  362. sh-elf, etc.
  363. * Specifying just TARGET instead of '--target=TARGET' implies that
  364. the host defaults to TARGET.
  365. Options specification
  366. =====================
  367. Use OPTIONS to override several configure time options for GCC. A list
  368. of supported OPTIONS follows; 'configure --help' may list other options,
  369. but those not listed below may not work and should not normally be used.
  370. Note that each '--enable' option has a corresponding '--disable'
  371. option and that each '--with' option has a corresponding '--without'
  372. option.
  373. '--prefix=DIRNAME'
  374. Specify the toplevel installation directory. This is the
  375. recommended way to install the tools into a directory other than
  376. the default. The toplevel installation directory defaults to
  377. '/usr/local'.
  378. We *highly* recommend against DIRNAME being the same or a
  379. subdirectory of OBJDIR or vice versa. If specifying a directory
  380. beneath a user's home directory tree, some shells will not expand
  381. DIRNAME correctly if it contains the '~' metacharacter; use '$HOME'
  382. instead.
  383. The following standard 'autoconf' options are supported. Normally
  384. you should not need to use these options.
  385. '--exec-prefix=DIRNAME'
  386. Specify the toplevel installation directory for
  387. architecture-dependent files. The default is 'PREFIX'.
  388. '--bindir=DIRNAME'
  389. Specify the installation directory for the executables called
  390. by users (such as 'gcc' and 'g++'). The default is
  391. 'EXEC-PREFIX/bin'.
  392. '--libdir=DIRNAME'
  393. Specify the installation directory for object code libraries
  394. and internal data files of GCC. The default is
  395. 'EXEC-PREFIX/lib'.
  396. '--libexecdir=DIRNAME'
  397. Specify the installation directory for internal executables of
  398. GCC. The default is 'EXEC-PREFIX/libexec'.
  399. '--with-slibdir=DIRNAME'
  400. Specify the installation directory for the shared libgcc
  401. library. The default is 'LIBDIR'.
  402. '--datarootdir=DIRNAME'
  403. Specify the root of the directory tree for read-only
  404. architecture-independent data files referenced by GCC. The
  405. default is 'PREFIX/share'.
  406. '--infodir=DIRNAME'
  407. Specify the installation directory for documentation in info
  408. format. The default is 'DATAROOTDIR/info'.
  409. '--datadir=DIRNAME'
  410. Specify the installation directory for some
  411. architecture-independent data files referenced by GCC. The
  412. default is 'DATAROOTDIR'.
  413. '--docdir=DIRNAME'
  414. Specify the installation directory for documentation files
  415. (other than Info) for GCC. The default is 'DATAROOTDIR/doc'.
  416. '--htmldir=DIRNAME'
  417. Specify the installation directory for HTML documentation
  418. files. The default is 'DOCDIR'.
  419. '--pdfdir=DIRNAME'
  420. Specify the installation directory for PDF documentation
  421. files. The default is 'DOCDIR'.
  422. '--mandir=DIRNAME'
  423. Specify the installation directory for manual pages. The
  424. default is 'DATAROOTDIR/man'. (Note that the manual pages are
  425. only extracts from the full GCC manuals, which are provided in
  426. Texinfo format. The manpages are derived by an automatic
  427. conversion process from parts of the full manual.)
  428. '--with-gxx-include-dir=DIRNAME'
  429. Specify the installation directory for G++ header files. The
  430. default depends on other configuration options, and differs
  431. between cross and native configurations.
  432. '--with-specs=SPECS'
  433. Specify additional command line driver SPECS. This can be
  434. useful if you need to turn on a non-standard feature by
  435. default without modifying the compiler's source code, for
  436. instance
  437. '--with-specs=%{!fcommon:%{!fno-common:-fno-common}}'. *Note
  438. Specifying subprocesses and the switches to pass to them:
  439. (gcc)Spec Files,
  440. '--program-prefix=PREFIX'
  441. GCC supports some transformations of the names of its programs when
  442. installing them. This option prepends PREFIX to the names of
  443. programs to install in BINDIR (see above). For example, specifying
  444. '--program-prefix=foo-' would result in 'gcc' being installed as
  445. '/usr/local/bin/foo-gcc'.
  446. '--program-suffix=SUFFIX'
  447. Appends SUFFIX to the names of programs to install in BINDIR (see
  448. above). For example, specifying '--program-suffix=-3.1' would
  449. result in 'gcc' being installed as '/usr/local/bin/gcc-3.1'.
  450. '--program-transform-name=PATTERN'
  451. Applies the 'sed' script PATTERN to be applied to the names of
  452. programs to install in BINDIR (see above). PATTERN has to consist
  453. of one or more basic 'sed' editing commands, separated by
  454. semicolons. For example, if you want the 'gcc' program name to be
  455. transformed to the installed program '/usr/local/bin/myowngcc' and
  456. the 'g++' program name to be transformed to
  457. '/usr/local/bin/gspecial++' without changing other program names,
  458. you could use the pattern
  459. '--program-transform-name='s/^gcc$/myowngcc/; s/^g++$/gspecial++/''
  460. to achieve this effect.
  461. All three options can be combined and used together, resulting in
  462. more complex conversion patterns. As a basic rule, PREFIX (and
  463. SUFFIX) are prepended (appended) before further transformations can
  464. happen with a special transformation script PATTERN.
  465. As currently implemented, this option only takes effect for native
  466. builds; cross compiler binaries' names are not transformed even
  467. when a transformation is explicitly asked for by one of these
  468. options.
  469. For native builds, some of the installed programs are also
  470. installed with the target alias in front of their name, as in
  471. 'i686-pc-linux-gnu-gcc'. All of the above transformations happen
  472. before the target alias is prepended to the name--so, specifying
  473. '--program-prefix=foo-' and 'program-suffix=-3.1', the resulting
  474. binary would be installed as
  475. '/usr/local/bin/i686-pc-linux-gnu-foo-gcc-3.1'.
  476. As a last shortcoming, none of the installed Ada programs are
  477. transformed yet, which will be fixed in some time.
  478. '--with-local-prefix=DIRNAME'
  479. Specify the installation directory for local include files. The
  480. default is '/usr/local'. Specify this option if you want the
  481. compiler to search directory 'DIRNAME/include' for locally
  482. installed header files _instead_ of '/usr/local/include'.
  483. You should specify '--with-local-prefix' *only* if your site has a
  484. different convention (not '/usr/local') for where to put
  485. site-specific files.
  486. The default value for '--with-local-prefix' is '/usr/local'
  487. regardless of the value of '--prefix'. Specifying '--prefix' has
  488. no effect on which directory GCC searches for local header files.
  489. This may seem counterintuitive, but actually it is logical.
  490. The purpose of '--prefix' is to specify where to _install GCC_. The
  491. local header files in '/usr/local/include'--if you put any in that
  492. directory--are not part of GCC. They are part of other
  493. programs--perhaps many others. (GCC installs its own header files
  494. in another directory which is based on the '--prefix' value.)
  495. Both the local-prefix include directory and the GCC-prefix include
  496. directory are part of GCC's "system include" directories. Although
  497. these two directories are not fixed, they need to be searched in
  498. the proper order for the correct processing of the include_next
  499. directive. The local-prefix include directory is searched before
  500. the GCC-prefix include directory. Another characteristic of system
  501. include directories is that pedantic warnings are turned off for
  502. headers in these directories.
  503. Some autoconf macros add '-I DIRECTORY' options to the compiler
  504. command line, to ensure that directories containing installed
  505. packages' headers are searched. When DIRECTORY is one of GCC's
  506. system include directories, GCC will ignore the option so that
  507. system directories continue to be processed in the correct order.
  508. This may result in a search order different from what was specified
  509. but the directory will still be searched.
  510. GCC automatically searches for ordinary libraries using
  511. 'GCC_EXEC_PREFIX'. Thus, when the same installation prefix is used
  512. for both GCC and packages, GCC will automatically search for both
  513. headers and libraries. This provides a configuration that is easy
  514. to use. GCC behaves in a manner similar to that when it is
  515. installed as a system compiler in '/usr'.
  516. Sites that need to install multiple versions of GCC may not want to
  517. use the above simple configuration. It is possible to use the
  518. '--program-prefix', '--program-suffix' and
  519. '--program-transform-name' options to install multiple versions
  520. into a single directory, but it may be simpler to use different
  521. prefixes and the '--with-local-prefix' option to specify the
  522. location of the site-specific files for each version. It will then
  523. be necessary for users to specify explicitly the location of local
  524. site libraries (e.g., with 'LIBRARY_PATH').
  525. The same value can be used for both '--with-local-prefix' and
  526. '--prefix' provided it is not '/usr'. This can be used to avoid
  527. the default search of '/usr/local/include'.
  528. *Do not* specify '/usr' as the '--with-local-prefix'! The
  529. directory you use for '--with-local-prefix' *must not* contain any
  530. of the system's standard header files. If it did contain them,
  531. certain programs would be miscompiled (including GNU Emacs, on
  532. certain targets), because this would override and nullify the
  533. header file corrections made by the 'fixincludes' script.
  534. Indications are that people who use this option use it based on
  535. mistaken ideas of what it is for. People use it as if it specified
  536. where to install part of GCC. Perhaps they make this assumption
  537. because installing GCC creates the directory.
  538. '--with-gcc-major-version-only'
  539. Specifies that GCC should use only the major number rather than
  540. MAJOR.MINOR.PATCHLEVEL in filesystem paths.
  541. '--with-native-system-header-dir=DIRNAME'
  542. Specifies that DIRNAME is the directory that contains native system
  543. header files, rather than '/usr/include'. This option is most
  544. useful if you are creating a compiler that should be isolated from
  545. the system as much as possible. It is most commonly used with the
  546. '--with-sysroot' option and will cause GCC to search DIRNAME inside
  547. the system root specified by that option.
  548. '--enable-shared[=PACKAGE[,...]]'
  549. Build shared versions of libraries, if shared libraries are
  550. supported on the target platform. Unlike GCC 2.95.x and earlier,
  551. shared libraries are enabled by default on all platforms that
  552. support shared libraries.
  553. If a list of packages is given as an argument, build shared
  554. libraries only for the listed packages. For other packages, only
  555. static libraries will be built. Package names currently recognized
  556. in the GCC tree are 'libgcc' (also known as 'gcc'), 'libstdc++'
  557. (not 'libstdc++-v3'), 'libffi', 'zlib', 'boehm-gc', 'ada',
  558. 'libada', 'libgo', 'libobjc', and 'libphobos'. Note 'libiberty'
  559. does not support shared libraries at all.
  560. Use '--disable-shared' to build only static libraries. Note that
  561. '--disable-shared' does not accept a list of package names as
  562. argument, only '--enable-shared' does.
  563. Contrast with '--enable-host-shared', which affects _host_ code.
  564. '--enable-host-shared'
  565. Specify that the _host_ code should be built into
  566. position-independent machine code (with -fPIC), allowing it to be
  567. used within shared libraries, but yielding a slightly slower
  568. compiler.
  569. This option is required when building the libgccjit.so library.
  570. Contrast with '--enable-shared', which affects _target_ libraries.
  571. '--with-gnu-as'
  572. Specify that the compiler should assume that the assembler it finds
  573. is the GNU assembler. However, this does not modify the rules to
  574. find an assembler and will result in confusion if the assembler
  575. found is not actually the GNU assembler. (Confusion may also
  576. result if the compiler finds the GNU assembler but has not been
  577. configured with '--with-gnu-as'.) If you have more than one
  578. assembler installed on your system, you may want to use this option
  579. in connection with '--with-as=PATHNAME' or
  580. '--with-build-time-tools=PATHNAME'.
  581. The following systems are the only ones where it makes a difference
  582. whether you use the GNU assembler. On any other system,
  583. '--with-gnu-as' has no effect.
  584. * 'hppa1.0-ANY-ANY'
  585. * 'hppa1.1-ANY-ANY'
  586. * 'sparc-sun-solaris2.ANY'
  587. * 'sparc64-ANY-solaris2.ANY'
  588. '--with-as=PATHNAME'
  589. Specify that the compiler should use the assembler pointed to by
  590. PATHNAME, rather than the one found by the standard rules to find
  591. an assembler, which are:
  592. * Unless GCC is being built with a cross compiler, check the
  593. 'LIBEXEC/gcc/TARGET/VERSION' directory. LIBEXEC defaults to
  594. 'EXEC-PREFIX/libexec'; EXEC-PREFIX defaults to PREFIX, which
  595. defaults to '/usr/local' unless overridden by the
  596. '--prefix=PATHNAME' switch described above. TARGET is the
  597. target system triple, such as 'sparc-sun-solaris2.7', and
  598. VERSION denotes the GCC version, such as 3.0.
  599. * If the target system is the same that you are building on,
  600. check operating system specific directories (e.g.
  601. '/usr/ccs/bin' on Sun Solaris 2).
  602. * Check in the 'PATH' for a tool whose name is prefixed by the
  603. target system triple.
  604. * Check in the 'PATH' for a tool whose name is not prefixed by
  605. the target system triple, if the host and target system triple
  606. are the same (in other words, we use a host tool if it can be
  607. used for the target as well).
  608. You may want to use '--with-as' if no assembler is installed in the
  609. directories listed above, or if you have multiple assemblers
  610. installed and want to choose one that is not found by the above
  611. rules.
  612. '--with-gnu-ld'
  613. Same as '--with-gnu-as' but for the linker.
  614. '--with-ld=PATHNAME'
  615. Same as '--with-as' but for the linker.
  616. '--with-stabs'
  617. Specify that stabs debugging information should be used instead of
  618. whatever format the host normally uses. Normally GCC uses the same
  619. debug format as the host system.
  620. '--with-tls=DIALECT'
  621. Specify the default TLS dialect, for systems were there is a
  622. choice. For ARM targets, possible values for DIALECT are 'gnu' or
  623. 'gnu2', which select between the original GNU dialect and the GNU
  624. TLS descriptor-based dialect.
  625. '--enable-multiarch'
  626. Specify whether to enable or disable multiarch support. The
  627. default is to check for glibc start files in a multiarch location,
  628. and enable it if the files are found. The auto detection is
  629. enabled for native builds, and for cross builds configured with
  630. '--with-sysroot', and without '--with-native-system-header-dir'.
  631. More documentation about multiarch can be found at
  632. <https://wiki.debian.org/Multiarch>.
  633. '--enable-sjlj-exceptions'
  634. Force use of the 'setjmp'/'longjmp'-based scheme for exceptions.
  635. 'configure' ordinarily picks the correct value based on the
  636. platform. Only use this option if you are sure you need a
  637. different setting.
  638. '--enable-vtable-verify'
  639. Specify whether to enable or disable the vtable verification
  640. feature. Enabling this feature causes libstdc++ to be built with
  641. its virtual calls in verifiable mode. This means that, when linked
  642. with libvtv, every virtual call in libstdc++ will verify the vtable
  643. pointer through which the call will be made before actually making
  644. the call. If not linked with libvtv, the verifier will call stub
  645. functions (in libstdc++ itself) and do nothing. If vtable
  646. verification is disabled, then libstdc++ is not built with its
  647. virtual calls in verifiable mode at all. However the libvtv
  648. library will still be built (see '--disable-libvtv' to turn off
  649. building libvtv). '--disable-vtable-verify' is the default.
  650. '--disable-gcov'
  651. Specify that the run-time library used for coverage analysis and
  652. associated host tools should not be built.
  653. '--disable-multilib'
  654. Specify that multiple target libraries to support different target
  655. variants, calling conventions, etc. should not be built. The
  656. default is to build a predefined set of them.
  657. Some targets provide finer-grained control over which multilibs are
  658. built (e.g., '--disable-softfloat'):
  659. 'arm-*-*'
  660. fpu, 26bit, underscore, interwork, biendian, nofmult.
  661. 'm68*-*-*'
  662. softfloat, m68881, m68000, m68020.
  663. 'mips*-*-*'
  664. single-float, biendian, softfloat.
  665. 'powerpc*-*-*, rs6000*-*-*'
  666. aix64, pthread, softfloat, powercpu, powerpccpu, powerpcos,
  667. biendian, sysv, aix.
  668. '--with-multilib-list=LIST'
  669. '--without-multilib-list'
  670. Specify what multilibs to build. LIST is a comma separated list of
  671. values, possibly consisting of a single value. Currently only
  672. implemented for aarch64*-*-*, arm*-*-*, riscv*-*-*, sh*-*-* and
  673. x86-64-*-linux*. The accepted values and meaning for each target
  674. is given below.
  675. 'aarch64*-*-*'
  676. LIST is a comma separated list of 'ilp32', and 'lp64' to
  677. enable ILP32 and LP64 run-time libraries, respectively. If
  678. LIST is empty, then there will be no multilibs and only the
  679. default run-time library will be built. If LIST is 'default'
  680. or -with-multilib-list= is not specified, then the default set
  681. of libraries is selected based on the value of '--target'.
  682. 'arm*-*-*'
  683. LIST is a comma separated list of 'aprofile' and 'rmprofile'
  684. to build multilibs for A or R and M architecture profiles
  685. respectively. Note that, due to some limitation of the
  686. current multilib framework, using the combined
  687. 'aprofile,rmprofile' multilibs selects in some cases a less
  688. optimal multilib than when using the multilib profile for the
  689. architecture targetted. The special value 'default' is also
  690. accepted and is equivalent to omitting the option, i.e., only
  691. the default run-time library will be enabled.
  692. LIST may instead contain '@name', to use the multilib
  693. configuration Makefile fragment 'name' in 'gcc/config/arm' in
  694. the source tree (it is part of the corresponding sources,
  695. after all). It is recommended, but not required, that files
  696. used for this purpose to be named starting with 't-ml-', to
  697. make their intended purpose self-evident, in line with GCC
  698. conventions. Such files enable custom, user-chosen multilib
  699. lists to be configured. Whether multiple such files can be
  700. used together depends on the contents of the supplied files.
  701. See 'gcc/config/arm/t-multilib' and its supplementary
  702. 'gcc/config/arm/t-*profile' files for an example of what such
  703. Makefile fragments might look like for this version of GCC.
  704. The macros expected to be defined in these fragments are not
  705. stable across GCC releases, so make sure they define the
  706. 'MULTILIB'-related macros expected by the version of GCC you
  707. are building. *Note Target Makefile Fragments: (gccint)Target
  708. Fragment.
  709. The table below gives the combination of ISAs, architectures,
  710. FPUs and floating-point ABIs for which multilibs are built for
  711. each predefined profile. The union of these options is
  712. considered when specifying both 'aprofile' and 'rmprofile'.
  713. Option aprofile rmprofile
  714. ISAs '-marm' and '-mthumb'
  715. '-mthumb'
  716. Architecturesdefault default architecture
  717. architecture '-march=armv6s-m'
  718. '-march=armv7-a' '-march=armv7-m'
  719. '-march=armv7ve' '-march=armv7e-m'
  720. '-march=armv8-a' '-march=armv8-m.base'
  721. '-march=armv8-m.main'
  722. '-march=armv7'
  723. FPUs none none
  724. '-mfpu=vfpv3-d16' '-mfpu=vfpv3-d16'
  725. '-mfpu=neon' '-mfpu=fpv4-sp-d16'
  726. '-mfpu=vfpv4-d16' '-mfpu=fpv5-sp-d16'
  727. '-mfpu=neon-vfpv4' '-mfpu=fpv5-d16'
  728. '-mfpu=neon-fp-armv8'
  729. floating-point'-mfloat-abi=soft' '-mfloat-abi=soft'
  730. ABIs '-mfloat-abi=softfp' '-mfloat-abi=softfp'
  731. '-mfloat-abi=hard' '-mfloat-abi=hard'
  732. 'riscv*-*-*'
  733. LIST is a single ABI name. The target architecture must be
  734. either 'rv32gc' or 'rv64gc'. This will build a single
  735. multilib for the specified architecture and ABI pair. If
  736. '--with-multilib-list' is not given, then a default set of
  737. multilibs is selected based on the value of '--target'. This
  738. is usually a large set of multilibs.
  739. 'sh*-*-*'
  740. LIST is a comma separated list of CPU names. These must be of
  741. the form 'sh*' or 'm*' (in which case they match the compiler
  742. option for that processor). The list should not contain any
  743. endian options - these are handled by '--with-endian'.
  744. If LIST is empty, then there will be no multilibs for extra
  745. processors. The multilib for the secondary endian remains
  746. enabled.
  747. As a special case, if an entry in the list starts with a '!'
  748. (exclamation point), then it is added to the list of excluded
  749. multilibs. Entries of this sort should be compatible with
  750. 'MULTILIB_EXCLUDES' (once the leading '!' has been stripped).
  751. If '--with-multilib-list' is not given, then a default set of
  752. multilibs is selected based on the value of '--target'. This
  753. is usually the complete set of libraries, but some targets
  754. imply a more specialized subset.
  755. Example 1: to configure a compiler for SH4A only, but
  756. supporting both endians, with little endian being the default:
  757. --with-cpu=sh4a --with-endian=little,big --with-multilib-list=
  758. Example 2: to configure a compiler for both SH4A and
  759. SH4AL-DSP, but with only little endian SH4AL:
  760. --with-cpu=sh4a --with-endian=little,big \
  761. --with-multilib-list=sh4al,!mb/m4al
  762. 'x86-64-*-linux*'
  763. LIST is a comma separated list of 'm32', 'm64' and 'mx32' to
  764. enable 32-bit, 64-bit and x32 run-time libraries,
  765. respectively. If LIST is empty, then there will be no
  766. multilibs and only the default run-time library will be
  767. enabled.
  768. If '--with-multilib-list' is not given, then only 32-bit and
  769. 64-bit run-time libraries will be enabled.
  770. '--with-endian=ENDIANS'
  771. Specify what endians to use. Currently only implemented for
  772. sh*-*-*.
  773. ENDIANS may be one of the following:
  774. 'big'
  775. Use big endian exclusively.
  776. 'little'
  777. Use little endian exclusively.
  778. 'big,little'
  779. Use big endian by default. Provide a multilib for little
  780. endian.
  781. 'little,big'
  782. Use little endian by default. Provide a multilib for big
  783. endian.
  784. '--enable-threads'
  785. Specify that the target supports threads. This affects the
  786. Objective-C compiler and runtime library, and exception handling
  787. for other languages like C++. On some systems, this is the
  788. default.
  789. In general, the best (and, in many cases, the only known) threading
  790. model available will be configured for use. Beware that on some
  791. systems, GCC has not been taught what threading models are
  792. generally available for the system. In this case,
  793. '--enable-threads' is an alias for '--enable-threads=single'.
  794. '--disable-threads'
  795. Specify that threading support should be disabled for the system.
  796. This is an alias for '--enable-threads=single'.
  797. '--enable-threads=LIB'
  798. Specify that LIB is the thread support library. This affects the
  799. Objective-C compiler and runtime library, and exception handling
  800. for other languages like C++. The possibilities for LIB are:
  801. 'aix'
  802. AIX thread support.
  803. 'dce'
  804. DCE thread support.
  805. 'lynx'
  806. LynxOS thread support.
  807. 'mipssde'
  808. MIPS SDE thread support.
  809. 'no'
  810. This is an alias for 'single'.
  811. 'posix'
  812. Generic POSIX/Unix98 thread support.
  813. 'rtems'
  814. RTEMS thread support.
  815. 'single'
  816. Disable thread support, should work for all platforms.
  817. 'tpf'
  818. TPF thread support.
  819. 'vxworks'
  820. VxWorks thread support.
  821. 'win32'
  822. Microsoft Win32 API thread support.
  823. '--enable-tls'
  824. Specify that the target supports TLS (Thread Local Storage).
  825. Usually configure can correctly determine if TLS is supported. In
  826. cases where it guesses incorrectly, TLS can be explicitly enabled
  827. or disabled with '--enable-tls' or '--disable-tls'. This can
  828. happen if the assembler supports TLS but the C library does not, or
  829. if the assumptions made by the configure test are incorrect.
  830. '--disable-tls'
  831. Specify that the target does not support TLS. This is an alias for
  832. '--enable-tls=no'.
  833. '--with-cpu=CPU'
  834. '--with-cpu-32=CPU'
  835. '--with-cpu-64=CPU'
  836. Specify which cpu variant the compiler should generate code for by
  837. default. CPU will be used as the default value of the '-mcpu='
  838. switch. This option is only supported on some targets, including
  839. ARC, ARM, i386, M68k, PowerPC, and SPARC. It is mandatory for ARC.
  840. The '--with-cpu-32' and '--with-cpu-64' options specify separate
  841. default CPUs for 32-bit and 64-bit modes; these options are only
  842. supported for i386, x86-64, PowerPC, and SPARC.
  843. '--with-schedule=CPU'
  844. '--with-arch=CPU'
  845. '--with-arch-32=CPU'
  846. '--with-arch-64=CPU'
  847. '--with-tune=CPU'
  848. '--with-tune-32=CPU'
  849. '--with-tune-64=CPU'
  850. '--with-abi=ABI'
  851. '--with-fpu=TYPE'
  852. '--with-float=TYPE'
  853. These configure options provide default values for the
  854. '-mschedule=', '-march=', '-mtune=', '-mabi=', and '-mfpu=' options
  855. and for '-mhard-float' or '-msoft-float'. As with '--with-cpu',
  856. which switches will be accepted and acceptable values of the
  857. arguments depend on the target.
  858. '--with-mode=MODE'
  859. Specify if the compiler should default to '-marm' or '-mthumb'.
  860. This option is only supported on ARM targets.
  861. '--with-stack-offset=NUM'
  862. This option sets the default for the -mstack-offset=NUM option, and
  863. will thus generally also control the setting of this option for
  864. libraries. This option is only supported on Epiphany targets.
  865. '--with-fpmath=ISA'
  866. This options sets '-mfpmath=sse' by default and specifies the
  867. default ISA for floating-point arithmetics. You can select either
  868. 'sse' which enables '-msse2' or 'avx' which enables '-mavx' by
  869. default. This option is only supported on i386 and x86-64 targets.
  870. '--with-fp-32=MODE'
  871. On MIPS targets, set the default value for the '-mfp' option when
  872. using the o32 ABI. The possibilities for MODE are:
  873. '32'
  874. Use the o32 FP32 ABI extension, as with the '-mfp32'
  875. command-line option.
  876. 'xx'
  877. Use the o32 FPXX ABI extension, as with the '-mfpxx'
  878. command-line option.
  879. '64'
  880. Use the o32 FP64 ABI extension, as with the '-mfp64'
  881. command-line option.
  882. In the absence of this configuration option the default is to use
  883. the o32 FP32 ABI extension.
  884. '--with-odd-spreg-32'
  885. On MIPS targets, set the '-modd-spreg' option by default when using
  886. the o32 ABI.
  887. '--without-odd-spreg-32'
  888. On MIPS targets, set the '-mno-odd-spreg' option by default when
  889. using the o32 ABI. This is normally used in conjunction with
  890. '--with-fp-32=64' in order to target the o32 FP64A ABI extension.
  891. '--with-nan=ENCODING'
  892. On MIPS targets, set the default encoding convention to use for the
  893. special not-a-number (NaN) IEEE 754 floating-point data. The
  894. possibilities for ENCODING are:
  895. 'legacy'
  896. Use the legacy encoding, as with the '-mnan=legacy'
  897. command-line option.
  898. '2008'
  899. Use the 754-2008 encoding, as with the '-mnan=2008'
  900. command-line option.
  901. To use this configuration option you must have an assembler version
  902. installed that supports the '-mnan=' command-line option too. In
  903. the absence of this configuration option the default convention is
  904. the legacy encoding, as when neither of the '-mnan=2008' and
  905. '-mnan=legacy' command-line options has been used.
  906. '--with-divide=TYPE'
  907. Specify how the compiler should generate code for checking for
  908. division by zero. This option is only supported on the MIPS
  909. target. The possibilities for TYPE are:
  910. 'traps'
  911. Division by zero checks use conditional traps (this is the
  912. default on systems that support conditional traps).
  913. 'breaks'
  914. Division by zero checks use the break instruction.
  915. '--with-llsc'
  916. On MIPS targets, make '-mllsc' the default when no '-mno-llsc'
  917. option is passed. This is the default for Linux-based targets, as
  918. the kernel will emulate them if the ISA does not provide them.
  919. '--without-llsc'
  920. On MIPS targets, make '-mno-llsc' the default when no '-mllsc'
  921. option is passed.
  922. '--with-synci'
  923. On MIPS targets, make '-msynci' the default when no '-mno-synci'
  924. option is passed.
  925. '--without-synci'
  926. On MIPS targets, make '-mno-synci' the default when no '-msynci'
  927. option is passed. This is the default.
  928. '--with-lxc1-sxc1'
  929. On MIPS targets, make '-mlxc1-sxc1' the default when no
  930. '-mno-lxc1-sxc1' option is passed. This is the default.
  931. '--without-lxc1-sxc1'
  932. On MIPS targets, make '-mno-lxc1-sxc1' the default when no
  933. '-mlxc1-sxc1' option is passed. The indexed load/store
  934. instructions are not directly a problem but can lead to unexpected
  935. behaviour when deployed in an application intended for a 32-bit
  936. address space but run on a 64-bit processor. The issue is seen
  937. because all known MIPS 64-bit Linux kernels execute o32 and n32
  938. applications with 64-bit addressing enabled which affects the
  939. overflow behaviour of the indexed addressing mode. GCC will assume
  940. that ordinary 32-bit arithmetic overflow behaviour is the same
  941. whether performed as an 'addu' instruction or as part of the
  942. address calculation in 'lwxc1' type instructions. This assumption
  943. holds true in a pure 32-bit environment and can hold true in a
  944. 64-bit environment if the address space is accurately set to be
  945. 32-bit for o32 and n32.
  946. '--with-madd4'
  947. On MIPS targets, make '-mmadd4' the default when no '-mno-madd4'
  948. option is passed. This is the default.
  949. '--without-madd4'
  950. On MIPS targets, make '-mno-madd4' the default when no '-mmadd4'
  951. option is passed. The 'madd4' instruction family can be
  952. problematic when targeting a combination of cores that implement
  953. these instructions differently. There are two known cores that
  954. implement these as fused operations instead of unfused (where
  955. unfused is normally expected). Disabling these instructions is the
  956. only way to ensure compatible code is generated; this will incur a
  957. performance penalty.
  958. '--with-mips-plt'
  959. On MIPS targets, make use of copy relocations and PLTs. These
  960. features are extensions to the traditional SVR4-based MIPS ABIs and
  961. require support from GNU binutils and the runtime C library.
  962. '--with-stack-clash-protection-guard-size=SIZE'
  963. On certain targets this option sets the default stack clash
  964. protection guard size as a power of two in bytes. On AArch64 SIZE
  965. is required to be either 12 (4KB) or 16 (64KB).
  966. '--enable-__cxa_atexit'
  967. Define if you want to use __cxa_atexit, rather than atexit, to
  968. register C++ destructors for local statics and global objects.
  969. This is essential for fully standards-compliant handling of
  970. destructors, but requires __cxa_atexit in libc. This option is
  971. currently only available on systems with GNU libc. When enabled,
  972. this will cause '-fuse-cxa-atexit' to be passed by default.
  973. '--enable-gnu-indirect-function'
  974. Define if you want to enable the 'ifunc' attribute. This option is
  975. currently only available on systems with GNU libc on certain
  976. targets.
  977. '--enable-target-optspace'
  978. Specify that target libraries should be optimized for code space
  979. instead of code speed. This is the default for the m32r platform.
  980. '--with-cpp-install-dir=DIRNAME'
  981. Specify that the user visible 'cpp' program should be installed in
  982. 'PREFIX/DIRNAME/cpp', in addition to BINDIR.
  983. '--enable-comdat'
  984. Enable COMDAT group support. This is primarily used to override
  985. the automatically detected value.
  986. '--enable-initfini-array'
  987. Force the use of sections '.init_array' and '.fini_array' (instead
  988. of '.init' and '.fini') for constructors and destructors. Option
  989. '--disable-initfini-array' has the opposite effect. If neither
  990. option is specified, the configure script will try to guess whether
  991. the '.init_array' and '.fini_array' sections are supported and, if
  992. they are, use them.
  993. '--enable-link-mutex'
  994. When building GCC, use a mutex to avoid linking the compilers for
  995. multiple languages at the same time, to avoid thrashing on build
  996. systems with limited free memory. The default is not to use such a
  997. mutex.
  998. '--enable-maintainer-mode'
  999. The build rules that regenerate the Autoconf and Automake output
  1000. files as well as the GCC master message catalog 'gcc.pot' are
  1001. normally disabled. This is because it can only be rebuilt if the
  1002. complete source tree is present. If you have changed the sources
  1003. and want to rebuild the catalog, configuring with
  1004. '--enable-maintainer-mode' will enable this. Note that you need a
  1005. recent version of the 'gettext' tools to do so.
  1006. '--disable-bootstrap'
  1007. For a native build, the default configuration is to perform a
  1008. 3-stage bootstrap of the compiler when 'make' is invoked, testing
  1009. that GCC can compile itself correctly. If you want to disable this
  1010. process, you can configure with '--disable-bootstrap'.
  1011. '--enable-bootstrap'
  1012. In special cases, you may want to perform a 3-stage build even if
  1013. the target and host triplets are different. This is possible when
  1014. the host can run code compiled for the target (e.g. host is
  1015. i686-linux, target is i486-linux). Starting from GCC 4.2, to do
  1016. this you have to configure explicitly with '--enable-bootstrap'.
  1017. '--enable-generated-files-in-srcdir'
  1018. Neither the .c and .h files that are generated from Bison and flex
  1019. nor the info manuals and man pages that are built from the .texi
  1020. files are present in the repository development tree. When
  1021. building GCC from that development tree, or from one of our
  1022. snapshots, those generated files are placed in your build
  1023. directory, which allows for the source to be in a readonly
  1024. directory.
  1025. If you configure with '--enable-generated-files-in-srcdir' then
  1026. those generated files will go into the source directory. This is
  1027. mainly intended for generating release or prerelease tarballs of
  1028. the GCC sources, since it is not a requirement that the users of
  1029. source releases to have flex, Bison, or makeinfo.
  1030. '--enable-version-specific-runtime-libs'
  1031. Specify that runtime libraries should be installed in the compiler
  1032. specific subdirectory ('LIBDIR/gcc') rather than the usual places.
  1033. In addition, 'libstdc++''s include files will be installed into
  1034. 'LIBDIR' unless you overruled it by using
  1035. '--with-gxx-include-dir=DIRNAME'. Using this option is
  1036. particularly useful if you intend to use several versions of GCC in
  1037. parallel. This is currently supported by 'libgfortran',
  1038. 'libstdc++', and 'libobjc'.
  1039. '--with-aix-soname='aix', 'svr4' or 'both''
  1040. Traditional AIX shared library versioning (versioned 'Shared
  1041. Object' files as members of unversioned 'Archive Library' files
  1042. named 'lib.a') causes numerous headaches for package managers.
  1043. However, 'Import Files' as members of 'Archive Library' files allow
  1044. for *filename-based versioning* of shared libraries as seen on
  1045. Linux/SVR4, where this is called the "SONAME". But as they prevent
  1046. static linking, 'Import Files' may be used with 'Runtime Linking'
  1047. only, where the linker does search for 'libNAME.so' before
  1048. 'libNAME.a' library filenames with the '-lNAME' linker flag.
  1049. For detailed information please refer to the AIX ld Command
  1050. reference.
  1051. As long as shared library creation is enabled, upon:
  1052. '--with-aix-soname=aix'
  1053. '--with-aix-soname=both'
  1054. A (traditional AIX) 'Shared Archive Library' file is created:
  1055. * using the 'libNAME.a' filename scheme
  1056. * with the 'Shared Object' file as archive member named
  1057. 'libNAME.so.V' (except for 'libgcc_s', where the 'Shared
  1058. Object' file is named 'shr.o' for backwards
  1059. compatibility), which
  1060. - is used for runtime loading from inside the
  1061. 'libNAME.a' file
  1062. - is used for dynamic loading via
  1063. 'dlopen("libNAME.a(libNAME.so.V)", RTLD_MEMBER)'
  1064. - is used for shared linking
  1065. - is used for static linking, so no separate 'Static
  1066. Archive Library' file is needed
  1067. '--with-aix-soname=both'
  1068. '--with-aix-soname=svr4'
  1069. A (second) 'Shared Archive Library' file is created:
  1070. * using the 'libNAME.so.V' filename scheme
  1071. * with the 'Shared Object' file as archive member named
  1072. 'shr.o', which
  1073. - is created with the '-G linker flag'
  1074. - has the 'F_LOADONLY' flag set
  1075. - is used for runtime loading from inside the
  1076. 'libNAME.so.V' file
  1077. - is used for dynamic loading via
  1078. 'dlopen("libNAME.so.V(shr.o)", RTLD_MEMBER)'
  1079. * with the 'Import File' as archive member named 'shr.imp',
  1080. which
  1081. - refers to 'libNAME.so.V(shr.o)' as the "SONAME", to
  1082. be recorded in the 'Loader Section' of subsequent
  1083. binaries
  1084. - indicates whether 'libNAME.so.V(shr.o)' is 32 or 64
  1085. bit
  1086. - lists all the public symbols exported by
  1087. 'lib.so.V(shr.o)', eventually decorated with the
  1088. ''weak' Keyword'
  1089. - is necessary for shared linking against
  1090. 'lib.so.V(shr.o)'
  1091. A symbolic link using the 'libNAME.so' filename scheme is
  1092. created:
  1093. * pointing to the 'libNAME.so.V' 'Shared Archive Library'
  1094. file
  1095. * to permit the 'ld Command' to find 'lib.so.V(shr.imp)'
  1096. via the '-lNAME' argument (requires 'Runtime Linking' to
  1097. be enabled)
  1098. * to permit dynamic loading of 'lib.so.V(shr.o)' without
  1099. the need to specify the version number via
  1100. 'dlopen("libNAME.so(shr.o)", RTLD_MEMBER)'
  1101. As long as static library creation is enabled, upon:
  1102. '--with-aix-soname=svr4'
  1103. A 'Static Archive Library' is created:
  1104. * using the 'libNAME.a' filename scheme
  1105. * with all the 'Static Object' files as archive members,
  1106. which
  1107. - are used for static linking
  1108. While the aix-soname='svr4' option does not create 'Shared Object'
  1109. files as members of unversioned 'Archive Library' files any more,
  1110. package managers still are responsible to transfer 'Shared Object'
  1111. files found as member of a previously installed unversioned
  1112. 'Archive Library' file into the newly installed 'Archive Library'
  1113. file with the same filename.
  1114. _WARNING:_ Creating 'Shared Object' files with 'Runtime Linking'
  1115. enabled may bloat the TOC, eventually leading to 'TOC overflow'
  1116. errors, requiring the use of either the '-Wl,-bbigtoc' linker flag
  1117. (seen to break with the 'GDB' debugger) or some of the TOC-related
  1118. compiler flags, *Note RS/6000 and PowerPC Options: (gcc)RS/6000 and
  1119. PowerPC Options.
  1120. '--with-aix-soname' is currently supported by 'libgcc_s' only, so
  1121. this option is still experimental and not for normal use yet.
  1122. Default is the traditional behavior '--with-aix-soname='aix''.
  1123. '--enable-languages=LANG1,LANG2,...'
  1124. Specify that only a particular subset of compilers and their
  1125. runtime libraries should be built. For a list of valid values for
  1126. LANGN you can issue the following command in the 'gcc' directory of
  1127. your GCC source tree:
  1128. grep ^language= */config-lang.in
  1129. Currently, you can use any of the following: 'all', 'default',
  1130. 'ada', 'c', 'c++', 'd', 'fortran', 'go', 'jit', 'lto', 'objc',
  1131. 'obj-c++'. Building the Ada compiler has special requirements, see
  1132. below. If you do not pass this flag, or specify the option
  1133. 'default', then the default languages available in the 'gcc'
  1134. sub-tree will be configured. Ada, D, Go, Jit, and Objective-C++
  1135. are not default languages. LTO is not a default language, but is
  1136. built by default because '--enable-lto' is enabled by default. The
  1137. other languages are default languages. If 'all' is specified, then
  1138. all available languages are built. An exception is 'jit' language,
  1139. which requires '--enable-host-shared' to be included with 'all'.
  1140. '--enable-stage1-languages=LANG1,LANG2,...'
  1141. Specify that a particular subset of compilers and their runtime
  1142. libraries should be built with the system C compiler during stage 1
  1143. of the bootstrap process, rather than only in later stages with the
  1144. bootstrapped C compiler. The list of valid values is the same as
  1145. for '--enable-languages', and the option 'all' will select all of
  1146. the languages enabled by '--enable-languages'. This option is
  1147. primarily useful for GCC development; for instance, when a
  1148. development version of the compiler cannot bootstrap due to
  1149. compiler bugs, or when one is debugging front ends other than the C
  1150. front end. When this option is used, one can then build the target
  1151. libraries for the specified languages with the stage-1 compiler by
  1152. using 'make stage1-bubble all-target', or run the testsuite on the
  1153. stage-1 compiler for the specified languages using 'make
  1154. stage1-start check-gcc'.
  1155. '--disable-libada'
  1156. Specify that the run-time libraries and tools used by GNAT should
  1157. not be built. This can be useful for debugging, or for
  1158. compatibility with previous Ada build procedures, when it was
  1159. required to explicitly do a 'make -C gcc gnatlib_and_tools'.
  1160. '--disable-libsanitizer'
  1161. Specify that the run-time libraries for the various sanitizers
  1162. should not be built.
  1163. '--disable-libssp'
  1164. Specify that the run-time libraries for stack smashing protection
  1165. should not be built or linked against. On many targets library
  1166. support is provided by the C library instead.
  1167. '--disable-libquadmath'
  1168. Specify that the GCC quad-precision math library should not be
  1169. built. On some systems, the library is required to be linkable
  1170. when building the Fortran front end, unless
  1171. '--disable-libquadmath-support' is used.
  1172. '--disable-libquadmath-support'
  1173. Specify that the Fortran front end and 'libgfortran' do not add
  1174. support for 'libquadmath' on systems supporting it.
  1175. '--disable-libgomp'
  1176. Specify that the GNU Offloading and Multi Processing Runtime
  1177. Library should not be built.
  1178. '--disable-libvtv'
  1179. Specify that the run-time libraries used by vtable verification
  1180. should not be built.
  1181. '--with-dwarf2'
  1182. Specify that the compiler should use DWARF 2 debugging information
  1183. as the default.
  1184. '--with-advance-toolchain=AT'
  1185. On 64-bit PowerPC Linux systems, configure the compiler to use the
  1186. header files, library files, and the dynamic linker from the
  1187. Advance Toolchain release AT instead of the default versions that
  1188. are provided by the Linux distribution. In general, this option is
  1189. intended for the developers of GCC, and it is not intended for
  1190. general use.
  1191. '--enable-targets=all'
  1192. '--enable-targets=TARGET_LIST'
  1193. Some GCC targets, e.g. powerpc64-linux, build bi-arch compilers.
  1194. These are compilers that are able to generate either 64-bit or
  1195. 32-bit code. Typically, the corresponding 32-bit target, e.g.
  1196. powerpc-linux for powerpc64-linux, only generates 32-bit code.
  1197. This option enables the 32-bit target to be a bi-arch compiler,
  1198. which is useful when you want a bi-arch compiler that defaults to
  1199. 32-bit, and you are building a bi-arch or multi-arch binutils in a
  1200. combined tree. On mips-linux, this will build a tri-arch compiler
  1201. (ABI o32/n32/64), defaulted to o32. Currently, this option only
  1202. affects sparc-linux, powerpc-linux, x86-linux, mips-linux and
  1203. s390-linux.
  1204. '--enable-default-pie'
  1205. Turn on '-fPIE' and '-pie' by default.
  1206. '--enable-secureplt'
  1207. This option enables '-msecure-plt' by default for powerpc-linux.
  1208. *Note RS/6000 and PowerPC Options: (gcc)RS/6000 and PowerPC
  1209. Options,
  1210. '--enable-default-ssp'
  1211. Turn on '-fstack-protector-strong' by default.
  1212. '--enable-cld'
  1213. This option enables '-mcld' by default for 32-bit x86 targets.
  1214. *Note i386 and x86-64 Options: (gcc)i386 and x86-64 Options,
  1215. '--enable-large-address-aware'
  1216. The '--enable-large-address-aware' option arranges for MinGW
  1217. executables to be linked using the '--large-address-aware' option,
  1218. that enables the use of more than 2GB of memory. If GCC is
  1219. configured with this option, its effects can be reversed by passing
  1220. the '-Wl,--disable-large-address-aware' option to the so-configured
  1221. compiler driver.
  1222. '--enable-win32-registry'
  1223. '--enable-win32-registry=KEY'
  1224. '--disable-win32-registry'
  1225. The '--enable-win32-registry' option enables Microsoft
  1226. Windows-hosted GCC to look up installations paths in the registry
  1227. using the following key:
  1228. HKEY_LOCAL_MACHINE\SOFTWARE\Free Software Foundation\KEY
  1229. KEY defaults to GCC version number, and can be overridden by the
  1230. '--enable-win32-registry=KEY' option. Vendors and distributors who
  1231. use custom installers are encouraged to provide a different key,
  1232. perhaps one comprised of vendor name and GCC version number, to
  1233. avoid conflict with existing installations. This feature is
  1234. enabled by default, and can be disabled by
  1235. '--disable-win32-registry' option. This option has no effect on
  1236. the other hosts.
  1237. '--nfp'
  1238. Specify that the machine does not have a floating point unit. This
  1239. option only applies to 'm68k-sun-sunosN'. On any other system,
  1240. '--nfp' has no effect.
  1241. '--enable-werror'
  1242. '--disable-werror'
  1243. '--enable-werror=yes'
  1244. '--enable-werror=no'
  1245. When you specify this option, it controls whether certain files in
  1246. the compiler are built with '-Werror' in bootstrap stage2 and
  1247. later. If you don't specify it, '-Werror' is turned on for the
  1248. main development trunk. However it defaults to off for release
  1249. branches and final releases. The specific files which get
  1250. '-Werror' are controlled by the Makefiles.
  1251. '--enable-checking'
  1252. '--disable-checking'
  1253. '--enable-checking=LIST'
  1254. This option controls performing internal consistency checks in the
  1255. compiler. It does not change the generated code, but adds error
  1256. checking of the requested complexity. This slows down the compiler
  1257. and may only work properly if you are building the compiler with
  1258. GCC.
  1259. When the option is not specified, the active set of checks depends
  1260. on context. Namely, bootstrap stage 1 defaults to
  1261. '--enable-checking=yes', builds from release branches or release
  1262. archives default to '--enable-checking=release', and otherwise
  1263. '--enable-checking=yes,extra' is used. When the option is
  1264. specified without a LIST, the result is the same as
  1265. '--enable-checking=yes'. Likewise, '--disable-checking' is
  1266. equivalent to '--enable-checking=no'.
  1267. The categories of checks available in LIST are 'yes' (most common
  1268. checks 'assert,misc,gc,gimple,rtlflag,runtime,tree,types'), 'no'
  1269. (no checks at all), 'all' (all but 'valgrind'), 'release' (cheapest
  1270. checks 'assert,runtime') or 'none' (same as 'no'). 'release'
  1271. checks are always on and to disable them '--disable-checking' or
  1272. '--enable-checking=no[,<other checks>]' must be explicitly
  1273. requested. Disabling assertions makes the compiler and runtime
  1274. slightly faster but increases the risk of undetected internal
  1275. errors causing wrong code to be generated.
  1276. Individual checks can be enabled with these flags: 'assert', 'df',
  1277. 'extra', 'fold', 'gc', 'gcac', 'gimple', 'misc', 'rtl', 'rtlflag',
  1278. 'runtime', 'tree', 'types' and 'valgrind'. 'extra' extends 'misc'
  1279. checking with extra checks that might affect code generation and
  1280. should therefore not differ between stage1 and later stages in
  1281. bootstrap.
  1282. The 'valgrind' check requires the external 'valgrind' simulator,
  1283. available from <http://valgrind.org/>. The 'rtl' checks are
  1284. expensive and the 'df', 'gcac' and 'valgrind' checks are very
  1285. expensive.
  1286. '--disable-stage1-checking'
  1287. '--enable-stage1-checking'
  1288. '--enable-stage1-checking=LIST'
  1289. This option affects only bootstrap build. If no
  1290. '--enable-checking' option is specified the stage1 compiler is
  1291. built with 'yes' checking enabled, otherwise the stage1 checking
  1292. flags are the same as specified by '--enable-checking'. To build
  1293. the stage1 compiler with different checking options use
  1294. '--enable-stage1-checking'. The list of checking options is the
  1295. same as for '--enable-checking'. If your system is too slow or too
  1296. small to bootstrap a released compiler with checking for stage1
  1297. enabled, you can use '--disable-stage1-checking' to disable
  1298. checking for the stage1 compiler.
  1299. '--enable-coverage'
  1300. '--enable-coverage=LEVEL'
  1301. With this option, the compiler is built to collect self coverage
  1302. information, every time it is run. This is for internal
  1303. development purposes, and only works when the compiler is being
  1304. built with gcc. The LEVEL argument controls whether the compiler
  1305. is built optimized or not, values are 'opt' and 'noopt'. For
  1306. coverage analysis you want to disable optimization, for performance
  1307. analysis you want to enable optimization. When coverage is
  1308. enabled, the default level is without optimization.
  1309. '--enable-gather-detailed-mem-stats'
  1310. When this option is specified more detailed information on memory
  1311. allocation is gathered. This information is printed when using
  1312. '-fmem-report'.
  1313. '--enable-valgrind-annotations'
  1314. Mark selected memory related operations in the compiler when run
  1315. under valgrind to suppress false positives.
  1316. '--enable-nls'
  1317. '--disable-nls'
  1318. The '--enable-nls' option enables Native Language Support (NLS),
  1319. which lets GCC output diagnostics in languages other than American
  1320. English. Native Language Support is enabled by default if not
  1321. doing a canadian cross build. The '--disable-nls' option disables
  1322. NLS.
  1323. '--with-included-gettext'
  1324. If NLS is enabled, the '--with-included-gettext' option causes the
  1325. build procedure to prefer its copy of GNU 'gettext'.
  1326. '--with-catgets'
  1327. If NLS is enabled, and if the host lacks 'gettext' but has the
  1328. inferior 'catgets' interface, the GCC build procedure normally
  1329. ignores 'catgets' and instead uses GCC's copy of the GNU 'gettext'
  1330. library. The '--with-catgets' option causes the build procedure to
  1331. use the host's 'catgets' in this situation.
  1332. '--with-libiconv-prefix=DIR'
  1333. Search for libiconv header files in 'DIR/include' and libiconv
  1334. library files in 'DIR/lib'.
  1335. '--enable-obsolete'
  1336. Enable configuration for an obsoleted system. If you attempt to
  1337. configure GCC for a system (build, host, or target) which has been
  1338. obsoleted, and you do not specify this flag, configure will halt
  1339. with an error message.
  1340. All support for systems which have been obsoleted in one release of
  1341. GCC is removed entirely in the next major release, unless someone
  1342. steps forward to maintain the port.
  1343. '--enable-decimal-float'
  1344. '--enable-decimal-float=yes'
  1345. '--enable-decimal-float=no'
  1346. '--enable-decimal-float=bid'
  1347. '--enable-decimal-float=dpd'
  1348. '--disable-decimal-float'
  1349. Enable (or disable) support for the C decimal floating point
  1350. extension that is in the IEEE 754-2008 standard. This is enabled
  1351. by default only on PowerPC, i386, and x86_64 GNU/Linux systems.
  1352. Other systems may also support it, but require the user to
  1353. specifically enable it. You can optionally control which decimal
  1354. floating point format is used (either 'bid' or 'dpd'). The 'bid'
  1355. (binary integer decimal) format is default on i386 and x86_64
  1356. systems, and the 'dpd' (densely packed decimal) format is default
  1357. on PowerPC systems.
  1358. '--enable-fixed-point'
  1359. '--disable-fixed-point'
  1360. Enable (or disable) support for C fixed-point arithmetic. This
  1361. option is enabled by default for some targets (such as MIPS) which
  1362. have hardware-support for fixed-point operations. On other
  1363. targets, you may enable this option manually.
  1364. '--with-long-double-128'
  1365. Specify if 'long double' type should be 128-bit by default on
  1366. selected GNU/Linux architectures. If using
  1367. '--without-long-double-128', 'long double' will be by default
  1368. 64-bit, the same as 'double' type. When neither of these configure
  1369. options are used, the default will be 128-bit 'long double' when
  1370. built against GNU C Library 2.4 and later, 64-bit 'long double'
  1371. otherwise.
  1372. '--with-long-double-format=ibm'
  1373. '--with-long-double-format=ieee'
  1374. Specify whether 'long double' uses the IBM extended double format
  1375. or the IEEE 128-bit floating point format on PowerPC Linux systems.
  1376. This configuration switch will only work on little endian PowerPC
  1377. Linux systems and on big endian 64-bit systems where the default
  1378. cpu is at least power7 (i.e. '--with-cpu=power7',
  1379. '--with-cpu=power8', or '--with-cpu=power9' is used).
  1380. If you use the '--with-long-double-64' configuration option, the
  1381. '--with-long-double-format=ibm' and
  1382. '--with-long-double-format=ieee' options are ignored.
  1383. The default 'long double' format is to use IBM extended double.
  1384. Until all of the libraries are converted to use IEEE 128-bit
  1385. floating point, it is not recommended to use
  1386. '--with-long-double-format=ieee'.
  1387. On little endian PowerPC Linux systems, if you explicitly set the
  1388. 'long double' type, it will build multilibs to allow you to select
  1389. either 'long double' format, unless you disable multilibs with the
  1390. '--disable-multilib' option. At present, 'long double' multilibs
  1391. are not built on big endian PowerPC Linux systems. If you are
  1392. building multilibs, you will need to configure the compiler using
  1393. the '--with-system-zlib' option.
  1394. If you do not set the 'long double' type explicitly, no multilibs
  1395. will be generated.
  1396. '--enable-fdpic'
  1397. On SH Linux systems, generate ELF FDPIC code.
  1398. '--with-gmp=PATHNAME'
  1399. '--with-gmp-include=PATHNAME'
  1400. '--with-gmp-lib=PATHNAME'
  1401. '--with-mpfr=PATHNAME'
  1402. '--with-mpfr-include=PATHNAME'
  1403. '--with-mpfr-lib=PATHNAME'
  1404. '--with-mpc=PATHNAME'
  1405. '--with-mpc-include=PATHNAME'
  1406. '--with-mpc-lib=PATHNAME'
  1407. If you want to build GCC but do not have the GMP library, the MPFR
  1408. library and/or the MPC library installed in a standard location and
  1409. do not have their sources present in the GCC source tree then you
  1410. can explicitly specify the directory where they are installed
  1411. ('--with-gmp=GMPINSTALLDIR', '--with-mpfr=MPFRINSTALLDIR',
  1412. '--with-mpc=MPCINSTALLDIR'). The '--with-gmp=GMPINSTALLDIR' option
  1413. is shorthand for '--with-gmp-lib=GMPINSTALLDIR/lib' and
  1414. '--with-gmp-include=GMPINSTALLDIR/include'. Likewise the
  1415. '--with-mpfr=MPFRINSTALLDIR' option is shorthand for
  1416. '--with-mpfr-lib=MPFRINSTALLDIR/lib' and
  1417. '--with-mpfr-include=MPFRINSTALLDIR/include', also the
  1418. '--with-mpc=MPCINSTALLDIR' option is shorthand for
  1419. '--with-mpc-lib=MPCINSTALLDIR/lib' and
  1420. '--with-mpc-include=MPCINSTALLDIR/include'. If these shorthand
  1421. assumptions are not correct, you can use the explicit include and
  1422. lib options directly. You might also need to ensure the shared
  1423. libraries can be found by the dynamic linker when building and
  1424. using GCC, for example by setting the runtime shared library path
  1425. variable ('LD_LIBRARY_PATH' on GNU/Linux and Solaris systems).
  1426. These flags are applicable to the host platform only. When
  1427. building a cross compiler, they will not be used to configure
  1428. target libraries.
  1429. '--with-isl=PATHNAME'
  1430. '--with-isl-include=PATHNAME'
  1431. '--with-isl-lib=PATHNAME'
  1432. If you do not have the isl library installed in a standard location
  1433. and you want to build GCC, you can explicitly specify the directory
  1434. where it is installed ('--with-isl=ISLINSTALLDIR'). The
  1435. '--with-isl=ISLINSTALLDIR' option is shorthand for
  1436. '--with-isl-lib=ISLINSTALLDIR/lib' and
  1437. '--with-isl-include=ISLINSTALLDIR/include'. If this shorthand
  1438. assumption is not correct, you can use the explicit include and lib
  1439. options directly.
  1440. These flags are applicable to the host platform only. When
  1441. building a cross compiler, they will not be used to configure
  1442. target libraries.
  1443. '--with-stage1-ldflags=FLAGS'
  1444. This option may be used to set linker flags to be used when linking
  1445. stage 1 of GCC. These are also used when linking GCC if configured
  1446. with '--disable-bootstrap'. If '--with-stage1-libs' is not set to
  1447. a value, then the default is '-static-libstdc++ -static-libgcc', if
  1448. supported.
  1449. '--with-stage1-libs=LIBS'
  1450. This option may be used to set libraries to be used when linking
  1451. stage 1 of GCC. These are also used when linking GCC if configured
  1452. with '--disable-bootstrap'.
  1453. '--with-boot-ldflags=FLAGS'
  1454. This option may be used to set linker flags to be used when linking
  1455. stage 2 and later when bootstrapping GCC. If -with-boot-libs is not
  1456. is set to a value, then the default is '-static-libstdc++
  1457. -static-libgcc'.
  1458. '--with-boot-libs=LIBS'
  1459. This option may be used to set libraries to be used when linking
  1460. stage 2 and later when bootstrapping GCC.
  1461. '--with-debug-prefix-map=MAP'
  1462. Convert source directory names using '-fdebug-prefix-map' when
  1463. building runtime libraries. 'MAP' is a space-separated list of
  1464. maps of the form 'OLD=NEW'.
  1465. '--enable-linker-build-id'
  1466. Tells GCC to pass '--build-id' option to the linker for all final
  1467. links (links performed without the '-r' or '--relocatable' option),
  1468. if the linker supports it. If you specify
  1469. '--enable-linker-build-id', but your linker does not support
  1470. '--build-id' option, a warning is issued and the
  1471. '--enable-linker-build-id' option is ignored. The default is off.
  1472. '--with-linker-hash-style=CHOICE'
  1473. Tells GCC to pass '--hash-style=CHOICE' option to the linker for
  1474. all final links. CHOICE can be one of 'sysv', 'gnu', and 'both'
  1475. where 'sysv' is the default.
  1476. '--enable-gnu-unique-object'
  1477. '--disable-gnu-unique-object'
  1478. Tells GCC to use the gnu_unique_object relocation for C++ template
  1479. static data members and inline function local statics. Enabled by
  1480. default for a toolchain with an assembler that accepts it and GLIBC
  1481. 2.11 or above, otherwise disabled.
  1482. '--with-diagnostics-color=CHOICE'
  1483. Tells GCC to use CHOICE as the default for '-fdiagnostics-color='
  1484. option (if not used explicitly on the command line). CHOICE can be
  1485. one of 'never', 'auto', 'always', and 'auto-if-env' where 'auto' is
  1486. the default. 'auto-if-env' means that '-fdiagnostics-color=auto'
  1487. will be the default if 'GCC_COLORS' is present and non-empty in the
  1488. environment, and '-fdiagnostics-color=never' otherwise.
  1489. '--enable-lto'
  1490. '--disable-lto'
  1491. Enable support for link-time optimization (LTO). This is enabled by
  1492. default, and may be disabled using '--disable-lto'.
  1493. '--enable-linker-plugin-configure-flags=FLAGS'
  1494. '--enable-linker-plugin-flags=FLAGS'
  1495. By default, linker plugins (such as the LTO plugin) are built for
  1496. the host system architecture. For the case that the linker has a
  1497. different (but run-time compatible) architecture, these flags can
  1498. be specified to build plugins that are compatible to the linker.
  1499. For example, if you are building GCC for a 64-bit x86_64
  1500. ('x86_64-pc-linux-gnu') host system, but have a 32-bit x86
  1501. GNU/Linux ('i686-pc-linux-gnu') linker executable (which is
  1502. executable on the former system), you can configure GCC as follows
  1503. for getting compatible linker plugins:
  1504. % SRCDIR/configure \
  1505. --host=x86_64-pc-linux-gnu \
  1506. --enable-linker-plugin-configure-flags=--host=i686-pc-linux-gnu \
  1507. --enable-linker-plugin-flags='CC=gcc\ -m32\ -Wl,-rpath,[...]/i686-pc-linux-gnu/lib'
  1508. '--with-plugin-ld=PATHNAME'
  1509. Enable an alternate linker to be used at link-time optimization
  1510. (LTO) link time when '-fuse-linker-plugin' is enabled. This linker
  1511. should have plugin support such as gold starting with version 2.20
  1512. or GNU ld starting with version 2.21. See '-fuse-linker-plugin'
  1513. for details.
  1514. '--enable-canonical-system-headers'
  1515. '--disable-canonical-system-headers'
  1516. Enable system header path canonicalization for 'libcpp'. This can
  1517. produce shorter header file paths in diagnostics and dependency
  1518. output files, but these changed header paths may conflict with some
  1519. compilation environments. Enabled by default, and may be disabled
  1520. using '--disable-canonical-system-headers'.
  1521. '--with-glibc-version=MAJOR.MINOR'
  1522. Tell GCC that when the GNU C Library (glibc) is used on the target
  1523. it will be version MAJOR.MINOR or later. Normally this can be
  1524. detected from the C library's header files, but this option may be
  1525. needed when bootstrapping a cross toolchain without the header
  1526. files available for building the initial bootstrap compiler.
  1527. If GCC is configured with some multilibs that use glibc and some
  1528. that do not, this option applies only to the multilibs that use
  1529. glibc. However, such configurations may not work well as not all
  1530. the relevant configuration in GCC is on a per-multilib basis.
  1531. '--enable-as-accelerator-for=TARGET'
  1532. Build as offload target compiler. Specify offload host triple by
  1533. TARGET.
  1534. '--enable-offload-targets=TARGET1[=PATH1],...,TARGETN[=PATHN]'
  1535. Enable offloading to targets TARGET1, ..., TARGETN. Offload
  1536. compilers are expected to be already installed. Default search
  1537. path for them is 'EXEC-PREFIX', but it can be changed by specifying
  1538. paths PATH1, ..., PATHN.
  1539. % SRCDIR/configure \
  1540. --enable-offload-targets=x86_64-intelmicemul-linux-gnu=/path/to/x86_64/compiler,nvptx-none,hsa
  1541. If 'hsa' is specified as one of the targets, the compiler will be
  1542. built with support for HSA GPU accelerators. Because the same
  1543. compiler will emit the accelerator code, no path should be
  1544. specified.
  1545. '--with-hsa-runtime=PATHNAME'
  1546. '--with-hsa-runtime-include=PATHNAME'
  1547. '--with-hsa-runtime-lib=PATHNAME'
  1548. If you configure GCC with HSA offloading but do not have the HSA
  1549. run-time library installed in a standard location then you can
  1550. explicitly specify the directory where they are installed. The
  1551. '--with-hsa-runtime=HSAINSTALLDIR' option is a shorthand for
  1552. '--with-hsa-runtime-lib=HSAINSTALLDIR/lib' and
  1553. '--with-hsa-runtime-include=HSAINSTALLDIR/include'.
  1554. '--enable-cet'
  1555. '--disable-cet'
  1556. Enable building target run-time libraries with control-flow
  1557. instrumentation, see '-fcf-protection' option. When '--enable-cet'
  1558. is specified target libraries are configured to add
  1559. '-fcf-protection' and, if needed, other target specific options to
  1560. a set of building options.
  1561. The option is disabled by default. When '--enable-cet=auto' is
  1562. used, it is enabled on Linux/x86 if target binutils supports 'Intel
  1563. CET' instructions and disabled otherwise. In this case the target
  1564. libraries are configured to get additional '-fcf-protection'
  1565. option.
  1566. '--with-riscv-attribute='yes', 'no' or 'default''
  1567. Generate RISC-V attribute by default, in order to record extra
  1568. build information in object.
  1569. The option is disabled by default. It is enabled on RISC-V/ELF
  1570. (bare-metal) target if target binutils supported.
  1571. Cross-Compiler-Specific Options
  1572. -------------------------------
  1573. The following options only apply to building cross compilers.
  1574. '--with-sysroot'
  1575. '--with-sysroot=DIR'
  1576. Tells GCC to consider DIR as the root of a tree that contains (a
  1577. subset of) the root filesystem of the target operating system.
  1578. Target system headers, libraries and run-time object files will be
  1579. searched for in there. More specifically, this acts as if
  1580. '--sysroot=DIR' was added to the default options of the built
  1581. compiler. The specified directory is not copied into the install
  1582. tree, unlike the options '--with-headers' and '--with-libs' that
  1583. this option obsoletes. The default value, in case '--with-sysroot'
  1584. is not given an argument, is '${gcc_tooldir}/sys-root'. If the
  1585. specified directory is a subdirectory of '${exec_prefix}', then it
  1586. will be found relative to the GCC binaries if the installation tree
  1587. is moved.
  1588. This option affects the system root for the compiler used to build
  1589. target libraries (which runs on the build system) and the compiler
  1590. newly installed with 'make install'; it does not affect the
  1591. compiler which is used to build GCC itself.
  1592. If you specify the '--with-native-system-header-dir=DIRNAME' option
  1593. then the compiler will search that directory within DIRNAME for
  1594. native system headers rather than the default '/usr/include'.
  1595. '--with-build-sysroot'
  1596. '--with-build-sysroot=DIR'
  1597. Tells GCC to consider DIR as the system root (see '--with-sysroot')
  1598. while building target libraries, instead of the directory specified
  1599. with '--with-sysroot'. This option is only useful when you are
  1600. already using '--with-sysroot'. You can use '--with-build-sysroot'
  1601. when you are configuring with '--prefix' set to a directory that is
  1602. different from the one in which you are installing GCC and your
  1603. target libraries.
  1604. This option affects the system root for the compiler used to build
  1605. target libraries (which runs on the build system); it does not
  1606. affect the compiler which is used to build GCC itself.
  1607. If you specify the '--with-native-system-header-dir=DIRNAME' option
  1608. then the compiler will search that directory within DIRNAME for
  1609. native system headers rather than the default '/usr/include'.
  1610. '--with-headers'
  1611. '--with-headers=DIR'
  1612. Deprecated in favor of '--with-sysroot'. Specifies that target
  1613. headers are available when building a cross compiler. The DIR
  1614. argument specifies a directory which has the target include files.
  1615. These include files will be copied into the 'gcc' install
  1616. directory. _This option with the DIR argument is required_ when
  1617. building a cross compiler, if 'PREFIX/TARGET/sys-include' doesn't
  1618. pre-exist. If 'PREFIX/TARGET/sys-include' does pre-exist, the DIR
  1619. argument may be omitted. 'fixincludes' will be run on these files
  1620. to make them compatible with GCC.
  1621. '--without-headers'
  1622. Tells GCC not use any target headers from a libc when building a
  1623. cross compiler. When crossing to GNU/Linux, you need the headers
  1624. so GCC can build the exception handling for libgcc.
  1625. '--with-libs'
  1626. '--with-libs="DIR1 DIR2 ... DIRN"'
  1627. Deprecated in favor of '--with-sysroot'. Specifies a list of
  1628. directories which contain the target runtime libraries. These
  1629. libraries will be copied into the 'gcc' install directory. If the
  1630. directory list is omitted, this option has no effect.
  1631. '--with-newlib'
  1632. Specifies that 'newlib' is being used as the target C library.
  1633. This causes '__eprintf' to be omitted from 'libgcc.a' on the
  1634. assumption that it will be provided by 'newlib'.
  1635. '--with-avrlibc'
  1636. Specifies that 'AVR-Libc' is being used as the target C library.
  1637. This causes float support functions like '__addsf3' to be omitted
  1638. from 'libgcc.a' on the assumption that it will be provided by
  1639. 'libm.a'. For more technical details, cf. PR54461. This option
  1640. is only supported for the AVR target. It is not supported for
  1641. RTEMS configurations, which currently use newlib. The option is
  1642. supported since version 4.7.2 and is the default in 4.8.0 and
  1643. newer.
  1644. '--with-nds32-lib=LIBRARY'
  1645. Specifies that LIBRARY setting is used for building 'libgcc.a'.
  1646. Currently, the valid LIBRARY is 'newlib' or 'mculib'. This option
  1647. is only supported for the NDS32 target.
  1648. '--with-build-time-tools=DIR'
  1649. Specifies where to find the set of target tools (assembler, linker,
  1650. etc.) that will be used while building GCC itself. This option
  1651. can be useful if the directory layouts are different between the
  1652. system you are building GCC on, and the system where you will
  1653. deploy it.
  1654. For example, on an 'ia64-hp-hpux' system, you may have the GNU
  1655. assembler and linker in '/usr/bin', and the native tools in a
  1656. different path, and build a toolchain that expects to find the
  1657. native tools in '/usr/bin'.
  1658. When you use this option, you should ensure that DIR includes 'ar',
  1659. 'as', 'ld', 'nm', 'ranlib' and 'strip' if necessary, and possibly
  1660. 'objdump'. Otherwise, GCC may use an inconsistent set of tools.
  1661. Overriding 'configure' test results
  1662. ...................................
  1663. Sometimes, it might be necessary to override the result of some
  1664. 'configure' test, for example in order to ease porting to a new system
  1665. or work around a bug in a test. The toplevel 'configure' script
  1666. provides three variables for this:
  1667. 'build_configargs'
  1668. The contents of this variable is passed to all build 'configure'
  1669. scripts.
  1670. 'host_configargs'
  1671. The contents of this variable is passed to all host 'configure'
  1672. scripts.
  1673. 'target_configargs'
  1674. The contents of this variable is passed to all target 'configure'
  1675. scripts.
  1676. In order to avoid shell and 'make' quoting issues for complex
  1677. overrides, you can pass a setting for 'CONFIG_SITE' and set variables in
  1678. the site file.
  1679. Objective-C-Specific Options
  1680. ----------------------------
  1681. The following options apply to the build of the Objective-C runtime
  1682. library.
  1683. '--enable-objc-gc'
  1684. Specify that an additional variant of the GNU Objective-C runtime
  1685. library is built, using an external build of the
  1686. Boehm-Demers-Weiser garbage collector
  1687. (<http://www.hboehm.info/gc/>). This library needs to be available
  1688. for each multilib variant, unless configured with
  1689. '--enable-objc-gc='auto'' in which case the build of the additional
  1690. runtime library is skipped when not available and the build
  1691. continues.
  1692. '--with-target-bdw-gc=LIST'
  1693. '--with-target-bdw-gc-include=LIST'
  1694. '--with-target-bdw-gc-lib=LIST'
  1695. Specify search directories for the garbage collector header files
  1696. and libraries. LIST is a comma separated list of key value pairs
  1697. of the form 'MULTILIBDIR=PATH', where the default multilib key is
  1698. named as '.' (dot), or is omitted (e.g.
  1699. '--with-target-bdw-gc=/opt/bdw-gc,32=/opt-bdw-gc32').
  1700. The options '--with-target-bdw-gc-include' and
  1701. '--with-target-bdw-gc-lib' must always be specified together for
  1702. each multilib variant and they take precedence over
  1703. '--with-target-bdw-gc'. If '--with-target-bdw-gc-include' is
  1704. missing values for a multilib, then the value for the default
  1705. multilib is used (e.g.
  1706. '--with-target-bdw-gc-include=/opt/bdw-gc/include'
  1707. '--with-target-bdw-gc-lib=/opt/bdw-gc/lib64,32=/opt-bdw-gc/lib32').
  1708. If none of these options are specified, the library is assumed in
  1709. default locations.
  1710. D-Specific Options
  1711. ------------------
  1712. The following options apply to the build of the D runtime library.
  1713. '--with-target-system-zlib'
  1714. Use installed 'zlib' rather than that included with GCC. This
  1715. needs to be available for each multilib variant, unless configured
  1716. with '--with-target-system-zlib='auto'' in which case the
  1717. GCC included 'zlib' is only used when the system installed library
  1718. is not available.
  1719. 
  1720. File: x86_64-linux-gnu-gccinstall.info, Node: Building, Next: Testing, Prev: Configuration, Up: Installing GCC
  1721. 5 Building
  1722. **********
  1723. Now that GCC is configured, you are ready to build the compiler and
  1724. runtime libraries.
  1725. Some commands executed when making the compiler may fail (return a
  1726. nonzero status) and be ignored by 'make'. These failures, which are
  1727. often due to files that were not found, are expected, and can safely be
  1728. ignored.
  1729. It is normal to have compiler warnings when compiling certain files.
  1730. Unless you are a GCC developer, you can generally ignore these warnings
  1731. unless they cause compilation to fail. Developers should attempt to fix
  1732. any warnings encountered, however they can temporarily continue past
  1733. warnings-as-errors by specifying the configure flag '--disable-werror'.
  1734. On certain old systems, defining certain environment variables such
  1735. as 'CC' can interfere with the functioning of 'make'.
  1736. If you encounter seemingly strange errors when trying to build the
  1737. compiler in a directory other than the source directory, it could be
  1738. because you have previously configured the compiler in the source
  1739. directory. Make sure you have done all the necessary preparations.
  1740. If you build GCC on a BSD system using a directory stored in an old
  1741. System V file system, problems may occur in running 'fixincludes' if the
  1742. System V file system doesn't support symbolic links. These problems
  1743. result in a failure to fix the declaration of 'size_t' in 'sys/types.h'.
  1744. If you find that 'size_t' is a signed type and that type mismatches
  1745. occur, this could be the cause.
  1746. The solution is not to use such a directory for building GCC.
  1747. Similarly, when building from the source repository or snapshots, or
  1748. if you modify '*.l' files, you need the Flex lexical analyzer generator
  1749. installed. If you do not modify '*.l' files, releases contain the
  1750. Flex-generated files and you do not need Flex installed to build them.
  1751. There is still one Flex-based lexical analyzer (part of the build
  1752. machinery, not of GCC itself) that is used even if you only build the C
  1753. front end.
  1754. When building from the source repository or snapshots, or if you
  1755. modify Texinfo documentation, you need version 4.7 or later of Texinfo
  1756. installed if you want Info documentation to be regenerated. Releases
  1757. contain Info documentation pre-built for the unmodified documentation in
  1758. the release.
  1759. 5.1 Building a native compiler
  1760. ==============================
  1761. For a native build, the default configuration is to perform a 3-stage
  1762. bootstrap of the compiler when 'make' is invoked. This will build the
  1763. entire GCC system and ensure that it compiles itself correctly. It can
  1764. be disabled with the '--disable-bootstrap' parameter to 'configure', but
  1765. bootstrapping is suggested because the compiler will be tested more
  1766. completely and could also have better performance.
  1767. The bootstrapping process will complete the following steps:
  1768. * Build tools necessary to build the compiler.
  1769. * Perform a 3-stage bootstrap of the compiler. This includes
  1770. building three times the target tools for use by the compiler such
  1771. as binutils (bfd, binutils, gas, gprof, ld, and opcodes) if they
  1772. have been individually linked or moved into the top level GCC
  1773. source tree before configuring.
  1774. * Perform a comparison test of the stage2 and stage3 compilers.
  1775. * Build runtime libraries using the stage3 compiler from the previous
  1776. step.
  1777. If you are short on disk space you might consider 'make
  1778. bootstrap-lean' instead. The sequence of compilation is the same
  1779. described above, but object files from the stage1 and stage2 of the
  1780. 3-stage bootstrap of the compiler are deleted as soon as they are no
  1781. longer needed.
  1782. If you wish to use non-default GCC flags when compiling the stage2
  1783. and stage3 compilers, set 'BOOT_CFLAGS' on the command line when doing
  1784. 'make'. For example, if you want to save additional space during the
  1785. bootstrap and in the final installation as well, you can build the
  1786. compiler binaries without debugging information as in the following
  1787. example. This will save roughly 40% of disk space both for the
  1788. bootstrap and the final installation. (Libraries will still contain
  1789. debugging information.)
  1790. make BOOT_CFLAGS='-O' bootstrap
  1791. You can place non-default optimization flags into 'BOOT_CFLAGS'; they
  1792. are less well tested here than the default of '-g -O2', but should still
  1793. work. In a few cases, you may find that you need to specify special
  1794. flags such as '-msoft-float' here to complete the bootstrap; or, if the
  1795. native compiler miscompiles the stage1 compiler, you may need to work
  1796. around this, by choosing 'BOOT_CFLAGS' to avoid the parts of the stage1
  1797. compiler that were miscompiled, or by using 'make bootstrap4' to
  1798. increase the number of stages of bootstrap.
  1799. 'BOOT_CFLAGS' does not apply to bootstrapped target libraries. Since
  1800. these are always compiled with the compiler currently being
  1801. bootstrapped, you can use 'CFLAGS_FOR_TARGET' to modify their
  1802. compilation flags, as for non-bootstrapped target libraries. Again, if
  1803. the native compiler miscompiles the stage1 compiler, you may need to
  1804. work around this by avoiding non-working parts of the stage1 compiler.
  1805. Use 'STAGE1_TFLAGS' to this end.
  1806. If you used the flag '--enable-languages=...' to restrict the
  1807. compilers to be built, only those you've actually enabled will be built.
  1808. This will of course only build those runtime libraries, for which the
  1809. particular compiler has been built. Please note, that re-defining
  1810. 'LANGUAGES' when calling 'make' *does not* work anymore!
  1811. If the comparison of stage2 and stage3 fails, this normally indicates
  1812. that the stage2 compiler has compiled GCC incorrectly, and is therefore
  1813. a potentially serious bug which you should investigate and report. (On
  1814. a few systems, meaningful comparison of object files is impossible; they
  1815. always appear "different". If you encounter this problem, you will need
  1816. to disable comparison in the 'Makefile'.)
  1817. If you do not want to bootstrap your compiler, you can configure with
  1818. '--disable-bootstrap'. In particular cases, you may want to bootstrap
  1819. your compiler even if the target system is not the same as the one you
  1820. are building on: for example, you could build a
  1821. 'powerpc-unknown-linux-gnu' toolchain on a 'powerpc64-unknown-linux-gnu'
  1822. host. In this case, pass '--enable-bootstrap' to the configure script.
  1823. 'BUILD_CONFIG' can be used to bring in additional customization to
  1824. the build. It can be set to a whitespace-separated list of names. For
  1825. each such 'NAME', top-level 'config/NAME.mk' will be included by the
  1826. top-level 'Makefile', bringing in any settings it contains. The default
  1827. 'BUILD_CONFIG' can be set using the configure option
  1828. '--with-build-config=NAME...'. Some examples of supported build
  1829. configurations are:
  1830. 'bootstrap-O1'
  1831. Removes any '-O'-started option from 'BOOT_CFLAGS', and adds '-O1'
  1832. to it. 'BUILD_CONFIG=bootstrap-O1' is equivalent to
  1833. 'BOOT_CFLAGS='-g -O1''.
  1834. 'bootstrap-O3'
  1835. Analogous to 'bootstrap-O1'.
  1836. 'bootstrap-lto'
  1837. Enables Link-Time Optimization for host tools during bootstrapping.
  1838. 'BUILD_CONFIG=bootstrap-lto' is equivalent to adding '-flto' to
  1839. 'BOOT_CFLAGS'. This option assumes that the host supports the
  1840. linker plugin (e.g. GNU ld version 2.21 or later or GNU gold
  1841. version 2.21 or later).
  1842. 'bootstrap-lto-noplugin'
  1843. This option is similar to 'bootstrap-lto', but is intended for
  1844. hosts that do not support the linker plugin. Without the linker
  1845. plugin static libraries are not compiled with link-time
  1846. optimizations. Since the GCC middle end and back end are in
  1847. 'libbackend.a' this means that only the front end is actually LTO
  1848. optimized.
  1849. 'bootstrap-lto-lean'
  1850. This option is similar to 'bootstrap-lto', but is intended for
  1851. faster build by only using LTO in the final bootstrap stage. With
  1852. 'make profiledbootstrap' the LTO frontend is trained only on
  1853. generator files.
  1854. 'bootstrap-debug'
  1855. Verifies that the compiler generates the same executable code,
  1856. whether or not it is asked to emit debug information. To this end,
  1857. this option builds stage2 host programs without debug information,
  1858. and uses 'contrib/compare-debug' to compare them with the stripped
  1859. stage3 object files. If 'BOOT_CFLAGS' is overridden so as to not
  1860. enable debug information, stage2 will have it, and stage3 won't.
  1861. This option is enabled by default when GCC bootstrapping is
  1862. enabled, if 'strip' can turn object files compiled with and without
  1863. debug info into identical object files. In addition to better test
  1864. coverage, this option makes default bootstraps faster and leaner.
  1865. 'bootstrap-debug-big'
  1866. Rather than comparing stripped object files, as in
  1867. 'bootstrap-debug', this option saves internal compiler dumps during
  1868. stage2 and stage3 and compares them as well, which helps catch
  1869. additional potential problems, but at a great cost in terms of disk
  1870. space. It can be specified in addition to 'bootstrap-debug'.
  1871. 'bootstrap-debug-lean'
  1872. This option saves disk space compared with 'bootstrap-debug-big',
  1873. but at the expense of some recompilation. Instead of saving the
  1874. dumps of stage2 and stage3 until the final compare, it uses
  1875. '-fcompare-debug' to generate, compare and remove the dumps during
  1876. stage3, repeating the compilation that already took place in
  1877. stage2, whose dumps were not saved.
  1878. 'bootstrap-debug-lib'
  1879. This option tests executable code invariance over debug information
  1880. generation on target libraries, just like 'bootstrap-debug-lean'
  1881. tests it on host programs. It builds stage3 libraries with
  1882. '-fcompare-debug', and it can be used along with any of the
  1883. 'bootstrap-debug' options above.
  1884. There aren't '-lean' or '-big' counterparts to this option because
  1885. most libraries are only build in stage3, so bootstrap compares
  1886. would not get significant coverage. Moreover, the few libraries
  1887. built in stage2 are used in stage3 host programs, so we wouldn't
  1888. want to compile stage2 libraries with different options for
  1889. comparison purposes.
  1890. 'bootstrap-debug-ckovw'
  1891. Arranges for error messages to be issued if the compiler built on
  1892. any stage is run without the option '-fcompare-debug'. This is
  1893. useful to verify the full '-fcompare-debug' testing coverage. It
  1894. must be used along with 'bootstrap-debug-lean' and
  1895. 'bootstrap-debug-lib'.
  1896. 'bootstrap-cet'
  1897. This option enables Intel CET for host tools during bootstrapping.
  1898. 'BUILD_CONFIG=bootstrap-cet' is equivalent to adding
  1899. '-fcf-protection' to 'BOOT_CFLAGS'. This option assumes that the
  1900. host supports Intel CET (e.g. GNU assembler version 2.30 or later).
  1901. 'bootstrap-time'
  1902. Arranges for the run time of each program started by the GCC
  1903. driver, built in any stage, to be logged to 'time.log', in the top
  1904. level of the build tree.
  1905. 5.2 Building a cross compiler
  1906. =============================
  1907. When building a cross compiler, it is not generally possible to do a
  1908. 3-stage bootstrap of the compiler. This makes for an interesting
  1909. problem as parts of GCC can only be built with GCC.
  1910. To build a cross compiler, we recommend first building and installing
  1911. a native compiler. You can then use the native GCC compiler to build
  1912. the cross compiler. The installed native compiler needs to be GCC
  1913. version 2.95 or later.
  1914. Assuming you have already installed a native copy of GCC and
  1915. configured your cross compiler, issue the command 'make', which performs
  1916. the following steps:
  1917. * Build host tools necessary to build the compiler.
  1918. * Build target tools for use by the compiler such as binutils (bfd,
  1919. binutils, gas, gprof, ld, and opcodes) if they have been
  1920. individually linked or moved into the top level GCC source tree
  1921. before configuring.
  1922. * Build the compiler (single stage only).
  1923. * Build runtime libraries using the compiler from the previous step.
  1924. Note that if an error occurs in any step the make process will exit.
  1925. If you are not building GNU binutils in the same source tree as GCC,
  1926. you will need a cross-assembler and cross-linker installed before
  1927. configuring GCC. Put them in the directory 'PREFIX/TARGET/bin'. Here
  1928. is a table of the tools you should put in this directory:
  1929. 'as'
  1930. This should be the cross-assembler.
  1931. 'ld'
  1932. This should be the cross-linker.
  1933. 'ar'
  1934. This should be the cross-archiver: a program which can manipulate
  1935. archive files (linker libraries) in the target machine's format.
  1936. 'ranlib'
  1937. This should be a program to construct a symbol table in an archive
  1938. file.
  1939. The installation of GCC will find these programs in that directory,
  1940. and copy or link them to the proper place to for the cross-compiler to
  1941. find them when run later.
  1942. The easiest way to provide these files is to build the Binutils
  1943. package. Configure it with the same '--host' and '--target' options
  1944. that you use for configuring GCC, then build and install them. They
  1945. install their executables automatically into the proper directory.
  1946. Alas, they do not support all the targets that GCC supports.
  1947. If you are not building a C library in the same source tree as GCC,
  1948. you should also provide the target libraries and headers before
  1949. configuring GCC, specifying the directories with '--with-sysroot' or
  1950. '--with-headers' and '--with-libs'. Many targets also require "start
  1951. files" such as 'crt0.o' and 'crtn.o' which are linked into each
  1952. executable. There may be several alternatives for 'crt0.o', for use
  1953. with profiling or other compilation options. Check your target's
  1954. definition of 'STARTFILE_SPEC' to find out what start files it uses.
  1955. 5.3 Building in parallel
  1956. ========================
  1957. GNU Make 3.80 and above, which is necessary to build GCC, support
  1958. building in parallel. To activate this, you can use 'make -j 2' instead
  1959. of 'make'. You can also specify a bigger number, and in most cases
  1960. using a value greater than the number of processors in your machine will
  1961. result in fewer and shorter I/O latency hits, thus improving overall
  1962. throughput; this is especially true for slow drives and network
  1963. filesystems.
  1964. 5.4 Building the Ada compiler
  1965. =============================
  1966. In order to build GNAT, the Ada compiler, you need a working GNAT
  1967. compiler (GCC version 4.0 or later). This includes GNAT tools such as
  1968. 'gnatmake' and 'gnatlink', since the Ada front end is written in Ada and
  1969. uses some GNAT-specific extensions.
  1970. In order to build a cross compiler, it is suggested to install the
  1971. new compiler as native first, and then use it to build the cross
  1972. compiler.
  1973. 'configure' does not test whether the GNAT installation works and has
  1974. a sufficiently recent version; if too old a GNAT version is installed,
  1975. the build will fail unless '--enable-languages' is used to disable
  1976. building the Ada front end.
  1977. 'ADA_INCLUDE_PATH' and 'ADA_OBJECT_PATH' environment variables must
  1978. not be set when building the Ada compiler, the Ada tools, or the Ada
  1979. runtime libraries. You can check that your build environment is clean
  1980. by verifying that 'gnatls -v' lists only one explicit path in each
  1981. section.
  1982. 5.5 Building with profile feedback
  1983. ==================================
  1984. It is possible to use profile feedback to optimize the compiler itself.
  1985. This should result in a faster compiler binary. Experiments done on x86
  1986. using gcc 3.3 showed approximately 7 percent speedup on compiling C
  1987. programs. To bootstrap the compiler with profile feedback, use 'make
  1988. profiledbootstrap'.
  1989. When 'make profiledbootstrap' is run, it will first build a 'stage1'
  1990. compiler. This compiler is used to build a 'stageprofile' compiler
  1991. instrumented to collect execution counts of instruction and branch
  1992. probabilities. Training run is done by building 'stagetrain' compiler.
  1993. Finally a 'stagefeedback' compiler is built using the information
  1994. collected.
  1995. Unlike standard bootstrap, several additional restrictions apply.
  1996. The compiler used to build 'stage1' needs to support a 64-bit integral
  1997. type. It is recommended to only use GCC for this.
  1998. On Linux/x86_64 hosts with some restrictions (no virtualization) it
  1999. is also possible to do autofdo build with 'make autoprofiledback'. This
  2000. uses Linux perf to sample branches in the binary and then rebuild it
  2001. with feedback derived from the profile. Linux perf and the 'autofdo'
  2002. toolkit needs to be installed for this.
  2003. Only the profile from the current build is used, so when an error
  2004. occurs it is recommended to clean before restarting. Otherwise the code
  2005. quality may be much worse.
  2006. 
  2007. File: x86_64-linux-gnu-gccinstall.info, Node: Testing, Next: Final install, Prev: Building, Up: Installing GCC
  2008. 6 Installing GCC: Testing
  2009. *************************
  2010. Before you install GCC, we encourage you to run the testsuites and to
  2011. compare your results with results from a similar configuration that have
  2012. been submitted to the gcc-testresults mailing list. Some of these
  2013. archived results are linked from the build status lists at
  2014. <http://gcc.gnu.org/buildstat.html>, although not everyone who reports a
  2015. successful build runs the testsuites and submits the results. This step
  2016. is optional and may require you to download additional software, but it
  2017. can give you confidence in your new GCC installation or point out
  2018. problems before you install and start using your new GCC.
  2019. First, you must have downloaded the testsuites. These are part of
  2020. the full distribution, but if you downloaded the "core" compiler plus
  2021. any front ends, you must download the testsuites separately.
  2022. Second, you must have the testing tools installed. This includes
  2023. DejaGnu, Tcl, and Expect; the DejaGnu site has links to these. For
  2024. running the BRIG frontend tests, a tool to assemble the binary BRIGs
  2025. from HSAIL text, HSAILasm must be installed.
  2026. If the directories where 'runtest' and 'expect' were installed are
  2027. not in the 'PATH', you may need to set the following environment
  2028. variables appropriately, as in the following example (which assumes that
  2029. DejaGnu has been installed under '/usr/local'):
  2030. TCL_LIBRARY = /usr/local/share/tcl8.0
  2031. DEJAGNULIBS = /usr/local/share/dejagnu
  2032. (On systems such as Cygwin, these paths are required to be actual
  2033. paths, not mounts or links; presumably this is due to some lack of
  2034. portability in the DejaGnu code.)
  2035. Finally, you can run the testsuite (which may take a long time):
  2036. cd OBJDIR; make -k check
  2037. This will test various components of GCC, such as compiler front ends
  2038. and runtime libraries. While running the testsuite, DejaGnu might emit
  2039. some harmless messages resembling 'WARNING: Couldn't find the global
  2040. config file.' or 'WARNING: Couldn't find tool init file' that can be
  2041. ignored.
  2042. If you are testing a cross-compiler, you may want to run the
  2043. testsuite on a simulator as described at
  2044. <http://gcc.gnu.org/simtest-howto.html>.
  2045. 6.1 How can you run the testsuite on selected tests?
  2046. ====================================================
  2047. In order to run sets of tests selectively, there are targets 'make
  2048. check-gcc' and language specific 'make check-c', 'make check-c++', 'make
  2049. check-d' 'make check-fortran', 'make check-ada', 'make check-objc',
  2050. 'make check-obj-c++', 'make check-lto' in the 'gcc' subdirectory of the
  2051. object directory. You can also just run 'make check' in a subdirectory
  2052. of the object directory.
  2053. A more selective way to just run all 'gcc' execute tests in the
  2054. testsuite is to use
  2055. make check-gcc RUNTESTFLAGS="execute.exp OTHER-OPTIONS"
  2056. Likewise, in order to run only the 'g++' "old-deja" tests in the
  2057. testsuite with filenames matching '9805*', you would use
  2058. make check-g++ RUNTESTFLAGS="old-deja.exp=9805* OTHER-OPTIONS"
  2059. The file-matching expression following FILENAME'.exp=' is treated as
  2060. a series of whitespace-delimited glob expressions so that multiple
  2061. patterns may be passed, although any whitespace must either be escaped
  2062. or surrounded by single quotes if multiple expressions are desired. For
  2063. example,
  2064. make check-g++ RUNTESTFLAGS="old-deja.exp=9805*\ virtual2.c OTHER-OPTIONS"
  2065. make check-g++ RUNTESTFLAGS="'old-deja.exp=9805* virtual2.c' OTHER-OPTIONS"
  2066. The '*.exp' files are located in the testsuite directories of the GCC
  2067. source, the most important ones being 'compile.exp', 'execute.exp',
  2068. 'dg.exp' and 'old-deja.exp'. To get a list of the possible '*.exp'
  2069. files, pipe the output of 'make check' into a file and look at the
  2070. 'Running ... .exp' lines.
  2071. 6.2 Passing options and running multiple testsuites
  2072. ===================================================
  2073. You can pass multiple options to the testsuite using the
  2074. '--target_board' option of DejaGNU, either passed as part of
  2075. 'RUNTESTFLAGS', or directly to 'runtest' if you prefer to work outside
  2076. the makefiles. For example,
  2077. make check-g++ RUNTESTFLAGS="--target_board=unix/-O3/-fmerge-constants"
  2078. will run the standard 'g++' testsuites ("unix" is the target name for
  2079. a standard native testsuite situation), passing '-O3 -fmerge-constants'
  2080. to the compiler on every test, i.e., slashes separate options.
  2081. You can run the testsuites multiple times using combinations of
  2082. options with a syntax similar to the brace expansion of popular shells:
  2083. ..."--target_board=arm-sim\{-mhard-float,-msoft-float\}\{-O1,-O2,-O3,\}"
  2084. (Note the empty option caused by the trailing comma in the final
  2085. group.) The following will run each testsuite eight times using the
  2086. 'arm-sim' target, as if you had specified all possible combinations
  2087. yourself:
  2088. --target_board='arm-sim/-mhard-float/-O1 \
  2089. arm-sim/-mhard-float/-O2 \
  2090. arm-sim/-mhard-float/-O3 \
  2091. arm-sim/-mhard-float \
  2092. arm-sim/-msoft-float/-O1 \
  2093. arm-sim/-msoft-float/-O2 \
  2094. arm-sim/-msoft-float/-O3 \
  2095. arm-sim/-msoft-float'
  2096. They can be combined as many times as you wish, in arbitrary ways.
  2097. This list:
  2098. ..."--target_board=unix/-Wextra\{-O3,-fno-strength\}\{-fomit-frame,\}"
  2099. will generate four combinations, all involving '-Wextra'.
  2100. The disadvantage to this method is that the testsuites are run in
  2101. serial, which is a waste on multiprocessor systems. For users with GNU
  2102. Make and a shell which performs brace expansion, you can run the
  2103. testsuites in parallel by having the shell perform the combinations and
  2104. 'make' do the parallel runs. Instead of using '--target_board', use a
  2105. special makefile target:
  2106. make -jN check-TESTSUITE//TEST-TARGET/OPTION1/OPTION2/...
  2107. For example,
  2108. make -j3 check-gcc//sh-hms-sim/{-m1,-m2,-m3,-m3e,-m4}/{,-nofpu}
  2109. will run three concurrent "make-gcc" testsuites, eventually testing
  2110. all ten combinations as described above. Note that this is currently
  2111. only supported in the 'gcc' subdirectory. (To see how this works, try
  2112. typing 'echo' before the example given here.)
  2113. 6.3 How to interpret test results
  2114. =================================
  2115. The result of running the testsuite are various '*.sum' and '*.log'
  2116. files in the testsuite subdirectories. The '*.log' files contain a
  2117. detailed log of the compiler invocations and the corresponding results,
  2118. the '*.sum' files summarize the results. These summaries contain status
  2119. codes for all tests:
  2120. * PASS: the test passed as expected
  2121. * XPASS: the test unexpectedly passed
  2122. * FAIL: the test unexpectedly failed
  2123. * XFAIL: the test failed as expected
  2124. * UNSUPPORTED: the test is not supported on this platform
  2125. * ERROR: the testsuite detected an error
  2126. * WARNING: the testsuite detected a possible problem
  2127. It is normal for some tests to report unexpected failures. At the
  2128. current time the testing harness does not allow fine grained control
  2129. over whether or not a test is expected to fail. This problem should be
  2130. fixed in future releases.
  2131. 6.4 Submitting test results
  2132. ===========================
  2133. If you want to report the results to the GCC project, use the
  2134. 'contrib/test_summary' shell script. Start it in the OBJDIR with
  2135. SRCDIR/contrib/test_summary -p your_commentary.txt \
  2136. -m gcc-testresults@gcc.gnu.org |sh
  2137. This script uses the 'Mail' program to send the results, so make sure
  2138. it is in your 'PATH'. The file 'your_commentary.txt' is prepended to
  2139. the testsuite summary and should contain any special remarks you have on
  2140. your results or your build environment. Please do not edit the
  2141. testsuite result block or the subject line, as these messages may be
  2142. automatically processed.
  2143. 
  2144. File: x86_64-linux-gnu-gccinstall.info, Node: Final install, Prev: Testing, Up: Installing GCC
  2145. 7 Installing GCC: Final installation
  2146. ************************************
  2147. Now that GCC has been built (and optionally tested), you can install it
  2148. with
  2149. cd OBJDIR && make install
  2150. We strongly recommend to install into a target directory where there
  2151. is no previous version of GCC present. Also, the GNAT runtime should
  2152. not be stripped, as this would break certain features of the debugger
  2153. that depend on this debugging information (catching Ada exceptions for
  2154. instance).
  2155. That step completes the installation of GCC; user level binaries can
  2156. be found in 'PREFIX/bin' where PREFIX is the value you specified with
  2157. the '--prefix' to configure (or '/usr/local' by default). (If you
  2158. specified '--bindir', that directory will be used instead; otherwise, if
  2159. you specified '--exec-prefix', 'EXEC-PREFIX/bin' will be used.) Headers
  2160. for the C++ library are installed in 'PREFIX/include'; libraries in
  2161. 'LIBDIR' (normally 'PREFIX/lib'); internal parts of the compiler in
  2162. 'LIBDIR/gcc' and 'LIBEXECDIR/gcc'; documentation in info format in
  2163. 'INFODIR' (normally 'PREFIX/info').
  2164. When installing cross-compilers, GCC's executables are not only
  2165. installed into 'BINDIR', that is, 'EXEC-PREFIX/bin', but additionally
  2166. into 'EXEC-PREFIX/TARGET-ALIAS/bin', if that directory exists.
  2167. Typically, such "tooldirs" hold target-specific binutils, including
  2168. assembler and linker.
  2169. Installation into a temporary staging area or into a 'chroot' jail
  2170. can be achieved with the command
  2171. make DESTDIR=PATH-TO-ROOTDIR install
  2172. where PATH-TO-ROOTDIR is the absolute path of a directory relative to
  2173. which all installation paths will be interpreted. Note that the
  2174. directory specified by 'DESTDIR' need not exist yet; it will be created
  2175. if necessary.
  2176. There is a subtle point with tooldirs and 'DESTDIR': If you relocate
  2177. a cross-compiler installation with e.g. 'DESTDIR=ROOTDIR', then the
  2178. directory 'ROOTDIR/EXEC-PREFIX/TARGET-ALIAS/bin' will be filled with
  2179. duplicated GCC executables only if it already exists, it will not be
  2180. created otherwise. This is regarded as a feature, not as a bug, because
  2181. it gives slightly more control to the packagers using the 'DESTDIR'
  2182. feature.
  2183. You can install stripped programs and libraries with
  2184. make install-strip
  2185. If you are bootstrapping a released version of GCC then please
  2186. quickly review the build status page for your release, available from
  2187. <http://gcc.gnu.org/buildstat.html>. If your system is not listed for
  2188. the version of GCC that you built, send a note to <gcc@gcc.gnu.org>
  2189. indicating that you successfully built and installed GCC. Include the
  2190. following information:
  2191. * Output from running 'SRCDIR/config.guess'. Do not send that file
  2192. itself, just the one-line output from running it.
  2193. * The output of 'gcc -v' for your newly installed 'gcc'. This tells
  2194. us which version of GCC you built and the options you passed to
  2195. configure.
  2196. * Whether you enabled all languages or a subset of them. If you used
  2197. a full distribution then this information is part of the configure
  2198. options in the output of 'gcc -v', but if you downloaded the "core"
  2199. compiler plus additional front ends then it isn't apparent which
  2200. ones you built unless you tell us about it.
  2201. * If the build was for GNU/Linux, also include:
  2202. * The distribution name and version (e.g., Red Hat 7.1 or Debian
  2203. 2.2.3); this information should be available from
  2204. '/etc/issue'.
  2205. * The version of the Linux kernel, available from 'uname
  2206. --version' or 'uname -a'.
  2207. * The version of glibc you used; for RPM-based systems like Red
  2208. Hat, Mandrake, and SuSE type 'rpm -q glibc' to get the glibc
  2209. version, and on systems like Debian and Progeny use 'dpkg -l
  2210. libc6'.
  2211. For other systems, you can include similar information if you think
  2212. it is relevant.
  2213. * Any other information that you think would be useful to people
  2214. building GCC on the same configuration. The new entry in the build
  2215. status list will include a link to the archived copy of your
  2216. message.
  2217. We'd also like to know if the *note host/target specific installation
  2218. notes: Specific. didn't include your host/target information or if that
  2219. information is incomplete or out of date. Send a note to
  2220. <gcc@gcc.gnu.org> detailing how the information should be changed.
  2221. If you find a bug, please report it following the bug reporting
  2222. guidelines.
  2223. If you want to print the GCC manuals, do 'cd OBJDIR; make dvi'. You
  2224. will need to have 'texi2dvi' (version at least 4.7) and TeX installed.
  2225. This creates a number of '.dvi' files in subdirectories of 'OBJDIR';
  2226. these may be converted for printing with programs such as 'dvips'.
  2227. Alternately, by using 'make pdf' in place of 'make dvi', you can create
  2228. documentation in the form of '.pdf' files; this requires 'texi2pdf',
  2229. which is included with Texinfo version 4.8 and later. You can also buy
  2230. printed manuals from the Free Software Foundation, though such manuals
  2231. may not be for the most recent version of GCC.
  2232. If you would like to generate online HTML documentation, do 'cd
  2233. OBJDIR; make html' and HTML will be generated for the gcc manuals in
  2234. 'OBJDIR/gcc/HTML'.
  2235. 
  2236. File: x86_64-linux-gnu-gccinstall.info, Node: Binaries, Next: Specific, Prev: Installing GCC, Up: Top
  2237. 8 Installing GCC: Binaries
  2238. **************************
  2239. We are often asked about pre-compiled versions of GCC. While we cannot
  2240. provide these for all platforms, below you'll find links to binaries for
  2241. various platforms where creating them by yourself is not easy due to
  2242. various reasons.
  2243. Please note that we did not create these binaries, nor do we support
  2244. them. If you have any problems installing them, please contact their
  2245. makers.
  2246. * AIX:
  2247. * Bull's Open Source Software Archive for for AIX 5L and AIX 6;
  2248. * AIX Open Source Packages (AIX5L AIX 6.1 AIX 7.1).
  2249. * DOS--DJGPP.
  2250. * HP-UX:
  2251. * HP-UX Porting Center;
  2252. * Solaris 2 (SPARC, Intel):
  2253. * OpenCSW
  2254. * TGCware
  2255. * macOS:
  2256. * The Homebrew package manager;
  2257. * MacPorts.
  2258. * Microsoft Windows:
  2259. * The Cygwin project;
  2260. * The MinGW and mingw-w64 projects.
  2261. * OpenPKG offers binaries for quite a number of platforms.
  2262. * The GFortran Wiki has links to GNU Fortran binaries for several
  2263. platforms.
  2264. 
  2265. File: x86_64-linux-gnu-gccinstall.info, Node: Specific, Next: Old, Prev: Binaries, Up: Top
  2266. 9 Host/target specific installation notes for GCC
  2267. *************************************************
  2268. Please read this document carefully _before_ installing the GNU Compiler
  2269. Collection on your machine.
  2270. Note that this list of install notes is _not_ a list of supported
  2271. hosts or targets. Not all supported hosts and targets are listed here,
  2272. only the ones that require host-specific or target-specific information
  2273. have to.
  2274. aarch64*-*-*
  2275. ============
  2276. Binutils pre 2.24 does not have support for selecting '-mabi' and does
  2277. not support ILP32. If it is used to build GCC 4.9 or later, GCC will
  2278. not support option '-mabi=ilp32'.
  2279. To enable a workaround for the Cortex-A53 erratum number 835769 by
  2280. default (for all CPUs regardless of -mcpu option given) at configure
  2281. time use the '--enable-fix-cortex-a53-835769' option. This will enable
  2282. the fix by default and can be explicitly disabled during compilation by
  2283. passing the '-mno-fix-cortex-a53-835769' option. Conversely,
  2284. '--disable-fix-cortex-a53-835769' will disable the workaround by
  2285. default. The workaround is disabled by default if neither of
  2286. '--enable-fix-cortex-a53-835769' or '--disable-fix-cortex-a53-835769' is
  2287. given at configure time.
  2288. To enable a workaround for the Cortex-A53 erratum number 843419 by
  2289. default (for all CPUs regardless of -mcpu option given) at configure
  2290. time use the '--enable-fix-cortex-a53-843419' option. This workaround
  2291. is applied at link time. Enabling the workaround will cause GCC to pass
  2292. the relevant option to the linker. It can be explicitly disabled during
  2293. compilation by passing the '-mno-fix-cortex-a53-843419' option.
  2294. Conversely, '--disable-fix-cortex-a53-843419' will disable the
  2295. workaround by default. The workaround is disabled by default if neither
  2296. of '--enable-fix-cortex-a53-843419' or '--disable-fix-cortex-a53-843419'
  2297. is given at configure time.
  2298. To enable Branch Target Identification Mechanism and Return Address
  2299. Signing by default at configure time use the
  2300. '--enable-standard-branch-protection' option. This is equivalent to
  2301. having '-mbranch-protection=standard' during compilation. This can be
  2302. explicitly disabled during compilation by passing the
  2303. '-mbranch-protection=none' option which turns off all types of branch
  2304. protections. Conversely, '--disable-standard-branch-protection' will
  2305. disable both the protections by default. This mechanism is turned off
  2306. by default if neither of the options are given at configure time.
  2307. alpha*-*-*
  2308. ==========
  2309. This section contains general configuration information for all
  2310. Alpha-based platforms using ELF. In addition to reading this section,
  2311. please read all other sections that match your target.
  2312. We require binutils 2.11.2 or newer. Previous binutils releases had
  2313. a number of problems with DWARF 2 debugging information, not the least
  2314. of which is incorrect linking of shared libraries.
  2315. amd64-*-solaris2.1[0-9]*
  2316. ========================
  2317. This is a synonym for 'x86_64-*-solaris2.1[0-9]*'.
  2318. amdgcn-unknown-amdhsa
  2319. =====================
  2320. AMD GCN GPU target.
  2321. Instead of GNU Binutils, you will need to install LLVM 6, or later,
  2322. and copy 'bin/llvm-mc' to 'amdgcn-unknown-amdhsa/bin/as', 'bin/lld' to
  2323. 'amdgcn-unknown-amdhsa/bin/ld', 'bin/llvm-nm' to
  2324. 'amdgcn-unknown-amdhsa/bin/nm', and 'bin/llvm-ar' to both
  2325. 'bin/amdgcn-unknown-amdhsa-ar' and 'bin/amdgcn-unknown-amdhsa-ranlib'.
  2326. Use Newlib (2019-01-16, or newer).
  2327. To run the binaries, install the HSA Runtime from the ROCm Platform,
  2328. and use 'libexec/gcc/amdhsa-unknown-amdhsa/VERSION/gcn-run' to launch
  2329. them on the GPU.
  2330. arc-*-elf32
  2331. ===========
  2332. Use 'configure --target=arc-elf32 --with-cpu=CPU
  2333. --enable-languages="c,c++"' to configure GCC, with CPU being one of
  2334. 'arc600', 'arc601', or 'arc700'.
  2335. arc-linux-uclibc
  2336. ================
  2337. Use 'configure --target=arc-linux-uclibc --with-cpu=arc700
  2338. --enable-languages="c,c++"' to configure GCC.
  2339. arm-*-eabi
  2340. ==========
  2341. ARM-family processors.
  2342. Building the Ada frontend commonly fails (an infinite loop executing
  2343. 'xsinfo') if the host compiler is GNAT 4.8. Host compilers built from
  2344. the GNAT 4.6, 4.9 or 5 release branches are known to succeed.
  2345. avr
  2346. ===
  2347. ATMEL AVR-family micro controllers. These are used in embedded
  2348. applications. There are no standard Unix configurations. *Note AVR
  2349. Options: (gcc)AVR Options, for the list of supported MCU types.
  2350. Use 'configure --target=avr --enable-languages="c"' to configure GCC.
  2351. Further installation notes and other useful information about AVR
  2352. tools can also be obtained from:
  2353. * http://www.nongnu.org/avr/
  2354. * http://www.amelek.gda.pl/avr/
  2355. The following error:
  2356. Error: register required
  2357. indicates that you should upgrade to a newer version of the binutils.
  2358. Blackfin
  2359. ========
  2360. The Blackfin processor, an Analog Devices DSP. *Note Blackfin Options:
  2361. (gcc)Blackfin Options,
  2362. More information, and a version of binutils with support for this
  2363. processor, is available at <https://blackfin.uclinux.org>
  2364. CR16
  2365. ====
  2366. The CR16 CompactRISC architecture is a 16-bit architecture. This
  2367. architecture is used in embedded applications.
  2368. *Note CR16 Options: (gcc)CR16 Options,
  2369. Use 'configure --target=cr16-elf --enable-languages=c,c++' to
  2370. configure GCC for building a CR16 elf cross-compiler.
  2371. Use 'configure --target=cr16-uclinux --enable-languages=c,c++' to
  2372. configure GCC for building a CR16 uclinux cross-compiler.
  2373. CRIS
  2374. ====
  2375. CRIS is the CPU architecture in Axis Communications ETRAX
  2376. system-on-a-chip series. These are used in embedded applications.
  2377. *Note CRIS Options: (gcc)CRIS Options, for a list of CRIS-specific
  2378. options.
  2379. There are a few different CRIS targets:
  2380. 'cris-axis-elf'
  2381. Mainly for monolithic embedded systems. Includes a multilib for
  2382. the 'v10' core used in 'ETRAX 100 LX'.
  2383. 'cris-axis-linux-gnu'
  2384. A GNU/Linux port for the CRIS architecture, currently targeting
  2385. 'ETRAX 100 LX' by default.
  2386. Pre-packaged tools can be obtained from
  2387. <ftp://ftp.axis.com/pub/axis/tools/cris/compiler-kit/>. More
  2388. information about this platform is available at
  2389. <http://developer.axis.com/>.
  2390. DOS
  2391. ===
  2392. Please have a look at the binaries page.
  2393. You cannot install GCC by itself on MSDOS; it will not compile under
  2394. any MSDOS compiler except itself. You need to get the complete
  2395. compilation package DJGPP, which includes binaries as well as sources,
  2396. and includes all the necessary compilation tools and libraries.
  2397. epiphany-*-elf
  2398. ==============
  2399. Adapteva Epiphany. This configuration is intended for embedded systems.
  2400. *-*-freebsd*
  2401. ============
  2402. Support for FreeBSD 1 was discontinued in GCC 3.2. Support for FreeBSD
  2403. 2 (and any mutant a.out variants of FreeBSD 3) was discontinued in GCC
  2404. 4.0.
  2405. In order to better utilize FreeBSD base system functionality and
  2406. match the configuration of the system compiler, GCC 4.5 and above as
  2407. well as GCC 4.4 past 2010-06-20 leverage SSP support in libc (which is
  2408. present on FreeBSD 7 or later) and the use of '__cxa_atexit' by default
  2409. (on FreeBSD 6 or later). The use of 'dl_iterate_phdr' inside
  2410. 'libgcc_s.so.1' and boehm-gc (on FreeBSD 7 or later) is enabled by GCC
  2411. 4.5 and above.
  2412. We support FreeBSD using the ELF file format with DWARF 2 debugging
  2413. for all CPU architectures. You may use '-gstabs' instead of '-g', if
  2414. you really want the old debugging format. There are no known issues
  2415. with mixing object files and libraries with different debugging formats.
  2416. Otherwise, this release of GCC should now match more of the
  2417. configuration used in the stock FreeBSD configuration of GCC. In
  2418. particular, '--enable-threads' is now configured by default. However,
  2419. as a general user, do not attempt to replace the system compiler with
  2420. this release. Known to bootstrap and check with good results on FreeBSD
  2421. 7.2-STABLE. In the past, known to bootstrap and check with good results
  2422. on FreeBSD 3.0, 3.4, 4.0, 4.2, 4.3, 4.4, 4.5, 4.8, 4.9 and 5-CURRENT.
  2423. The version of binutils installed in '/usr/bin' probably works with
  2424. this release of GCC. Bootstrapping against the latest GNU binutils
  2425. and/or the version found in '/usr/ports/devel/binutils' has been known
  2426. to enable additional features and improve overall testsuite results.
  2427. However, it is currently known that boehm-gc may not configure properly
  2428. on FreeBSD prior to the FreeBSD 7.0 release with GNU binutils after
  2429. 2.16.1.
  2430. ft32-*-elf
  2431. ==========
  2432. The FT32 processor. This configuration is intended for embedded
  2433. systems.
  2434. h8300-hms
  2435. =========
  2436. Renesas H8/300 series of processors.
  2437. Please have a look at the binaries page.
  2438. The calling convention and structure layout has changed in release
  2439. 2.6. All code must be recompiled. The calling convention now passes
  2440. the first three arguments in function calls in registers. Structures
  2441. are no longer a multiple of 2 bytes.
  2442. hppa*-hp-hpux*
  2443. ==============
  2444. Support for HP-UX version 9 and older was discontinued in GCC 3.4.
  2445. We require using gas/binutils on all hppa platforms. Version 2.19 or
  2446. later is recommended.
  2447. It may be helpful to configure GCC with the '--with-gnu-as' and
  2448. '--with-as=...' options to ensure that GCC can find GAS.
  2449. The HP assembler should not be used with GCC. It is rarely tested and
  2450. may not work. It shouldn't be used with any languages other than C due
  2451. to its many limitations.
  2452. Specifically, '-g' does not work (HP-UX uses a peculiar debugging
  2453. format which GCC does not know about). It also inserts timestamps into
  2454. each object file it creates, causing the 3-stage comparison test to fail
  2455. during a bootstrap. You should be able to continue by saying 'make
  2456. all-host all-target' after getting the failure from 'make'.
  2457. Various GCC features are not supported. For example, it does not
  2458. support weak symbols or alias definitions. As a result, explicit
  2459. template instantiations are required when using C++. This makes it
  2460. difficult if not impossible to build many C++ applications.
  2461. There are two default scheduling models for instructions. These are
  2462. PROCESSOR_7100LC and PROCESSOR_8000. They are selected from the pa-risc
  2463. architecture specified for the target machine when configuring.
  2464. PROCESSOR_8000 is the default. PROCESSOR_7100LC is selected when the
  2465. target is a 'hppa1*' machine.
  2466. The PROCESSOR_8000 model is not well suited to older processors.
  2467. Thus, it is important to completely specify the machine architecture
  2468. when configuring if you want a model other than PROCESSOR_8000. The
  2469. macro TARGET_SCHED_DEFAULT can be defined in BOOT_CFLAGS if a different
  2470. default scheduling model is desired.
  2471. As of GCC 4.0, GCC uses the UNIX 95 namespace for HP-UX 10.10 through
  2472. 11.00, and the UNIX 98 namespace for HP-UX 11.11 and later. This
  2473. namespace change might cause problems when bootstrapping with an earlier
  2474. version of GCC or the HP compiler as essentially the same namespace is
  2475. required for an entire build. This problem can be avoided in a number
  2476. of ways. With HP cc, 'UNIX_STD' can be set to '95' or '98'. Another
  2477. way is to add an appropriate set of predefines to 'CC'. The description
  2478. for the 'munix=' option contains a list of the predefines used with each
  2479. standard.
  2480. More specific information to 'hppa*-hp-hpux*' targets follows.
  2481. hppa*-hp-hpux10
  2482. ===============
  2483. For hpux10.20, we _highly_ recommend you pick up the latest sed patch
  2484. 'PHCO_19798' from HP.
  2485. The C++ ABI has changed incompatibly in GCC 4.0. COMDAT subspaces
  2486. are used for one-only code and data. This resolves many of the previous
  2487. problems in using C++ on this target. However, the ABI is not
  2488. compatible with the one implemented under HP-UX 11 using secondary
  2489. definitions.
  2490. hppa*-hp-hpux11
  2491. ===============
  2492. GCC 3.0 and up support HP-UX 11. GCC 2.95.x is not supported and cannot
  2493. be used to compile GCC 3.0 and up.
  2494. The libffi library haven't been ported to 64-bit HP-UX and doesn't
  2495. build.
  2496. Refer to binaries for information about obtaining precompiled GCC
  2497. binaries for HP-UX. Precompiled binaries must be obtained to build the
  2498. Ada language as it cannot be bootstrapped using C. Ada is only
  2499. available for the 32-bit PA-RISC runtime.
  2500. Starting with GCC 3.4 an ISO C compiler is required to bootstrap.
  2501. The bundled compiler supports only traditional C; you will need either
  2502. HP's unbundled compiler, or a binary distribution of GCC.
  2503. It is possible to build GCC 3.3 starting with the bundled HP
  2504. compiler, but the process requires several steps. GCC 3.3 can then be
  2505. used to build later versions.
  2506. There are several possible approaches to building the distribution.
  2507. Binutils can be built first using the HP tools. Then, the GCC
  2508. distribution can be built. The second approach is to build GCC first
  2509. using the HP tools, then build binutils, then rebuild GCC. There have
  2510. been problems with various binary distributions, so it is best not to
  2511. start from a binary distribution.
  2512. On 64-bit capable systems, there are two distinct targets. Different
  2513. installation prefixes must be used if both are to be installed on the
  2514. same system. The 'hppa[1-2]*-hp-hpux11*' target generates code for the
  2515. 32-bit PA-RISC runtime architecture and uses the HP linker. The
  2516. 'hppa64-hp-hpux11*' target generates 64-bit code for the PA-RISC 2.0
  2517. architecture.
  2518. The script config.guess now selects the target type based on the
  2519. compiler detected during configuration. You must define 'PATH' or 'CC'
  2520. so that configure finds an appropriate compiler for the initial
  2521. bootstrap. When 'CC' is used, the definition should contain the options
  2522. that are needed whenever 'CC' is used.
  2523. Specifically, options that determine the runtime architecture must be
  2524. in 'CC' to correctly select the target for the build. It is also
  2525. convenient to place many other compiler options in 'CC'. For example,
  2526. 'CC="cc -Ac +DA2.0W -Wp,-H16376 -D_CLASSIC_TYPES -D_HPUX_SOURCE"' can be
  2527. used to bootstrap the GCC 3.3 branch with the HP compiler in 64-bit
  2528. K&R/bundled mode. The '+DA2.0W' option will result in the automatic
  2529. selection of the 'hppa64-hp-hpux11*' target. The macro definition table
  2530. of cpp needs to be increased for a successful build with the HP
  2531. compiler. _CLASSIC_TYPES and _HPUX_SOURCE need to be defined when
  2532. building with the bundled compiler, or when using the '-Ac' option.
  2533. These defines aren't necessary with '-Ae'.
  2534. It is best to explicitly configure the 'hppa64-hp-hpux11*' target
  2535. with the '--with-ld=...' option. This overrides the standard search for
  2536. ld. The two linkers supported on this target require different
  2537. commands. The default linker is determined during configuration. As a
  2538. result, it's not possible to switch linkers in the middle of a GCC
  2539. build. This has been reported to sometimes occur in unified builds of
  2540. binutils and GCC.
  2541. A recent linker patch must be installed for the correct operation of
  2542. GCC 3.3 and later. 'PHSS_26559' and 'PHSS_24304' are the oldest linker
  2543. patches that are known to work. They are for HP-UX 11.00 and 11.11,
  2544. respectively. 'PHSS_24303', the companion to 'PHSS_24304', might be
  2545. usable but it hasn't been tested. These patches have been superseded.
  2546. Consult the HP patch database to obtain the currently recommended linker
  2547. patch for your system.
  2548. The patches are necessary for the support of weak symbols on the
  2549. 32-bit port, and for the running of initializers and finalizers. Weak
  2550. symbols are implemented using SOM secondary definition symbols. Prior
  2551. to HP-UX 11, there are bugs in the linker support for secondary symbols.
  2552. The patches correct a problem of linker core dumps creating shared
  2553. libraries containing secondary symbols, as well as various other linking
  2554. issues involving secondary symbols.
  2555. GCC 3.3 uses the ELF DT_INIT_ARRAY and DT_FINI_ARRAY capabilities to
  2556. run initializers and finalizers on the 64-bit port. The 32-bit port
  2557. uses the linker '+init' and '+fini' options for the same purpose. The
  2558. patches correct various problems with the +init/+fini options, including
  2559. program core dumps. Binutils 2.14 corrects a problem on the 64-bit port
  2560. resulting from HP's non-standard use of the .init and .fini sections for
  2561. array initializers and finalizers.
  2562. Although the HP and GNU linkers are both supported for the
  2563. 'hppa64-hp-hpux11*' target, it is strongly recommended that the HP
  2564. linker be used for link editing on this target.
  2565. At this time, the GNU linker does not support the creation of long
  2566. branch stubs. As a result, it cannot successfully link binaries
  2567. containing branch offsets larger than 8 megabytes. In addition, there
  2568. are problems linking shared libraries, linking executables with
  2569. '-static', and with dwarf2 unwind and exception support. It also
  2570. doesn't provide stubs for internal calls to global functions in shared
  2571. libraries, so these calls cannot be overloaded.
  2572. The HP dynamic loader does not support GNU symbol versioning, so
  2573. symbol versioning is not supported. It may be necessary to disable
  2574. symbol versioning with '--disable-symvers' when using GNU ld.
  2575. POSIX threads are the default. The optional DCE thread library is
  2576. not supported, so '--enable-threads=dce' does not work.
  2577. *-*-linux-gnu
  2578. =============
  2579. Versions of libstdc++-v3 starting with 3.2.1 require bug fixes present
  2580. in glibc 2.2.5 and later. More information is available in the
  2581. libstdc++-v3 documentation.
  2582. i?86-*-linux*
  2583. =============
  2584. As of GCC 3.3, binutils 2.13.1 or later is required for this platform.
  2585. See bug 10877 for more information.
  2586. If you receive Signal 11 errors when building on GNU/Linux, then it
  2587. is possible you have a hardware problem. Further information on this
  2588. can be found on www.bitwizard.nl.
  2589. i?86-*-solaris2.10
  2590. ==================
  2591. Use this for Solaris 10 or later on x86 and x86-64 systems. Starting
  2592. with GCC 4.7, there is also a 64-bit 'amd64-*-solaris2.1[0-9]*' or
  2593. 'x86_64-*-solaris2.1[0-9]*' configuration that corresponds to
  2594. 'sparcv9-sun-solaris2*'.
  2595. It is recommended that you configure GCC to use the GNU assembler.
  2596. The versions included in Solaris 10, from GNU binutils 2.15 (in
  2597. '/usr/sfw/bin/gas'), and Solaris 11, from GNU binutils 2.19 or newer
  2598. (also available as '/usr/bin/gas' and '/usr/gnu/bin/as'), work fine.
  2599. The current version, from GNU binutils 2.29, is known to work, but the
  2600. version from GNU binutils 2.26 must be avoided. Recent versions of the
  2601. Solaris assembler in '/usr/ccs/bin/as' work almost as well, though.
  2602. For linking, the Solaris linker, is preferred. If you want to use
  2603. the GNU linker instead, note that due to a packaging bug the version in
  2604. Solaris 10, from GNU binutils 2.15 (in '/usr/sfw/bin/gld'), cannot be
  2605. used, while the version in Solaris 11, from GNU binutils 2.19 or newer
  2606. (also in '/usr/gnu/bin/ld' and '/usr/bin/gld'), works, as does the
  2607. latest version, from GNU binutils 2.29.
  2608. To use GNU 'as', configure with the options '--with-gnu-as
  2609. --with-as=/usr/sfw/bin/gas'. It may be necessary to configure with
  2610. '--without-gnu-ld --with-ld=/usr/ccs/bin/ld' to guarantee use of Sun
  2611. 'ld'.
  2612. ia64-*-linux
  2613. ============
  2614. IA-64 processor (also known as IPF, or Itanium Processor Family) running
  2615. GNU/Linux.
  2616. If you are using the installed system libunwind library with
  2617. '--with-system-libunwind', then you must use libunwind 0.98 or later.
  2618. None of the following versions of GCC has an ABI that is compatible
  2619. with any of the other versions in this list, with the exception that Red
  2620. Hat 2.96 and Trillian 000171 are compatible with each other: 3.1, 3.0.2,
  2621. 3.0.1, 3.0, Red Hat 2.96, and Trillian 000717. This primarily affects
  2622. C++ programs and programs that create shared libraries. GCC 3.1 or
  2623. later is recommended for compiling linux, the kernel. As of version 3.1
  2624. GCC is believed to be fully ABI compliant, and hence no more major ABI
  2625. changes are expected.
  2626. ia64-*-hpux*
  2627. ============
  2628. Building GCC on this target requires the GNU Assembler. The bundled HP
  2629. assembler will not work. To prevent GCC from using the wrong assembler,
  2630. the option '--with-gnu-as' may be necessary.
  2631. The GCC libunwind library has not been ported to HPUX. This means
  2632. that for GCC versions 3.2.3 and earlier, '--enable-libunwind-exceptions'
  2633. is required to build GCC. For GCC 3.3 and later, this is the default.
  2634. For gcc 3.4.3 and later, '--enable-libunwind-exceptions' is removed and
  2635. the system libunwind library will always be used.
  2636. *-ibm-aix*
  2637. ==========
  2638. Support for AIX version 3 and older was discontinued in GCC 3.4.
  2639. Support for AIX version 4.2 and older was discontinued in GCC 4.5.
  2640. "out of memory" bootstrap failures may indicate a problem with
  2641. process resource limits (ulimit). Hard limits are configured in the
  2642. '/etc/security/limits' system configuration file.
  2643. GCC 4.9 and above require a C++ compiler for bootstrap. IBM VAC++ /
  2644. xlC cannot bootstrap GCC. xlc can bootstrap an older version of GCC and
  2645. G++ can bootstrap recent releases of GCC.
  2646. GCC can bootstrap with recent versions of IBM XLC, but bootstrapping
  2647. with an earlier release of GCC is recommended. Bootstrapping with XLC
  2648. requires a larger data segment, which can be enabled through the
  2649. LDR_CNTRL environment variable, e.g.,
  2650. % LDR_CNTRL=MAXDATA=0x50000000
  2651. % export LDR_CNTRL
  2652. One can start with a pre-compiled version of GCC to build from
  2653. sources. One may delete GCC's "fixed" header files when starting with a
  2654. version of GCC built for an earlier release of AIX.
  2655. To speed up the configuration phases of bootstrapping and installing
  2656. GCC, one may use GNU Bash instead of AIX '/bin/sh', e.g.,
  2657. % CONFIG_SHELL=/opt/freeware/bin/bash
  2658. % export CONFIG_SHELL
  2659. and then proceed as described in the build instructions, where we
  2660. strongly recommend specifying an absolute path to invoke
  2661. SRCDIR/configure.
  2662. Because GCC on AIX is built as a 32-bit executable by default,
  2663. (although it can generate 64-bit programs) the GMP and MPFR libraries
  2664. required by gfortran must be 32-bit libraries. Building GMP and MPFR as
  2665. static archive libraries works better than shared libraries.
  2666. Errors involving 'alloca' when building GCC generally are due to an
  2667. incorrect definition of 'CC' in the Makefile or mixing files compiled
  2668. with the native C compiler and GCC. During the stage1 phase of the
  2669. build, the native AIX compiler *must* be invoked as 'cc' (not 'xlc').
  2670. Once 'configure' has been informed of 'xlc', one needs to use 'make
  2671. distclean' to remove the configure cache files and ensure that 'CC'
  2672. environment variable does not provide a definition that will confuse
  2673. 'configure'. If this error occurs during stage2 or later, then the
  2674. problem most likely is the version of Make (see above).
  2675. The native 'as' and 'ld' are recommended for bootstrapping on AIX.
  2676. The GNU Assembler, GNU Linker, and GNU Binutils version 2.20 is the
  2677. minimum level that supports bootstrap on AIX 5. The GNU Assembler has
  2678. not been updated to support AIX 6 or AIX 7. The native AIX tools do
  2679. interoperate with GCC.
  2680. AIX 7.1 added partial support for DWARF debugging, but full support
  2681. requires AIX 7.1 TL03 SP7 that supports additional DWARF sections and
  2682. fixes a bug in the assembler. AIX 7.1 TL03 SP5 distributed a version of
  2683. libm.a missing important symbols; a fix for IV77796 will be included in
  2684. SP6.
  2685. AIX 5.3 TL10, AIX 6.1 TL05 and AIX 7.1 TL00 introduced an AIX
  2686. assembler change that sometimes produces corrupt assembly files causing
  2687. AIX linker errors. The bug breaks GCC bootstrap on AIX and can cause
  2688. compilation failures with existing GCC installations. An AIX iFix for
  2689. AIX 5.3 is available (APAR IZ98385 for AIX 5.3 TL10, APAR IZ98477 for
  2690. AIX 5.3 TL11 and IZ98134 for AIX 5.3 TL12). AIX 5.3 TL11 SP8, AIX 5.3
  2691. TL12 SP5, AIX 6.1 TL04 SP11, AIX 6.1 TL05 SP7, AIX 6.1 TL06 SP6, AIX 6.1
  2692. TL07 and AIX 7.1 TL01 should include the fix.
  2693. Building 'libstdc++.a' requires a fix for an AIX Assembler bug APAR
  2694. IY26685 (AIX 4.3) or APAR IY25528 (AIX 5.1). It also requires a fix for
  2695. another AIX Assembler bug and a co-dependent AIX Archiver fix referenced
  2696. as APAR IY53606 (AIX 5.2) or as APAR IY54774 (AIX 5.1)
  2697. 'libstdc++' in GCC 3.4 increments the major version number of the
  2698. shared object and GCC installation places the 'libstdc++.a' shared
  2699. library in a common location which will overwrite the and GCC 3.3
  2700. version of the shared library. Applications either need to be re-linked
  2701. against the new shared library or the GCC 3.1 and GCC 3.3 versions of
  2702. the 'libstdc++' shared object needs to be available to the AIX runtime
  2703. loader. The GCC 3.1 'libstdc++.so.4', if present, and GCC 3.3
  2704. 'libstdc++.so.5' shared objects can be installed for runtime dynamic
  2705. loading using the following steps to set the 'F_LOADONLY' flag in the
  2706. shared object for _each_ multilib 'libstdc++.a' installed:
  2707. Extract the shared objects from the currently installed 'libstdc++.a'
  2708. archive:
  2709. % ar -x libstdc++.a libstdc++.so.4 libstdc++.so.5
  2710. Enable the 'F_LOADONLY' flag so that the shared object will be
  2711. available for runtime dynamic loading, but not linking:
  2712. % strip -e libstdc++.so.4 libstdc++.so.5
  2713. Archive the runtime-only shared object in the GCC 3.4 'libstdc++.a'
  2714. archive:
  2715. % ar -q libstdc++.a libstdc++.so.4 libstdc++.so.5
  2716. Eventually, the '--with-aix-soname=svr4' configure option may drop
  2717. the need for this procedure for libraries that support it.
  2718. Linking executables and shared libraries may produce warnings of
  2719. duplicate symbols. The assembly files generated by GCC for AIX always
  2720. have included multiple symbol definitions for certain global variable
  2721. and function declarations in the original program. The warnings should
  2722. not prevent the linker from producing a correct library or runnable
  2723. executable.
  2724. AIX 4.3 utilizes a "large format" archive to support both 32-bit and
  2725. 64-bit object modules. The routines provided in AIX 4.3.0 and AIX 4.3.1
  2726. to parse archive libraries did not handle the new format correctly.
  2727. These routines are used by GCC and result in error messages during
  2728. linking such as "not a COFF file". The version of the routines shipped
  2729. with AIX 4.3.1 should work for a 32-bit environment. The '-g' option of
  2730. the archive command may be used to create archives of 32-bit objects
  2731. using the original "small format". A correct version of the routines is
  2732. shipped with AIX 4.3.2 and above.
  2733. Some versions of the AIX binder (linker) can fail with a relocation
  2734. overflow severe error when the '-bbigtoc' option is used to link
  2735. GCC-produced object files into an executable that overflows the TOC. A
  2736. fix for APAR IX75823 (OVERFLOW DURING LINK WHEN USING GCC AND -BBIGTOC)
  2737. is available from IBM Customer Support and from its
  2738. techsupport.services.ibm.com website as PTF U455193.
  2739. The AIX 4.3.2.1 linker (bos.rte.bind_cmds Level 4.3.2.1) will dump
  2740. core with a segmentation fault when invoked by any version of GCC. A
  2741. fix for APAR IX87327 is available from IBM Customer Support and from its
  2742. techsupport.services.ibm.com website as PTF U461879. This fix is
  2743. incorporated in AIX 4.3.3 and above.
  2744. The initial assembler shipped with AIX 4.3.0 generates incorrect
  2745. object files. A fix for APAR IX74254 (64BIT DISASSEMBLED OUTPUT FROM
  2746. COMPILER FAILS TO ASSEMBLE/BIND) is available from IBM Customer Support
  2747. and from its techsupport.services.ibm.com website as PTF U453956. This
  2748. fix is incorporated in AIX 4.3.1 and above.
  2749. AIX provides National Language Support (NLS). Compilers and
  2750. assemblers use NLS to support locale-specific representations of various
  2751. data formats including floating-point numbers (e.g., '.' vs ',' for
  2752. separating decimal fractions). There have been problems reported where
  2753. GCC does not produce the same floating-point formats that the assembler
  2754. expects. If one encounters this problem, set the 'LANG' environment
  2755. variable to 'C' or 'En_US'.
  2756. A default can be specified with the '-mcpu=CPU_TYPE' switch and using
  2757. the configure option '--with-cpu-CPU_TYPE'.
  2758. iq2000-*-elf
  2759. ============
  2760. Vitesse IQ2000 processors. These are used in embedded applications.
  2761. There are no standard Unix configurations.
  2762. lm32-*-elf
  2763. ==========
  2764. Lattice Mico32 processor. This configuration is intended for embedded
  2765. systems.
  2766. lm32-*-uclinux
  2767. ==============
  2768. Lattice Mico32 processor. This configuration is intended for embedded
  2769. systems running uClinux.
  2770. m32c-*-elf
  2771. ==========
  2772. Renesas M32C processor. This configuration is intended for embedded
  2773. systems.
  2774. m32r-*-elf
  2775. ==========
  2776. Renesas M32R processor. This configuration is intended for embedded
  2777. systems.
  2778. m68k-*-*
  2779. ========
  2780. By default, 'm68k-*-elf*', 'm68k-*-rtems', 'm68k-*-uclinux' and
  2781. 'm68k-*-linux' build libraries for both M680x0 and ColdFire processors.
  2782. If you only need the M680x0 libraries, you can omit the ColdFire ones by
  2783. passing '--with-arch=m68k' to 'configure'. Alternatively, you can omit
  2784. the M680x0 libraries by passing '--with-arch=cf' to 'configure'. These
  2785. targets default to 5206 or 5475 code as appropriate for the target
  2786. system when configured with '--with-arch=cf' and 68020 code otherwise.
  2787. The 'm68k-*-netbsd' and 'm68k-*-openbsd' targets also support the
  2788. '--with-arch' option. They will generate ColdFire CFV4e code when
  2789. configured with '--with-arch=cf' and 68020 code otherwise.
  2790. You can override the default processors listed above by configuring
  2791. with '--with-cpu=TARGET'. This TARGET can either be a '-mcpu' argument
  2792. or one of the following values: 'm68000', 'm68010', 'm68020', 'm68030',
  2793. 'm68040', 'm68060', 'm68020-40' and 'm68020-60'.
  2794. GCC requires at least binutils version 2.17 on these targets.
  2795. m68k-*-uclinux
  2796. ==============
  2797. GCC 4.3 changed the uClinux configuration so that it uses the
  2798. 'm68k-linux-gnu' ABI rather than the 'm68k-elf' ABI. It also added
  2799. improved support for C++ and flat shared libraries, both of which were
  2800. ABI changes.
  2801. microblaze-*-elf
  2802. ================
  2803. Xilinx MicroBlaze processor. This configuration is intended for
  2804. embedded systems.
  2805. mips-*-*
  2806. ========
  2807. If on a MIPS system you get an error message saying "does not have gp
  2808. sections for all it's [sic] sectons [sic]", don't worry about it. This
  2809. happens whenever you use GAS with the MIPS linker, but there is not
  2810. really anything wrong, and it is okay to use the output file. You can
  2811. stop such warnings by installing the GNU linker.
  2812. It would be nice to extend GAS to produce the gp tables, but they are
  2813. optional, and there should not be a warning about their absence.
  2814. The libstdc++ atomic locking routines for MIPS targets requires MIPS
  2815. II and later. A patch went in just after the GCC 3.3 release to make
  2816. 'mips*-*-*' use the generic implementation instead. You can also
  2817. configure for 'mipsel-elf' as a workaround. The 'mips*-*-linux*' target
  2818. continues to use the MIPS II routines. More work on this is expected in
  2819. future releases.
  2820. The built-in '__sync_*' functions are available on MIPS II and later
  2821. systems and others that support the 'll', 'sc' and 'sync' instructions.
  2822. This can be overridden by passing '--with-llsc' or '--without-llsc' when
  2823. configuring GCC. Since the Linux kernel emulates these instructions if
  2824. they are missing, the default for 'mips*-*-linux*' targets is
  2825. '--with-llsc'. The '--with-llsc' and '--without-llsc' configure options
  2826. may be overridden at compile time by passing the '-mllsc' or '-mno-llsc'
  2827. options to the compiler.
  2828. MIPS systems check for division by zero (unless
  2829. '-mno-check-zero-division' is passed to the compiler) by generating
  2830. either a conditional trap or a break instruction. Using trap results in
  2831. smaller code, but is only supported on MIPS II and later. Also, some
  2832. versions of the Linux kernel have a bug that prevents trap from
  2833. generating the proper signal ('SIGFPE'). To enable the use of break,
  2834. use the '--with-divide=breaks' 'configure' option when configuring GCC.
  2835. The default is to use traps on systems that support them.
  2836. moxie-*-elf
  2837. ===========
  2838. The moxie processor.
  2839. msp430-*-elf
  2840. ============
  2841. TI MSP430 processor. This configuration is intended for embedded
  2842. systems.
  2843. nds32le-*-elf
  2844. =============
  2845. Andes NDS32 target in little endian mode.
  2846. nds32be-*-elf
  2847. =============
  2848. Andes NDS32 target in big endian mode.
  2849. nvptx-*-none
  2850. ============
  2851. Nvidia PTX target.
  2852. Instead of GNU binutils, you will need to install nvptx-tools. Tell
  2853. GCC where to find it:
  2854. '--with-build-time-tools=[install-nvptx-tools]/nvptx-none/bin'.
  2855. You will need newlib 3.0 git revision
  2856. cd31fbb2aea25f94d7ecedc9db16dfc87ab0c316 or later. It can be
  2857. automatically built together with GCC. For this, add a symbolic link to
  2858. nvptx-newlib's 'newlib' directory to the directory containing the GCC
  2859. sources.
  2860. Use the '--disable-sjlj-exceptions' and
  2861. '--enable-newlib-io-long-long' options when configuring.
  2862. or1k-*-elf
  2863. ==========
  2864. The OpenRISC 1000 32-bit processor with delay slots. This configuration
  2865. is intended for embedded systems.
  2866. or1k-*-linux
  2867. ============
  2868. The OpenRISC 1000 32-bit processor with delay slots.
  2869. powerpc-*-*
  2870. ===========
  2871. You can specify a default version for the '-mcpu=CPU_TYPE' switch by
  2872. using the configure option '--with-cpu-CPU_TYPE'.
  2873. You will need GNU binutils 2.15 or newer.
  2874. powerpc-*-darwin*
  2875. =================
  2876. PowerPC running Darwin (Mac OS X kernel).
  2877. Pre-installed versions of Mac OS X may not include any developer
  2878. tools, meaning that you will not be able to build GCC from source. Tool
  2879. binaries are available at <https://opensource.apple.com>.
  2880. This version of GCC requires at least cctools-590.36. The
  2881. cctools-590.36 package referenced from
  2882. <http://gcc.gnu.org/ml/gcc/2006-03/msg00507.html> will not work on
  2883. systems older than 10.3.9 (aka darwin7.9.0).
  2884. powerpc-*-elf
  2885. =============
  2886. PowerPC system in big endian mode, running System V.4.
  2887. powerpc*-*-linux-gnu*
  2888. =====================
  2889. PowerPC system in big endian mode running Linux.
  2890. powerpc-*-netbsd*
  2891. =================
  2892. PowerPC system in big endian mode running NetBSD.
  2893. powerpc-*-eabisim
  2894. =================
  2895. Embedded PowerPC system in big endian mode for use in running under the
  2896. PSIM simulator.
  2897. powerpc-*-eabi
  2898. ==============
  2899. Embedded PowerPC system in big endian mode.
  2900. powerpcle-*-elf
  2901. ===============
  2902. PowerPC system in little endian mode, running System V.4.
  2903. powerpcle-*-eabisim
  2904. ===================
  2905. Embedded PowerPC system in little endian mode for use in running under
  2906. the PSIM simulator.
  2907. powerpcle-*-eabi
  2908. ================
  2909. Embedded PowerPC system in little endian mode.
  2910. rl78-*-elf
  2911. ==========
  2912. The Renesas RL78 processor. This configuration is intended for embedded
  2913. systems.
  2914. riscv32-*-elf
  2915. =============
  2916. The RISC-V RV32 instruction set. This configuration is intended for
  2917. embedded systems. This (and all other RISC-V) targets are supported
  2918. upstream as of the binutils 2.28 release.
  2919. riscv32-*-linux
  2920. ===============
  2921. The RISC-V RV32 instruction set running GNU/Linux. This (and all other
  2922. RISC-V) targets are supported upstream as of the binutils 2.28 release.
  2923. riscv64-*-elf
  2924. =============
  2925. The RISC-V RV64 instruction set. This configuration is intended for
  2926. embedded systems. This (and all other RISC-V) targets are supported
  2927. upstream as of the binutils 2.28 release.
  2928. riscv64-*-linux
  2929. ===============
  2930. The RISC-V RV64 instruction set running GNU/Linux. This (and all other
  2931. RISC-V) targets are supported upstream as of the binutils 2.28 release.
  2932. rx-*-elf
  2933. ========
  2934. The Renesas RX processor.
  2935. s390-*-linux*
  2936. =============
  2937. S/390 system running GNU/Linux for S/390.
  2938. s390x-*-linux*
  2939. ==============
  2940. zSeries system (64-bit) running GNU/Linux for zSeries.
  2941. s390x-ibm-tpf*
  2942. ==============
  2943. zSeries system (64-bit) running TPF. This platform is supported as
  2944. cross-compilation target only.
  2945. *-*-solaris2*
  2946. =============
  2947. Support for Solaris 10 has been obsoleted in GCC 9, but can still be
  2948. enabled by configuring with '--enable-obsolete'. Support will be
  2949. removed in GCC 10. Support for Solaris 9 has been removed in GCC 5.
  2950. Support for Solaris 8 has been removed in GCC 4.8. Support for Solaris
  2951. 7 has been removed in GCC 4.6.
  2952. Sun does not ship a C compiler with Solaris 2 before Solaris 10,
  2953. though you can download the Sun Studio compilers for free. In Solaris
  2954. 10 and 11, GCC 3.4.3 is available as '/usr/sfw/bin/gcc'. Solaris 11
  2955. also provides GCC 4.5.2, 4.7.3, and 4.8.2 as '/usr/gcc/4.5/bin/gcc' or
  2956. similar. Alternatively, you can install a pre-built GCC to bootstrap
  2957. and install GCC. See the binaries page for details.
  2958. The Solaris 2 '/bin/sh' will often fail to configure 'libstdc++-v3'or
  2959. 'boehm-gc'. We therefore recommend using the following initial sequence
  2960. of commands
  2961. % CONFIG_SHELL=/bin/ksh
  2962. % export CONFIG_SHELL
  2963. and proceed as described in the configure instructions. In addition we
  2964. strongly recommend specifying an absolute path to invoke
  2965. 'SRCDIR/configure'.
  2966. Solaris 10 comes with a number of optional OS packages. Some of
  2967. these are needed to use GCC fully, namely 'SUNWarc', 'SUNWbtool',
  2968. 'SUNWesu', 'SUNWhea', 'SUNWlibm', 'SUNWsprot', and 'SUNWtoo'. If you
  2969. did not install all optional packages when installing Solaris 10, you
  2970. will need to verify that the packages that GCC needs are installed. To
  2971. check whether an optional package is installed, use the 'pkginfo'
  2972. command. To add an optional package, use the 'pkgadd' command. For
  2973. further details, see the Solaris 10 documentation.
  2974. Starting with Solaris 11, the package management has changed, so you
  2975. need to check for 'system/header', 'system/linker', and
  2976. 'developer/assembler' packages. Checking for and installing packages is
  2977. done with the 'pkg' command now.
  2978. Trying to use the linker and other tools in '/usr/ucb' to install GCC
  2979. has been observed to cause trouble. For example, the linker may hang
  2980. indefinitely. The fix is to remove '/usr/ucb' from your 'PATH'.
  2981. The build process works more smoothly with the legacy Sun tools so,
  2982. if you have '/usr/xpg4/bin' in your 'PATH', we recommend that you place
  2983. '/usr/bin' before '/usr/xpg4/bin' for the duration of the build.
  2984. We recommend the use of the Solaris assembler or the GNU assembler,
  2985. in conjunction with the Solaris linker. The GNU 'as' versions included
  2986. in Solaris 10, from GNU binutils 2.15 (in '/usr/sfw/bin/gas'), and
  2987. Solaris 11, from GNU binutils 2.19 or newer (also in '/usr/bin/gas' and
  2988. '/usr/gnu/bin/as'), are known to work. The current version, from GNU
  2989. binutils 2.29, is known to work as well. Note that your mileage may
  2990. vary if you use a combination of the GNU tools and the Solaris tools:
  2991. while the combination GNU 'as' + Sun 'ld' should reasonably work, the
  2992. reverse combination Sun 'as' + GNU 'ld' may fail to build or cause
  2993. memory corruption at runtime in some cases for C++ programs. GNU 'ld'
  2994. usually works as well, although the version included in Solaris 10
  2995. cannot be used due to several bugs. Again, the current version (2.29)
  2996. is known to work, but generally lacks platform specific features, so
  2997. better stay with Solaris 'ld'. To use the LTO linker plugin
  2998. ('-fuse-linker-plugin') with GNU 'ld', GNU binutils _must_ be configured
  2999. with '--enable-largefile'.
  3000. To enable symbol versioning in 'libstdc++' with the Solaris linker,
  3001. you need to have any version of GNU 'c++filt', which is part of GNU
  3002. binutils. 'libstdc++' symbol versioning will be disabled if no
  3003. appropriate version is found. Solaris 'c++filt' from the Solaris Studio
  3004. compilers does _not_ work.
  3005. Sun bug 4927647 sometimes causes random spurious testsuite failures
  3006. related to missing diagnostic output. This bug doesn't affect GCC
  3007. itself, rather it is a kernel bug triggered by the 'expect' program
  3008. which is used only by the GCC testsuite driver. When the bug causes the
  3009. 'expect' program to miss anticipated output, extra testsuite failures
  3010. appear.
  3011. sparc*-*-*
  3012. ==========
  3013. This section contains general configuration information for all
  3014. SPARC-based platforms. In addition to reading this section, please read
  3015. all other sections that match your target.
  3016. Newer versions of the GNU Multiple Precision Library (GMP), the MPFR
  3017. library and the MPC library are known to be miscompiled by earlier
  3018. versions of GCC on these platforms. We therefore recommend the use of
  3019. the exact versions of these libraries listed as minimal versions in the
  3020. prerequisites.
  3021. sparc-sun-solaris2*
  3022. ===================
  3023. When GCC is configured to use GNU binutils 2.14 or later, the binaries
  3024. produced are smaller than the ones produced using Sun's native tools;
  3025. this difference is quite significant for binaries containing debugging
  3026. information.
  3027. Starting with Solaris 7, the operating system is capable of executing
  3028. 64-bit SPARC V9 binaries. GCC 3.1 and later properly supports this; the
  3029. '-m64' option enables 64-bit code generation. However, if all you want
  3030. is code tuned for the UltraSPARC CPU, you should try the
  3031. '-mtune=ultrasparc' option instead, which produces code that, unlike
  3032. full 64-bit code, can still run on non-UltraSPARC machines.
  3033. When configuring the GNU Multiple Precision Library (GMP), the MPFR
  3034. library or the MPC library on a Solaris 7 or later system, the canonical
  3035. target triplet must be specified as the 'build' parameter on the
  3036. configure line. This target triplet can be obtained by invoking
  3037. './config.guess' in the toplevel source directory of GCC (and not that
  3038. of GMP or MPFR or MPC). For example on a Solaris 9 system:
  3039. % ./configure --build=sparc-sun-solaris2.9 --prefix=xxx
  3040. sparc-sun-solaris2.10
  3041. =====================
  3042. There is a bug in older versions of the Sun assembler which breaks
  3043. thread-local storage (TLS). A typical error message is
  3044. ld: fatal: relocation error: R_SPARC_TLS_LE_HIX22: file /var/tmp//ccamPA1v.o:
  3045. symbol <unknown>: bad symbol type SECT: symbol type must be TLS
  3046. This bug is fixed in Sun patch 118683-03 or later.
  3047. sparc-*-linux*
  3048. ==============
  3049. sparc64-*-solaris2*
  3050. ===================
  3051. When configuring the GNU Multiple Precision Library (GMP), the MPFR
  3052. library or the MPC library, the canonical target triplet must be
  3053. specified as the 'build' parameter on the configure line. For example
  3054. on a Solaris 9 system:
  3055. % ./configure --build=sparc64-sun-solaris2.9 --prefix=xxx
  3056. sparcv9-*-solaris2*
  3057. ===================
  3058. This is a synonym for 'sparc64-*-solaris2*'.
  3059. c6x-*-*
  3060. =======
  3061. The C6X family of processors. This port requires binutils-2.22 or
  3062. newer.
  3063. tilegx-*-linux*
  3064. ===============
  3065. The TILE-Gx processor in little endian mode, running GNU/Linux. This
  3066. port requires binutils-2.22 or newer.
  3067. tilegxbe-*-linux*
  3068. =================
  3069. The TILE-Gx processor in big endian mode, running GNU/Linux. This port
  3070. requires binutils-2.23 or newer.
  3071. tilepro-*-linux*
  3072. ================
  3073. The TILEPro processor running GNU/Linux. This port requires
  3074. binutils-2.22 or newer.
  3075. visium-*-elf
  3076. ============
  3077. CDS VISIUMcore processor. This configuration is intended for embedded
  3078. systems.
  3079. *-*-vxworks*
  3080. ============
  3081. Support for VxWorks is in flux. At present GCC supports _only_ the very
  3082. recent VxWorks 5.5 (aka Tornado 2.2) release, and only on PowerPC. We
  3083. welcome patches for other architectures supported by VxWorks 5.5.
  3084. Support for VxWorks AE would also be welcome; we believe this is merely
  3085. a matter of writing an appropriate "configlette" (see below). We are
  3086. not interested in supporting older, a.out or COFF-based, versions of
  3087. VxWorks in GCC 3.
  3088. VxWorks comes with an older version of GCC installed in
  3089. '$WIND_BASE/host'; we recommend you do not overwrite it. Choose an
  3090. installation PREFIX entirely outside $WIND_BASE. Before running
  3091. 'configure', create the directories 'PREFIX' and 'PREFIX/bin'. Link or
  3092. copy the appropriate assembler, linker, etc. into 'PREFIX/bin', and set
  3093. your PATH to include that directory while running both 'configure' and
  3094. 'make'.
  3095. You must give 'configure' the '--with-headers=$WIND_BASE/target/h'
  3096. switch so that it can find the VxWorks system headers. Since VxWorks is
  3097. a cross compilation target only, you must also specify
  3098. '--target=TARGET'. 'configure' will attempt to create the directory
  3099. 'PREFIX/TARGET/sys-include' and copy files into it; make sure the user
  3100. running 'configure' has sufficient privilege to do so.
  3101. GCC's exception handling runtime requires a special "configlette"
  3102. module, 'contrib/gthr_supp_vxw_5x.c'. Follow the instructions in that
  3103. file to add the module to your kernel build. (Future versions of
  3104. VxWorks will incorporate this module.)
  3105. x86_64-*-*, amd64-*-*
  3106. =====================
  3107. GCC supports the x86-64 architecture implemented by the AMD64 processor
  3108. (amd64-*-* is an alias for x86_64-*-*) on GNU/Linux, FreeBSD and NetBSD.
  3109. On GNU/Linux the default is a bi-arch compiler which is able to generate
  3110. both 64-bit x86-64 and 32-bit x86 code (via the '-m32' switch).
  3111. x86_64-*-solaris2.1[0-9]*
  3112. =========================
  3113. GCC also supports the x86-64 architecture implemented by the AMD64
  3114. processor ('amd64-*-*' is an alias for 'x86_64-*-*') on Solaris 10 or
  3115. later. Unlike other systems, without special options a bi-arch compiler
  3116. is built which generates 32-bit code by default, but can generate 64-bit
  3117. x86-64 code with the '-m64' switch. Since GCC 4.7, there is also a
  3118. configuration that defaults to 64-bit code, but can generate 32-bit code
  3119. with '-m32'. To configure and build this way, you have to provide all
  3120. support libraries like 'libgmp' as 64-bit code, configure with
  3121. '--target=x86_64-pc-solaris2.1x' and 'CC=gcc -m64'.
  3122. xtensa*-*-elf
  3123. =============
  3124. This target is intended for embedded Xtensa systems using the 'newlib' C
  3125. library. It uses ELF but does not support shared objects.
  3126. Designed-defined instructions specified via the Tensilica Instruction
  3127. Extension (TIE) language are only supported through inline assembly.
  3128. The Xtensa configuration information must be specified prior to
  3129. building GCC. The 'include/xtensa-config.h' header file contains the
  3130. configuration information. If you created your own Xtensa configuration
  3131. with the Xtensa Processor Generator, the downloaded files include a
  3132. customized copy of this header file, which you can use to replace the
  3133. default header file.
  3134. xtensa*-*-linux*
  3135. ================
  3136. This target is for Xtensa systems running GNU/Linux. It supports ELF
  3137. shared objects and the GNU C library (glibc). It also generates
  3138. position-independent code (PIC) regardless of whether the '-fpic' or
  3139. '-fPIC' options are used. In other respects, this target is the same as
  3140. the 'xtensa*-*-elf' target.
  3141. Microsoft Windows
  3142. =================
  3143. Intel 16-bit versions
  3144. ---------------------
  3145. The 16-bit versions of Microsoft Windows, such as Windows 3.1, are not
  3146. supported.
  3147. However, the 32-bit port has limited support for Microsoft Windows
  3148. 3.11 in the Win32s environment, as a target only. See below.
  3149. Intel 32-bit versions
  3150. ---------------------
  3151. The 32-bit versions of Windows, including Windows 95, Windows NT,
  3152. Windows XP, and Windows Vista, are supported by several different target
  3153. platforms. These targets differ in which Windows subsystem they target
  3154. and which C libraries are used.
  3155. * Cygwin *-*-cygwin: Cygwin provides a user-space Linux API emulation
  3156. layer in the Win32 subsystem.
  3157. * MinGW *-*-mingw32: MinGW is a native GCC port for the Win32
  3158. subsystem that provides a subset of POSIX.
  3159. * MKS i386-pc-mks: NuTCracker from MKS. See
  3160. <https://www.mkssoftware.com> for more information.
  3161. Intel 64-bit versions
  3162. ---------------------
  3163. GCC contains support for x86-64 using the mingw-w64 runtime library,
  3164. available from <http://mingw-w64.org/doku.php>. This library should be
  3165. used with the target triple x86_64-pc-mingw32.
  3166. Presently Windows for Itanium is not supported.
  3167. Windows CE
  3168. ----------
  3169. Windows CE is supported as a target only on Hitachi SuperH
  3170. (sh-wince-pe), and MIPS (mips-wince-pe).
  3171. Other Windows Platforms
  3172. -----------------------
  3173. GCC no longer supports Windows NT on the Alpha or PowerPC.
  3174. GCC no longer supports the Windows POSIX subsystem. However, it does
  3175. support the Interix subsystem. See above.
  3176. Old target names including *-*-winnt and *-*-windowsnt are no longer
  3177. used.
  3178. PW32 (i386-pc-pw32) support was never completed, and the project
  3179. seems to be inactive. See <http://pw32.sourceforge.net/> for more
  3180. information.
  3181. UWIN support has been removed due to a lack of maintenance.
  3182. *-*-cygwin
  3183. ==========
  3184. Ports of GCC are included with the Cygwin environment.
  3185. GCC will build under Cygwin without modification; it does not build
  3186. with Microsoft's C++ compiler and there are no plans to make it do so.
  3187. The Cygwin native compiler can be configured to target any 32-bit x86
  3188. cpu architecture desired; the default is i686-pc-cygwin. It should be
  3189. used with as up-to-date a version of binutils as possible; use either
  3190. the latest official GNU binutils release in the Cygwin distribution, or
  3191. version 2.20 or above if building your own.
  3192. *-*-mingw32
  3193. ===========
  3194. GCC will build with and support only MinGW runtime 3.12 and later.
  3195. Earlier versions of headers are incompatible with the new default
  3196. semantics of 'extern inline' in '-std=c99' and '-std=gnu99' modes.
  3197. Older systems
  3198. =============
  3199. GCC contains support files for many older (1980s and early 1990s) Unix
  3200. variants. For the most part, support for these systems has not been
  3201. deliberately removed, but it has not been maintained for several years
  3202. and may suffer from bitrot.
  3203. Starting with GCC 3.1, each release has a list of "obsoleted"
  3204. systems. Support for these systems is still present in that release,
  3205. but 'configure' will fail unless the '--enable-obsolete' option is
  3206. given. Unless a maintainer steps forward, support for these systems
  3207. will be removed from the next release of GCC.
  3208. Support for old systems as hosts for GCC can cause problems if the
  3209. workarounds for compiler, library and operating system bugs affect the
  3210. cleanliness or maintainability of the rest of GCC. In some cases, to
  3211. bring GCC up on such a system, if still possible with current GCC, may
  3212. require first installing an old version of GCC which did work on that
  3213. system, and using it to compile a more recent GCC, to avoid bugs in the
  3214. vendor compiler. Old releases of GCC 1 and GCC 2 are available in the
  3215. 'old-releases' directory on the GCC mirror sites. Header bugs may
  3216. generally be avoided using 'fixincludes', but bugs or deficiencies in
  3217. libraries and the operating system may still cause problems.
  3218. Support for older systems as targets for cross-compilation is less
  3219. problematic than support for them as hosts for GCC; if an enthusiast
  3220. wishes to make such a target work again (including resurrecting any of
  3221. the targets that never worked with GCC 2, starting from the last version
  3222. before they were removed), patches following the usual requirements
  3223. would be likely to be accepted, since they should not affect the support
  3224. for more modern targets.
  3225. For some systems, old versions of GNU binutils may also be useful,
  3226. and are available from 'pub/binutils/old-releases' on sourceware.org
  3227. mirror sites.
  3228. Some of the information on specific systems above relates to such
  3229. older systems, but much of the information about GCC on such systems
  3230. (which may no longer be applicable to current GCC) is to be found in the
  3231. GCC texinfo manual.
  3232. all ELF targets (SVR4, Solaris 2, etc.)
  3233. =======================================
  3234. C++ support is significantly better on ELF targets if you use the GNU
  3235. linker; duplicate copies of inlines, vtables and template instantiations
  3236. will be discarded automatically.
  3237. 
  3238. File: x86_64-linux-gnu-gccinstall.info, Node: Old, Next: GNU Free Documentation License, Prev: Specific, Up: Top
  3239. 10 Old installation documentation
  3240. *********************************
  3241. Note most of this information is out of date and superseded by the
  3242. previous chapters of this manual. It is provided for historical
  3243. reference only, because of a lack of volunteers to merge it into the
  3244. main manual.
  3245. * Menu:
  3246. * Configurations:: Configurations Supported by GCC.
  3247. Here is the procedure for installing GCC on a GNU or Unix system.
  3248. 1. If you have chosen a configuration for GCC which requires other GNU
  3249. tools (such as GAS or the GNU linker) instead of the standard
  3250. system tools, install the required tools in the build directory
  3251. under the names 'as', 'ld' or whatever is appropriate.
  3252. Alternatively, you can do subsequent compilation using a value of
  3253. the 'PATH' environment variable such that the necessary GNU tools
  3254. come before the standard system tools.
  3255. 2. Specify the host, build and target machine configurations. You do
  3256. this when you run the 'configure' script.
  3257. The "build" machine is the system which you are using, the "host"
  3258. machine is the system where you want to run the resulting compiler
  3259. (normally the build machine), and the "target" machine is the
  3260. system for which you want the compiler to generate code.
  3261. If you are building a compiler to produce code for the machine it
  3262. runs on (a native compiler), you normally do not need to specify
  3263. any operands to 'configure'; it will try to guess the type of
  3264. machine you are on and use that as the build, host and target
  3265. machines. So you don't need to specify a configuration when
  3266. building a native compiler unless 'configure' cannot figure out
  3267. what your configuration is or guesses wrong.
  3268. In those cases, specify the build machine's "configuration name"
  3269. with the '--host' option; the host and target will default to be
  3270. the same as the host machine.
  3271. Here is an example:
  3272. ./configure --host=sparc-sun-sunos4.1
  3273. A configuration name may be canonical or it may be more or less
  3274. abbreviated.
  3275. A canonical configuration name has three parts, separated by
  3276. dashes. It looks like this: 'CPU-COMPANY-SYSTEM'. (The three
  3277. parts may themselves contain dashes; 'configure' can figure out
  3278. which dashes serve which purpose.) For example,
  3279. 'm68k-sun-sunos4.1' specifies a Sun 3.
  3280. You can also replace parts of the configuration by nicknames or
  3281. aliases. For example, 'sun3' stands for 'm68k-sun', so
  3282. 'sun3-sunos4.1' is another way to specify a Sun 3.
  3283. You can specify a version number after any of the system types, and
  3284. some of the CPU types. In most cases, the version is irrelevant,
  3285. and will be ignored. So you might as well specify the version if
  3286. you know it.
  3287. See *note Configurations::, for a list of supported configuration
  3288. names and notes on many of the configurations. You should check
  3289. the notes in that section before proceeding any further with the
  3290. installation of GCC.
  3291. 
  3292. File: x86_64-linux-gnu-gccinstall.info, Node: Configurations, Up: Old
  3293. 10.1 Configurations Supported by GCC
  3294. ====================================
  3295. Here are the possible CPU types:
  3296. 1750a, a29k, alpha, arm, avr, cN, clipper, dsp16xx, elxsi, fr30,
  3297. h8300, hppa1.0, hppa1.1, i370, i386, i486, i586, i686, i786, i860,
  3298. i960, ip2k, m32r, m68000, m68k, m88k, mcore, mips, mipsel, mips64,
  3299. mips64el, mn10200, mn10300, ns32k, pdp11, powerpc, powerpcle, romp,
  3300. rs6000, sh, sparc, sparclite, sparc64, v850, vax, we32k.
  3301. Here are the recognized company names. As you can see, customary
  3302. abbreviations are used rather than the longer official names.
  3303. acorn, alliant, altos, apollo, apple, att, bull, cbm, convergent,
  3304. convex, crds, dec, dg, dolphin, elxsi, encore, harris, hitachi, hp,
  3305. ibm, intergraph, isi, mips, motorola, ncr, next, ns, omron, plexus,
  3306. sequent, sgi, sony, sun, tti, unicom, wrs.
  3307. The company name is meaningful only to disambiguate when the rest of
  3308. the information supplied is insufficient. You can omit it, writing just
  3309. 'CPU-SYSTEM', if it is not needed. For example, 'vax-ultrix4.2' is
  3310. equivalent to 'vax-dec-ultrix4.2'.
  3311. Here is a list of system types:
  3312. 386bsd, aix, acis, amigaos, aos, aout, aux, bosx, bsd, clix, coff,
  3313. ctix, cxux, dgux, dynix, ebmon, ecoff, elf, esix, freebsd, hms,
  3314. genix, gnu, linux, linux-gnu, hiux, hpux, iris, irix, isc, luna,
  3315. lynxos, mach, minix, msdos, mvs, netbsd, newsos, nindy, ns, osf,
  3316. osfrose, ptx, riscix, riscos, rtu, sco, sim, solaris, sunos, sym,
  3317. sysv, udi, ultrix, unicos, uniplus, unos, vms, vsta, vxworks,
  3318. winnt, xenix.
  3319. You can omit the system type; then 'configure' guesses the operating
  3320. system from the CPU and company.
  3321. You can add a version number to the system type; this may or may not
  3322. make a difference. For example, you can write 'bsd4.3' or 'bsd4.4' to
  3323. distinguish versions of BSD. In practice, the version number is most
  3324. needed for 'sysv3' and 'sysv4', which are often treated differently.
  3325. 'linux-gnu' is the canonical name for the GNU/Linux target; however
  3326. GCC will also accept 'linux'. The version of the kernel in use is not
  3327. relevant on these systems. A suffix such as 'libc1' or 'aout'
  3328. distinguishes major versions of the C library; all of the suffixed
  3329. versions are obsolete.
  3330. If you specify an impossible combination such as 'i860-dg-vms', then
  3331. you may get an error message from 'configure', or it may ignore part of
  3332. the information and do the best it can with the rest. 'configure'
  3333. always prints the canonical name for the alternative that it used. GCC
  3334. does not support all possible alternatives.
  3335. Often a particular model of machine has a name. Many machine names
  3336. are recognized as aliases for CPU/company combinations. Thus, the
  3337. machine name 'sun3', mentioned above, is an alias for 'm68k-sun'.
  3338. Sometimes we accept a company name as a machine name, when the name is
  3339. popularly used for a particular machine. Here is a table of the known
  3340. machine names:
  3341. 3300, 3b1, 3bN, 7300, altos3068, altos, apollo68, att-7300,
  3342. balance, convex-cN, crds, decstation-3100, decstation, delta,
  3343. encore, fx2800, gmicro, hp7NN, hp8NN, hp9k2NN, hp9k3NN, hp9k7NN,
  3344. hp9k8NN, iris4d, iris, isi68, m3230, magnum, merlin, miniframe,
  3345. mmax, news-3600, news800, news, next, pbd, pc532, pmax, powerpc,
  3346. powerpcle, ps2, risc-news, rtpc, sun2, sun386i, sun386, sun3, sun4,
  3347. symmetry, tower-32, tower.
  3348. Remember that a machine name specifies both the cpu type and the company
  3349. name.
  3350. 
  3351. File: x86_64-linux-gnu-gccinstall.info, Node: GNU Free Documentation License, Next: Concept Index, Prev: Old, Up: Top
  3352. GNU Free Documentation License
  3353. ******************************
  3354. Version 1.3, 3 November 2008
  3355. Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
  3356. <http://fsf.org/>
  3357. Everyone is permitted to copy and distribute verbatim copies
  3358. of this license document, but changing it is not allowed.
  3359. 0. PREAMBLE
  3360. The purpose of this License is to make a manual, textbook, or other
  3361. functional and useful document "free" in the sense of freedom: to
  3362. assure everyone the effective freedom to copy and redistribute it,
  3363. with or without modifying it, either commercially or
  3364. noncommercially. Secondarily, this License preserves for the
  3365. author and publisher a way to get credit for their work, while not
  3366. being considered responsible for modifications made by others.
  3367. This License is a kind of "copyleft", which means that derivative
  3368. works of the document must themselves be free in the same sense.
  3369. It complements the GNU General Public License, which is a copyleft
  3370. license designed for free software.
  3371. We have designed this License in order to use it for manuals for
  3372. free software, because free software needs free documentation: a
  3373. free program should come with manuals providing the same freedoms
  3374. that the software does. But this License is not limited to
  3375. software manuals; it can be used for any textual work, regardless
  3376. of subject matter or whether it is published as a printed book. We
  3377. recommend this License principally for works whose purpose is
  3378. instruction or reference.
  3379. 1. APPLICABILITY AND DEFINITIONS
  3380. This License applies to any manual or other work, in any medium,
  3381. that contains a notice placed by the copyright holder saying it can
  3382. be distributed under the terms of this License. Such a notice
  3383. grants a world-wide, royalty-free license, unlimited in duration,
  3384. to use that work under the conditions stated herein. The
  3385. "Document", below, refers to any such manual or work. Any member
  3386. of the public is a licensee, and is addressed as "you". You accept
  3387. the license if you copy, modify or distribute the work in a way
  3388. requiring permission under copyright law.
  3389. A "Modified Version" of the Document means any work containing the
  3390. Document or a portion of it, either copied verbatim, or with
  3391. modifications and/or translated into another language.
  3392. A "Secondary Section" is a named appendix or a front-matter section
  3393. of the Document that deals exclusively with the relationship of the
  3394. publishers or authors of the Document to the Document's overall
  3395. subject (or to related matters) and contains nothing that could
  3396. fall directly within that overall subject. (Thus, if the Document
  3397. is in part a textbook of mathematics, a Secondary Section may not
  3398. explain any mathematics.) The relationship could be a matter of
  3399. historical connection with the subject or with related matters, or
  3400. of legal, commercial, philosophical, ethical or political position
  3401. regarding them.
  3402. The "Invariant Sections" are certain Secondary Sections whose
  3403. titles are designated, as being those of Invariant Sections, in the
  3404. notice that says that the Document is released under this License.
  3405. If a section does not fit the above definition of Secondary then it
  3406. is not allowed to be designated as Invariant. The Document may
  3407. contain zero Invariant Sections. If the Document does not identify
  3408. any Invariant Sections then there are none.
  3409. The "Cover Texts" are certain short passages of text that are
  3410. listed, as Front-Cover Texts or Back-Cover Texts, in the notice
  3411. that says that the Document is released under this License. A
  3412. Front-Cover Text may be at most 5 words, and a Back-Cover Text may
  3413. be at most 25 words.
  3414. A "Transparent" copy of the Document means a machine-readable copy,
  3415. represented in a format whose specification is available to the
  3416. general public, that is suitable for revising the document
  3417. straightforwardly with generic text editors or (for images composed
  3418. of pixels) generic paint programs or (for drawings) some widely
  3419. available drawing editor, and that is suitable for input to text
  3420. formatters or for automatic translation to a variety of formats
  3421. suitable for input to text formatters. A copy made in an otherwise
  3422. Transparent file format whose markup, or absence of markup, has
  3423. been arranged to thwart or discourage subsequent modification by
  3424. readers is not Transparent. An image format is not Transparent if
  3425. used for any substantial amount of text. A copy that is not
  3426. "Transparent" is called "Opaque".
  3427. Examples of suitable formats for Transparent copies include plain
  3428. ASCII without markup, Texinfo input format, LaTeX input format,
  3429. SGML or XML using a publicly available DTD, and standard-conforming
  3430. simple HTML, PostScript or PDF designed for human modification.
  3431. Examples of transparent image formats include PNG, XCF and JPG.
  3432. Opaque formats include proprietary formats that can be read and
  3433. edited only by proprietary word processors, SGML or XML for which
  3434. the DTD and/or processing tools are not generally available, and
  3435. the machine-generated HTML, PostScript or PDF produced by some word
  3436. processors for output purposes only.
  3437. The "Title Page" means, for a printed book, the title page itself,
  3438. plus such following pages as are needed to hold, legibly, the
  3439. material this License requires to appear in the title page. For
  3440. works in formats which do not have any title page as such, "Title
  3441. Page" means the text near the most prominent appearance of the
  3442. work's title, preceding the beginning of the body of the text.
  3443. The "publisher" means any person or entity that distributes copies
  3444. of the Document to the public.
  3445. A section "Entitled XYZ" means a named subunit of the Document
  3446. whose title either is precisely XYZ or contains XYZ in parentheses
  3447. following text that translates XYZ in another language. (Here XYZ
  3448. stands for a specific section name mentioned below, such as
  3449. "Acknowledgements", "Dedications", "Endorsements", or "History".)
  3450. To "Preserve the Title" of such a section when you modify the
  3451. Document means that it remains a section "Entitled XYZ" according
  3452. to this definition.
  3453. The Document may include Warranty Disclaimers next to the notice
  3454. which states that this License applies to the Document. These
  3455. Warranty Disclaimers are considered to be included by reference in
  3456. this License, but only as regards disclaiming warranties: any other
  3457. implication that these Warranty Disclaimers may have is void and
  3458. has no effect on the meaning of this License.
  3459. 2. VERBATIM COPYING
  3460. You may copy and distribute the Document in any medium, either
  3461. commercially or noncommercially, provided that this License, the
  3462. copyright notices, and the license notice saying this License
  3463. applies to the Document are reproduced in all copies, and that you
  3464. add no other conditions whatsoever to those of this License. You
  3465. may not use technical measures to obstruct or control the reading
  3466. or further copying of the copies you make or distribute. However,
  3467. you may accept compensation in exchange for copies. If you
  3468. distribute a large enough number of copies you must also follow the
  3469. conditions in section 3.
  3470. You may also lend copies, under the same conditions stated above,
  3471. and you may publicly display copies.
  3472. 3. COPYING IN QUANTITY
  3473. If you publish printed copies (or copies in media that commonly
  3474. have printed covers) of the Document, numbering more than 100, and
  3475. the Document's license notice requires Cover Texts, you must
  3476. enclose the copies in covers that carry, clearly and legibly, all
  3477. these Cover Texts: Front-Cover Texts on the front cover, and
  3478. Back-Cover Texts on the back cover. Both covers must also clearly
  3479. and legibly identify you as the publisher of these copies. The
  3480. front cover must present the full title with all words of the title
  3481. equally prominent and visible. You may add other material on the
  3482. covers in addition. Copying with changes limited to the covers, as
  3483. long as they preserve the title of the Document and satisfy these
  3484. conditions, can be treated as verbatim copying in other respects.
  3485. If the required texts for either cover are too voluminous to fit
  3486. legibly, you should put the first ones listed (as many as fit
  3487. reasonably) on the actual cover, and continue the rest onto
  3488. adjacent pages.
  3489. If you publish or distribute Opaque copies of the Document
  3490. numbering more than 100, you must either include a machine-readable
  3491. Transparent copy along with each Opaque copy, or state in or with
  3492. each Opaque copy a computer-network location from which the general
  3493. network-using public has access to download using public-standard
  3494. network protocols a complete Transparent copy of the Document, free
  3495. of added material. If you use the latter option, you must take
  3496. reasonably prudent steps, when you begin distribution of Opaque
  3497. copies in quantity, to ensure that this Transparent copy will
  3498. remain thus accessible at the stated location until at least one
  3499. year after the last time you distribute an Opaque copy (directly or
  3500. through your agents or retailers) of that edition to the public.
  3501. It is requested, but not required, that you contact the authors of
  3502. the Document well before redistributing any large number of copies,
  3503. to give them a chance to provide you with an updated version of the
  3504. Document.
  3505. 4. MODIFICATIONS
  3506. You may copy and distribute a Modified Version of the Document
  3507. under the conditions of sections 2 and 3 above, provided that you
  3508. release the Modified Version under precisely this License, with the
  3509. Modified Version filling the role of the Document, thus licensing
  3510. distribution and modification of the Modified Version to whoever
  3511. possesses a copy of it. In addition, you must do these things in
  3512. the Modified Version:
  3513. A. Use in the Title Page (and on the covers, if any) a title
  3514. distinct from that of the Document, and from those of previous
  3515. versions (which should, if there were any, be listed in the
  3516. History section of the Document). You may use the same title
  3517. as a previous version if the original publisher of that
  3518. version gives permission.
  3519. B. List on the Title Page, as authors, one or more persons or
  3520. entities responsible for authorship of the modifications in
  3521. the Modified Version, together with at least five of the
  3522. principal authors of the Document (all of its principal
  3523. authors, if it has fewer than five), unless they release you
  3524. from this requirement.
  3525. C. State on the Title page the name of the publisher of the
  3526. Modified Version, as the publisher.
  3527. D. Preserve all the copyright notices of the Document.
  3528. E. Add an appropriate copyright notice for your modifications
  3529. adjacent to the other copyright notices.
  3530. F. Include, immediately after the copyright notices, a license
  3531. notice giving the public permission to use the Modified
  3532. Version under the terms of this License, in the form shown in
  3533. the Addendum below.
  3534. G. Preserve in that license notice the full lists of Invariant
  3535. Sections and required Cover Texts given in the Document's
  3536. license notice.
  3537. H. Include an unaltered copy of this License.
  3538. I. Preserve the section Entitled "History", Preserve its Title,
  3539. and add to it an item stating at least the title, year, new
  3540. authors, and publisher of the Modified Version as given on the
  3541. Title Page. If there is no section Entitled "History" in the
  3542. Document, create one stating the title, year, authors, and
  3543. publisher of the Document as given on its Title Page, then add
  3544. an item describing the Modified Version as stated in the
  3545. previous sentence.
  3546. J. Preserve the network location, if any, given in the Document
  3547. for public access to a Transparent copy of the Document, and
  3548. likewise the network locations given in the Document for
  3549. previous versions it was based on. These may be placed in the
  3550. "History" section. You may omit a network location for a work
  3551. that was published at least four years before the Document
  3552. itself, or if the original publisher of the version it refers
  3553. to gives permission.
  3554. K. For any section Entitled "Acknowledgements" or "Dedications",
  3555. Preserve the Title of the section, and preserve in the section
  3556. all the substance and tone of each of the contributor
  3557. acknowledgements and/or dedications given therein.
  3558. L. Preserve all the Invariant Sections of the Document, unaltered
  3559. in their text and in their titles. Section numbers or the
  3560. equivalent are not considered part of the section titles.
  3561. M. Delete any section Entitled "Endorsements". Such a section
  3562. may not be included in the Modified Version.
  3563. N. Do not retitle any existing section to be Entitled
  3564. "Endorsements" or to conflict in title with any Invariant
  3565. Section.
  3566. O. Preserve any Warranty Disclaimers.
  3567. If the Modified Version includes new front-matter sections or
  3568. appendices that qualify as Secondary Sections and contain no
  3569. material copied from the Document, you may at your option designate
  3570. some or all of these sections as invariant. To do this, add their
  3571. titles to the list of Invariant Sections in the Modified Version's
  3572. license notice. These titles must be distinct from any other
  3573. section titles.
  3574. You may add a section Entitled "Endorsements", provided it contains
  3575. nothing but endorsements of your Modified Version by various
  3576. parties--for example, statements of peer review or that the text
  3577. has been approved by an organization as the authoritative
  3578. definition of a standard.
  3579. You may add a passage of up to five words as a Front-Cover Text,
  3580. and a passage of up to 25 words as a Back-Cover Text, to the end of
  3581. the list of Cover Texts in the Modified Version. Only one passage
  3582. of Front-Cover Text and one of Back-Cover Text may be added by (or
  3583. through arrangements made by) any one entity. If the Document
  3584. already includes a cover text for the same cover, previously added
  3585. by you or by arrangement made by the same entity you are acting on
  3586. behalf of, you may not add another; but you may replace the old
  3587. one, on explicit permission from the previous publisher that added
  3588. the old one.
  3589. The author(s) and publisher(s) of the Document do not by this
  3590. License give permission to use their names for publicity for or to
  3591. assert or imply endorsement of any Modified Version.
  3592. 5. COMBINING DOCUMENTS
  3593. You may combine the Document with other documents released under
  3594. this License, under the terms defined in section 4 above for
  3595. modified versions, provided that you include in the combination all
  3596. of the Invariant Sections of all of the original documents,
  3597. unmodified, and list them all as Invariant Sections of your
  3598. combined work in its license notice, and that you preserve all
  3599. their Warranty Disclaimers.
  3600. The combined work need only contain one copy of this License, and
  3601. multiple identical Invariant Sections may be replaced with a single
  3602. copy. If there are multiple Invariant Sections with the same name
  3603. but different contents, make the title of each such section unique
  3604. by adding at the end of it, in parentheses, the name of the
  3605. original author or publisher of that section if known, or else a
  3606. unique number. Make the same adjustment to the section titles in
  3607. the list of Invariant Sections in the license notice of the
  3608. combined work.
  3609. In the combination, you must combine any sections Entitled
  3610. "History" in the various original documents, forming one section
  3611. Entitled "History"; likewise combine any sections Entitled
  3612. "Acknowledgements", and any sections Entitled "Dedications". You
  3613. must delete all sections Entitled "Endorsements."
  3614. 6. COLLECTIONS OF DOCUMENTS
  3615. You may make a collection consisting of the Document and other
  3616. documents released under this License, and replace the individual
  3617. copies of this License in the various documents with a single copy
  3618. that is included in the collection, provided that you follow the
  3619. rules of this License for verbatim copying of each of the documents
  3620. in all other respects.
  3621. You may extract a single document from such a collection, and
  3622. distribute it individually under this License, provided you insert
  3623. a copy of this License into the extracted document, and follow this
  3624. License in all other respects regarding verbatim copying of that
  3625. document.
  3626. 7. AGGREGATION WITH INDEPENDENT WORKS
  3627. A compilation of the Document or its derivatives with other
  3628. separate and independent documents or works, in or on a volume of a
  3629. storage or distribution medium, is called an "aggregate" if the
  3630. copyright resulting from the compilation is not used to limit the
  3631. legal rights of the compilation's users beyond what the individual
  3632. works permit. When the Document is included in an aggregate, this
  3633. License does not apply to the other works in the aggregate which
  3634. are not themselves derivative works of the Document.
  3635. If the Cover Text requirement of section 3 is applicable to these
  3636. copies of the Document, then if the Document is less than one half
  3637. of the entire aggregate, the Document's Cover Texts may be placed
  3638. on covers that bracket the Document within the aggregate, or the
  3639. electronic equivalent of covers if the Document is in electronic
  3640. form. Otherwise they must appear on printed covers that bracket
  3641. the whole aggregate.
  3642. 8. TRANSLATION
  3643. Translation is considered a kind of modification, so you may
  3644. distribute translations of the Document under the terms of section
  3645. 4. Replacing Invariant Sections with translations requires special
  3646. permission from their copyright holders, but you may include
  3647. translations of some or all Invariant Sections in addition to the
  3648. original versions of these Invariant Sections. You may include a
  3649. translation of this License, and all the license notices in the
  3650. Document, and any Warranty Disclaimers, provided that you also
  3651. include the original English version of this License and the
  3652. original versions of those notices and disclaimers. In case of a
  3653. disagreement between the translation and the original version of
  3654. this License or a notice or disclaimer, the original version will
  3655. prevail.
  3656. If a section in the Document is Entitled "Acknowledgements",
  3657. "Dedications", or "History", the requirement (section 4) to
  3658. Preserve its Title (section 1) will typically require changing the
  3659. actual title.
  3660. 9. TERMINATION
  3661. You may not copy, modify, sublicense, or distribute the Document
  3662. except as expressly provided under this License. Any attempt
  3663. otherwise to copy, modify, sublicense, or distribute it is void,
  3664. and will automatically terminate your rights under this License.
  3665. However, if you cease all violation of this License, then your
  3666. license from a particular copyright holder is reinstated (a)
  3667. provisionally, unless and until the copyright holder explicitly and
  3668. finally terminates your license, and (b) permanently, if the
  3669. copyright holder fails to notify you of the violation by some
  3670. reasonable means prior to 60 days after the cessation.
  3671. Moreover, your license from a particular copyright holder is
  3672. reinstated permanently if the copyright holder notifies you of the
  3673. violation by some reasonable means, this is the first time you have
  3674. received notice of violation of this License (for any work) from
  3675. that copyright holder, and you cure the violation prior to 30 days
  3676. after your receipt of the notice.
  3677. Termination of your rights under this section does not terminate
  3678. the licenses of parties who have received copies or rights from you
  3679. under this License. If your rights have been terminated and not
  3680. permanently reinstated, receipt of a copy of some or all of the
  3681. same material does not give you any rights to use it.
  3682. 10. FUTURE REVISIONS OF THIS LICENSE
  3683. The Free Software Foundation may publish new, revised versions of
  3684. the GNU Free Documentation License from time to time. Such new
  3685. versions will be similar in spirit to the present version, but may
  3686. differ in detail to address new problems or concerns. See
  3687. <http://www.gnu.org/copyleft/>.
  3688. Each version of the License is given a distinguishing version
  3689. number. If the Document specifies that a particular numbered
  3690. version of this License "or any later version" applies to it, you
  3691. have the option of following the terms and conditions either of
  3692. that specified version or of any later version that has been
  3693. published (not as a draft) by the Free Software Foundation. If the
  3694. Document does not specify a version number of this License, you may
  3695. choose any version ever published (not as a draft) by the Free
  3696. Software Foundation. If the Document specifies that a proxy can
  3697. decide which future versions of this License can be used, that
  3698. proxy's public statement of acceptance of a version permanently
  3699. authorizes you to choose that version for the Document.
  3700. 11. RELICENSING
  3701. "Massive Multiauthor Collaboration Site" (or "MMC Site") means any
  3702. World Wide Web server that publishes copyrightable works and also
  3703. provides prominent facilities for anybody to edit those works. A
  3704. public wiki that anybody can edit is an example of such a server.
  3705. A "Massive Multiauthor Collaboration" (or "MMC") contained in the
  3706. site means any set of copyrightable works thus published on the MMC
  3707. site.
  3708. "CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0
  3709. license published by Creative Commons Corporation, a not-for-profit
  3710. corporation with a principal place of business in San Francisco,
  3711. California, as well as future copyleft versions of that license
  3712. published by that same organization.
  3713. "Incorporate" means to publish or republish a Document, in whole or
  3714. in part, as part of another Document.
  3715. An MMC is "eligible for relicensing" if it is licensed under this
  3716. License, and if all works that were first published under this
  3717. License somewhere other than this MMC, and subsequently
  3718. incorporated in whole or in part into the MMC, (1) had no cover
  3719. texts or invariant sections, and (2) were thus incorporated prior
  3720. to November 1, 2008.
  3721. The operator of an MMC Site may republish an MMC contained in the
  3722. site under CC-BY-SA on the same site at any time before August 1,
  3723. 2009, provided the MMC is eligible for relicensing.
  3724. ADDENDUM: How to use this License for your documents
  3725. ====================================================
  3726. To use this License in a document you have written, include a copy of
  3727. the License in the document and put the following copyright and license
  3728. notices just after the title page:
  3729. Copyright (C) YEAR YOUR NAME.
  3730. Permission is granted to copy, distribute and/or modify this document
  3731. under the terms of the GNU Free Documentation License, Version 1.3
  3732. or any later version published by the Free Software Foundation;
  3733. with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
  3734. Texts. A copy of the license is included in the section entitled ``GNU
  3735. Free Documentation License''.
  3736. If you have Invariant Sections, Front-Cover Texts and Back-Cover
  3737. Texts, replace the "with...Texts." line with this:
  3738. with the Invariant Sections being LIST THEIR TITLES, with
  3739. the Front-Cover Texts being LIST, and with the Back-Cover Texts
  3740. being LIST.
  3741. If you have Invariant Sections without Cover Texts, or some other
  3742. combination of the three, merge those two alternatives to suit the
  3743. situation.
  3744. If your document contains nontrivial examples of program code, we
  3745. recommend releasing these examples in parallel under your choice of free
  3746. software license, such as the GNU General Public License, to permit
  3747. their use in free software.
  3748. 
  3749. File: x86_64-linux-gnu-gccinstall.info, Node: Concept Index, Prev: GNU Free Documentation License, Up: Top
  3750. Concept Index
  3751. *************
  3752. �[index�]
  3753. * Menu:
  3754. * Binaries: Binaries. (line 6)
  3755. * build_configargs: Configuration. (line 1618)
  3756. * Configuration: Configuration. (line 6)
  3757. * configurations supported by GCC: Configurations. (line 6)
  3758. * Downloading GCC: Downloading the source.
  3759. (line 6)
  3760. * Downloading the Source: Downloading the source.
  3761. (line 6)
  3762. * FDL, GNU Free Documentation License: GNU Free Documentation License.
  3763. (line 6)
  3764. * Host specific installation: Specific. (line 6)
  3765. * host_configargs: Configuration. (line 1622)
  3766. * Installing GCC: Binaries: Binaries. (line 6)
  3767. * Installing GCC: Building: Building. (line 6)
  3768. * Installing GCC: Configuration: Configuration. (line 6)
  3769. * Installing GCC: Testing: Testing. (line 6)
  3770. * Prerequisites: Prerequisites. (line 6)
  3771. * Specific: Specific. (line 6)
  3772. * Specific installation notes: Specific. (line 6)
  3773. * Target specific installation: Specific. (line 6)
  3774. * Target specific installation notes: Specific. (line 6)
  3775. * target_configargs: Configuration. (line 1626)
  3776. * Testing: Testing. (line 6)
  3777. * Testsuite: Testing. (line 6)
  3778. 
  3779. Tag Table:
  3780. Node: Top1747
  3781. Node: Installing GCC2322
  3782. Node: Prerequisites3973
  3783. Node: Downloading the source14509
  3784. Node: Configuration16197
  3785. Ref: with-gnu-as31845
  3786. Ref: with-as32740
  3787. Ref: with-gnu-ld34153
  3788. Ref: WithAixSoname56562
  3789. Ref: AixLdCommand57223
  3790. Node: Building93807
  3791. Node: Testing110433
  3792. Node: Final install118337
  3793. Node: Binaries123654
  3794. Node: Specific124798
  3795. Ref: aarch64-x-x125322
  3796. Ref: alpha-x-x127342
  3797. Ref: amd64-x-solaris210127751
  3798. Ref: amdgcn-unknown-amdhsa127854
  3799. Ref: arc-x-elf32128440
  3800. Ref: arc-linux-uclibc128616
  3801. Ref: arm-x-eabi128757
  3802. Ref: avr129010
  3803. Ref: bfin129591
  3804. Ref: cr16129833
  3805. Ref: cris130249
  3806. Ref: dos130947
  3807. Ref: epiphany-x-elf131270
  3808. Ref: x-x-freebsd131375
  3809. Ref: ft32-x-elf133175
  3810. Ref: h8300-hms133273
  3811. Ref: hppa-hp-hpux133625
  3812. Ref: hppa-hp-hpux10135997
  3813. Ref: hppa-hp-hpux11136410
  3814. Ref: x-x-linux-gnu141812
  3815. Ref: ix86-x-linux142005
  3816. Ref: ix86-x-solaris210142318
  3817. Ref: ia64-x-linux143663
  3818. Ref: ia64-x-hpux144433
  3819. Ref: x-ibm-aix144988
  3820. Ref: TransferAixShobj148650
  3821. Ref: iq2000-x-elf152460
  3822. Ref: lm32-x-elf152600
  3823. Ref: lm32-x-uclinux152704
  3824. Ref: m32c-x-elf152832
  3825. Ref: m32r-x-elf152934
  3826. Ref: m68k-x-x153036
  3827. Ref: m68k-x-uclinux154074
  3828. Ref: microblaze-x-elf154319
  3829. Ref: mips-x-x154438
  3830. Ref: moxie-x-elf156348
  3831. Ref: msp430-x-elf156395
  3832. Ref: nds32le-x-elf156498
  3833. Ref: nds32be-x-elf156570
  3834. Ref: nvptx-x-none156639
  3835. Ref: or1k-x-elf157202
  3836. Ref: or1k-x-linux157333
  3837. Ref: powerpc-x-x157414
  3838. Ref: powerpc-x-darwin157605
  3839. Ref: powerpc-x-elf158099
  3840. Ref: powerpc-x-linux-gnu158184
  3841. Ref: powerpc-x-netbsd158279
  3842. Ref: powerpc-x-eabisim158367
  3843. Ref: powerpc-x-eabi158493
  3844. Ref: powerpcle-x-elf158569
  3845. Ref: powerpcle-x-eabisim158661
  3846. Ref: powerpcle-x-eabi158794
  3847. Ref: rl78-x-elf158877
  3848. Ref: riscv32-x-elf158983
  3849. Ref: riscv32-x-linux159193
  3850. Ref: riscv64-x-elf159371
  3851. Ref: riscv64-x-linux159581
  3852. Ref: rx-x-elf159759
  3853. Ref: s390-x-linux159805
  3854. Ref: s390x-x-linux159877
  3855. Ref: s390x-ibm-tpf159964
  3856. Ref: x-x-solaris2160095
  3857. Ref: sparc-x-x164116
  3858. Ref: sparc-sun-solaris2164618
  3859. Ref: sparc-sun-solaris210165757
  3860. Ref: sparc-x-linux166132
  3861. Ref: sparc64-x-solaris2166163
  3862. Ref: sparcv9-x-solaris2166496
  3863. Ref: c6x-x-x166583
  3864. Ref: tilegx-*-linux166675
  3865. Ref: tilegxbe-*-linux166817
  3866. Ref: tilepro-*-linux166960
  3867. Ref: visium-x-elf167081
  3868. Ref: x-x-vxworks167189
  3869. Ref: x86-64-x-x168712
  3870. Ref: x86-64-x-solaris210169040
  3871. Ref: xtensa-x-elf169704
  3872. Ref: xtensa-x-linux170375
  3873. Ref: windows170716
  3874. Ref: x-x-cygwin172557
  3875. Ref: x-x-mingw32173110
  3876. Ref: older173336
  3877. Ref: elf175453
  3878. Node: Old175711
  3879. Node: Configurations178861
  3880. Node: GNU Free Documentation License182416
  3881. Node: Concept Index207561
  3882. 
  3883. End Tag Table
  3884. 
  3885. Local Variables:
  3886. coding: utf-8
  3887. End: