Skip to content

A fast, lightweight C compiler for Windows with a VS Code–like editor, powered by GCC for simple and efficient C programming.

License

Notifications You must be signed in to change notification settings

HarishDevLab/Core-C-Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Core C Compiler – Lightweight GCC-Based C Compiler for Windows

Core C Compiler is a lightweight, installation-based C compiler environment designed for Windows.
It provides a modern code editing experience using the Monaco Editor (used in VS CODE) on the frontend and leverages GCC as the underlying compilation engine.

Overview

Core C Compiler bridges a modern editor interface with the proven reliability of GCC.
The source code written in the editor is passed directly to the GCC compiler, and the compiled output is displayed through either the system terminal or an integrated terminal, depending on the selected build.

This compiler is suitable for students, beginners, and developers who want a lightweight C compilation environment without full IDE overhead.

Key Features

  • Monaco Editor Integration
    Provides a modern, VS Code–like IDE code editing experience with syntax highlighting and smooth performance.

  • GCC-Based Compilation
    Uses GCC as the core compiler to ensure standard-compliant and efficient C program compilation.

  • Multiple Terminal Modes
    Choose how program output is displayed based on the build downloaded.

Available Versions

The project includes two variants, each serving a different usage preference:

  1. Core C Compiler (Windows Terminal Output)

    • Program output is redirected to the native Windows Terminal.
  2. Core C Compiler (Integrated Terminal)

    • Includes a dedicated terminal embedded directly within the application.

Installation & Setup

Step 1: Download the Compiler

  • Navigate to the Releases section of this repository
  • Download the desired Core C Compiler build
  • After downloading the desired build, extract the .rar file.
  • Inside, locate Core C Setup 2.0.0.exe and run it to begin installation.

Step 2: Configure GCC

  • Either run the GCC Downloader from the Releases section
    or
  • Manually download and configure GCC by adding it to the system PATH

Step 3: Launch the Compiler

  • Start the compiler application
  • Write C code in the Editor
  • Compile and execute directly from the interface

GCC Requirement

Core C Compiler uses GCC as its core compilation engine but does not bundle GCC by default.

To accommodate different user preferences and system setups, two methods are supported:

Option 1: GCC Downloader (Recommended)

A custom GCC Downloader is provided in the Releases section for users who prefer an automated setup.

What the GCC Downloader Does:

  • Downloads the official GCC.zip
  • Extracts GCC to a user-selected directory
  • Automatically adds the bin directory to the system PATH
  • Ensures GCC is immediately usable by the compiler

This option is ideal for users who are unfamiliar with manual environment configuration.

Option 2: Manual GCC Setup

Advanced users may choose to:

  • Download GCC.zip manually from the releases section or official source
  • Extract it to a preferred location
  • Manually add the bin directory to the system PATH

Core C Compiler will work seamlessly as long as GCC is correctly configured and accessible from the command line.


Support & Community

Buy Me a Coffee LinkedIn YouTube Instagram

"UPI"

License

This project is open-source.

Licenses for GCC and Monaco Editor are included in the LICENSES.

This project is actively maintained and open to enhancements.

Collaboration

EMAIL
https://github.com/HarishDevLab

Contributions, suggestions, and feedback are welcome.