-
Notifications
You must be signed in to change notification settings - Fork 10
Add GCC installation steps to README #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -46,6 +46,30 @@ This repository contains organized learning materials covering all fundamental C | |||||||||||||||||||
|
|
||||||||||||||||||||
| ### Prerequisites | ||||||||||||||||||||
| - GCC compiler (GNU Compiler Collection) | ||||||||||||||||||||
|
|
||||||||||||||||||||
| ## Installing GCC (GNU Compiler Collection) | ||||||||||||||||||||
|
|
||||||||||||||||||||
| GCC is required to compile and run C programs. Follow the steps below | ||||||||||||||||||||
| based on your operating system. | ||||||||||||||||||||
|
|
||||||||||||||||||||
| ### Windows | ||||||||||||||||||||
| 1. Download and install **MinGW-w64** or **TDM-GCC**. | ||||||||||||||||||||
| 2. During installation, make sure to select the option to add GCC to the system PATH. | ||||||||||||||||||||
| 3. After installation, open Command Prompt and verify: | ||||||||||||||||||||
| gcc --version | ||||||||||||||||||||
|
Comment on lines
+55
to
+60
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix inconsistent code block formatting. The verification command 🔧 Proposed fix ### Windows
1. Download and install **MinGW-w64** or **TDM-GCC**.
2. During installation, make sure to select the option to add GCC to the system PATH.
3. After installation, open Command Prompt and verify:
-gcc --version
+ ```bash
+ gcc --version
+ ```📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||
|
|
||||||||||||||||||||
| ### Linux (Ubuntu / Debian) | ||||||||||||||||||||
| Open a terminal and run: | ||||||||||||||||||||
| ```bash | ||||||||||||||||||||
| sudo apt update | ||||||||||||||||||||
| sudo apt install build-essential | ||||||||||||||||||||
| gcc --version | ||||||||||||||||||||
| ``` | ||||||||||||||||||||
| ### macOS | ||||||||||||||||||||
| ```bash | ||||||||||||||||||||
| xcode-select --install | ||||||||||||||||||||
| gcc --version | ||||||||||||||||||||
| ``` | ||||||||||||||||||||
|
Tushar15769 marked this conversation as resolved.
Outdated
|
||||||||||||||||||||
| - Basic understanding of programming concepts (helpful but not required) | ||||||||||||||||||||
|
|
||||||||||||||||||||
| ### Running Your First Program | ||||||||||||||||||||
|
|
||||||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.