🔧 AI Nachrichten Major AI platforms go down in unprecedented simultaneous outage(03.09.2026 um 17:34 Uhr)
🔧 AI Nachrichten ChatGPT, Claude, and Grok Down? Users Report Widespread Outages(03.09.2026 um 19:14 Uhr)
🔧 AI Nachrichten OpenAI Launches GPT-6 Astra, Says We May Have Entered the AGI Era(03.09.2026 um 22:08 Uhr)
🔧 AI Nachrichten Claude Comes to CarPlay as Fifth Major AI Chatbot App(05.09.2026 um 05:31 Uhr)
🔧 AI Nachrichten OpenAI’s GPT-6 Astra Is AGI, Says NVIDIA CEO Jensen Huang(07.09.2026 um 06:31 Uhr)
🔧 AI Nachrichten Blame AI companies for Mac mini and Mac Studio shortage(31.08.2026 um 10:32 Uhr)
🔧 AI Nachrichten Major AI platforms go down in unprecedented simultaneous outage(03.09.2026 um 17:34 Uhr)
🔧 AI Nachrichten ChatGPT, Claude, and Grok Down? Users Report Widespread Outages(03.09.2026 um 19:14 Uhr)
🔧 AI Nachrichten OpenAI Launches GPT-6 Astra, Says We May Have Entered the AGI Era(03.09.2026 um 22:08 Uhr)
🔧 AI Nachrichten Claude Comes to CarPlay as Fifth Major AI Chatbot App(05.09.2026 um 05:31 Uhr)
🔧 AI Nachrichten OpenAI’s GPT-6 Astra Is AGI, Says NVIDIA CEO Jensen Huang(07.09.2026 um 06:31 Uhr)
🔧 AI Nachrichten Blame AI companies for Mac mini and Mac Studio shortage(31.08.2026 um 10:32 Uhr)

🔧 Programmierung 🕛 kürzlich 5 Min Lesezeit
0

Building GCC from Source on AArch64

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht




Before we start...




If you have just stumbled upon my SPO600 series of blog posts, it has been created to document and share my learnings as I progress through my Software Portability and Optimization college course.




In this post, I’ll share my experience of building the GCC compiler from source on my college's AArch64 server. This setup is an important first step of our class project: adding a new experimental feature to he GNU Compiler Collection (GCC).



A little bit about the project



One of the cool things about Seneca’s Software Portability and Optimization course is that each semester, students get a chance to gain hands-on experience by working with real-world projects.



Our Fall 2024 batch will attempt to create a working prototype for function pruning (which is a component of the yet-to-be-implemented AFMV (automatic : helpful info for GCC newbies).


  • : official installation docs:


  • while also referring to the guides linked above for extra details.



    1. Obtaining the Source Code



    I cloned the source code from the official git repo into an empty gcc/ directory (created specifically for storing the source code).




    CODE
    git clone git://gcc.gnu.org/git/gcc.git gcc






    Notably, cloning took longer the usual due to the size of the repo.



    2. Configuring the build



    I created the gcc-build-001/ build directory (to separate source files and build files), cd'd into it and ran the configure script (located in the source directory), specifying the installation directory with the --prefix flag.



    Running the configure script checks the system requirements

    and creates a Makefile with build instructions for GCC in the current directory. (In my case, the college server already had all the necessary dependencies installed. You can find the info about the prerequisites in the recommends setting this value between (number of cores + 1) and (number of cores * 2 + 1), using the higher end for systems with hyper-threading or slower disks and the lower end for those without. Since our college server has 4 cores and does not support hyper-threading, I decided to stick to the lower end of the recommended range by running up to 5 jobs.


  • time is used to measure how long the make process takes to complete. The tee command captures the output of make and writes it to the file build.log while also displaying it in the terminal.




  • In total, the build process took: 124 minutes and 3.647 seconds




    By default, the compiler is built in three stages, following a bootstrapped build process to ensure reliability and consistency in the build. If you are performing a 3-stage bootstrapped build, you can quickly check the current build stage by looking at the stage_current file.



    Then, I ran this command to apply the changes:




    CODE
    source ~/.bashrc






    After that, I was finally able to use my local copy of GCC 😃 🎉



    result






    Afterthoughts



    This experience helped me get familiar with the build process: I learned about various configuration options, the three stages of the bootstrapped build, and got a peek at the codebase. Going through the related documentation also gave me a better understanding of the contribution process.



    While this has been a solid start, I still have a lot of work ahead. To start contributing, I'll need to get comfortable with navigating the codebase and adapting to GCC’s coding style, so there’s a lot more documentation reading and code experimenting to come!

    Vollständiger Original-Bericht
    Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
    ↗ Original-Artikel auf dev.to lesen
    Wie bewertest du diesen Beitrag?
    1 Klick Feedback
    Teilen mit Netzwerk & Team:

    Community-Analysen & Experten-Meinungen 0

    Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
    Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
    Community Pulse: Relevanz-Einschätzung
    1 Klick Experten-Votum
    🔴 Akute Relevanz 0%
    🟡 In Evaluierung 0%
    🟢 Keine Auswirkung 0%
    Spannende Innovation 0%
    Verwandte Story-Cluster & Quellen (Vektor-KI)
    Port 8095 Engine
    3 Quellen
    GPT-6 Astra Release Today? OpenAI’s Next Major AI Model Is Almost Here
    1 Quelle
    Apple accuses OpenAI of destroying evidence as trade-secrets fight intensifies
    1 Quelle
    Major AI platforms go down in unprecedented simultaneous outage
    Ähnliche Beiträge
    🔍 Verwandte News

    Auch interessante Nachrichten Building GCC from Source on AArch64

    Thematisch verwandte Begriffe: Building, from, Source, AArch64 · 6 Treffer

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...