[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

How the fuck do I compile C on Windows

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 28
Thread images: 7

File: d105.png (11KB, 300x300px) Image search: [Google]
d105.png
11KB, 300x300px
I need a "for dummies"-tier guide since all the ones I found in Google say shit I don't even know. Fucking useless sticky as usual.
>>
>>55380596
download gcc you retard

easiest way would be mingw
>>
>>55380609
Thanks pham.
>>
>>55380596
Visual Studio.
>>
>>55380711
>downloading 10+ Gb for a C compiler
Come on Rajesh
>>
>>55380596
Download VirutalBow. Install a Linux VM. Now that's easy
>>
>>55380711

Only compiles C89 properly. Don't use. The only C compiler one should use on Windows is MinGW-w64.
>>
>>55380609
>>55380596
Use msys2 and clang instead.
>>
>>55380819
gtfo clang shill
>>
>>55380795
Go away tripfag. Nobody likes your special snowflake trip.
>>
>>55380859
gtfo gnu/shill
>>
>>55380859
clang is wholly superior. gcc defaults to super old standards and has all of these arcane flags for error checking/warnings and even shit like -Wall doesn't cover ALL warnings. What a joke.
>>
code::blocks comes with gcc
>>
File: d2628.jpg (29KB, 285x357px) Image search: [Google]
d2628.jpg
29KB, 285x357px
>>55380819
Okay I installed MSYS2. What do I do now? I just want to compile Poschengband
>>
>>55380950
pacman -S mingw-w64-clang
>>
File: d1106.jpg (26KB, 680x329px) Image search: [Google]
d1106.jpg
26KB, 680x329px
>>55380997
>error: target not found: mingw-w64-clang
help
>>
>>55381032
uhhh do pacman -Ss clang and look for whatever the updated name is
>>
File: Capture.png (26KB, 479x294px) Image search: [Google]
Capture.png
26KB, 479x294px
>>55381064
No idea where the updated name is at.
>>
>his OS doesn't include a compiler
>>
File: d1881.jpg (12KB, 200x200px) Image search: [Google]
d1881.jpg
12KB, 200x200px
>>55381154
>>
>>55381105
mingw-w64-x86_64-clang
also, god damn nigga could you post that picture any smaller
>>
>>55381189
>bash: mingw-w64-x86_64-clang: command not found
Using 32 here if that makes any difference. Had to ctrl+mousewheel so I could zoom about a bit for you to get the entire thing.
>>
>>55380596

While you're at getting GCC, download Dev-C++ and it works for everything.
>>
>>55380795
>C89
Evidently, you retarded ass have never compiled any C program with MSVC, because if your retarded trip faggot ass actually did that, it'd know that MSVC doesn't adhere to any specific C standard and fully supports C90 and a handful of C99 features.

So go kill yourself you dumb fucking trip faggot shit stain cocksucker.
>>
>>55381213
It probably does make a difference. I think you need to join us in the modern 64-bit world, friend.
>>
File: d1295.jpg (33KB, 720x706px) Image search: [Google]
d1295.jpg
33KB, 720x706px
>>55381442
SO I CAN'T FUCKING COMPILE?
>>
>>55381486
Nah, you should be able to do so, but if msys2 only offers 64-bit packages then you'll have to look elsewhere. And, elsewhere is where I cannot help you
>>
>>55380795
>writing anything but ANSI C89
pajeet detected !!!
Thread posts: 28
Thread images: 7


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.