[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
CLang or GCC?
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: 6
Thread images: 1
File: clangorgcc.png (31 KB, 262x133) Image search: [Google]
clangorgcc.png
31 KB, 262x133
I want to start using C and I am using the learn c the hard way series.

I have completed most of it but now I want to create a non-trivial program.

Should I use Clang or GCC?
>>
Experienced C programmer using gcc

Why should I switch?

btw OP it probably doesn't matter very much which you use, you can always switch later and both are probably fine compilers

if you write standards-compliant code, which you probably are, you won't have to change any code when changing compiler
>>
>>55038116
Great, now, what about testing? Do you have a list of C libraries that I could use?

I mean, I am using valgrind right now to sort of static check my stuff but I would like to have unit testing.

I am planning to do a little system monitor.
>>
>>55038141
I just use a bunch of asserts and then use ifdefs to enable/disable that code
>>
>>55038096
>I want to start using C
>Should I use Clang or GCC?
All the same in your usecase.
>>
>>55040690
This.
Thread replies: 6
Thread images: 1

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.