gccinstall.info 202 KB

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