[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
How the fuck do I compile C on Windows
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 28
Thread images: 7
File: d105.png (11 KB, 300x300) Image search: [Google]
d105.png
11 KB, 300x300
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 (29 KB, 285x357) Image search: [Google]
d2628.jpg
29 KB, 285x357
>>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 (26 KB, 680x329) Image search: [Google]
d1106.jpg
26 KB, 680x329
>>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 (26 KB, 479x294) Image search: [Google]
Capture.png
26 KB, 479x294
>>55381064
No idea where the updated name is at.
>>
>his OS doesn't include a compiler
>>
File: d1881.jpg (12 KB, 200x200) Image search: [Google]
d1881.jpg
12 KB, 200x200
>>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 (33 KB, 720x706) Image search: [Google]
d1295.jpg
33 KB, 720x706
>>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 replies: 28
Thread images: 7

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

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.