Skip to content

Commit 08d8891

Browse files
author
Sabbir Ahmed
authored
Merge pull request #973 from fahimahammed/fahim/gcc
Added GCC Command Cheat Sheet
2 parents fee3b82 + d29fa6b commit 08d8891

1 file changed

Lines changed: 51 additions & 0 deletions

File tree

data/gcc-compiler.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"id": "gcc_commands",
3+
"title": "GCC (MinGW/Cygwin/UNIX) কমান্ডের চিটশিট",
4+
"slug": "gcc_commands",
5+
"description": "GCC হল একটি ফ্রি এবং ওপেন সোর্স কম্পাইলার যা C, C++, Objective-C, Fortran, Go, Rust, D, Pascal, RISC-V ইত্যাদি Laguage গুলিকে Compile করে।",
6+
"colorPref": "#FFC0CB",
7+
"contents": [
8+
{
9+
"title": "Common Commands",
10+
"items": [
11+
{
12+
"definition": "-o: আউটপুট ফাইলের নাম নির্ধারণ করে।",
13+
"code": "gcc -o output_file source_file.c"
14+
},
15+
{
16+
"definition": "-c: শুধুমাত্র Source কোডকে অবজেক্ট কোডে কম্পাইল করে।",
17+
"code": "gcc -c source_file.c"
18+
},
19+
{
20+
"definition": "-S: শুধুমাত্র Source কোডকে অ্যাসেম্বলি কোডে কম্পাইল করে।",
21+
"code": "gcc -S source_file.c"
22+
},
23+
{
24+
"definition": "-g: ডিবাগ তথ্য Include করে।",
25+
"code": "gcc -g source_file.c"
26+
},
27+
{
28+
"definition": "-Wall: Compiler warning গুলিকে Enable করে।",
29+
"code": "gcc -Wall source_file.c"
30+
}
31+
]
32+
},
33+
{
34+
"title": "Specific Commands",
35+
"items": [
36+
{
37+
"definition": "-ansi: ANSI C মান মেনে চলতে কম্পাইলারকে বাধ্য করে।",
38+
"code": "gcc -ansi source_file.c"
39+
},
40+
{
41+
"definition": "-pedantic: ANSI C মান মেনে চলতে কম্পাইলারকে Enforce করে।",
42+
"code": "gcc -pedantic source_file.c"
43+
},
44+
{
45+
"definition": "-Werror: Warning গুলিকে Error হিসাবে চিহ্নিত করে।",
46+
"code": "gcc -Werror source_file.c"
47+
}
48+
]
49+
}
50+
]
51+
}

0 commit comments

Comments
 (0)